summaryrefslogtreecommitdiff
path: root/extra/gtk4/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk4/PKGBUILD')
-rw-r--r--extra/gtk4/PKGBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/extra/gtk4/PKGBUILD b/extra/gtk4/PKGBUILD
index 9173941a..a93cbef4 100644
--- a/extra/gtk4/PKGBUILD
+++ b/extra/gtk4/PKGBUILD
@@ -9,7 +9,8 @@ eval "$(
declare -f package_gtk4 | \
sed '
/gtk4-update-icon-cache.1/d
- \@/usr/share/doc@ d
+ /usr\/share\/man\/man1/d
+ \@usr/share/doc@ d
'
declare -f package_gtk-update-icon-cache | \
sed '
@@ -22,10 +23,20 @@ eval "$(
)"
# Vala is not bootstrapped on i486
-# (this affect libcloudproviders, tracker3)
+# (thus no tracker3)
# gst-plugins-bad-libs have too many dependencies not available yet on i486
+# gstreamer not built on i486 for now (circular dependency?)
+# adwaita-icon-theme is in a cycle with gtk-update-icon-cache (which we
+# build here in gtk4)
if [ "$CARCH" = 'i486' ]; then
depends=(${depends[@]//tracker3/})
- depends=(${depends[@]//libcloudproviders/})
depends=(${depends[@]//gst-plugins-bad-libs/})
+ depends=(${depends[@]//adwaita-icon-theme/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-D tracker=enabled/-D tracker=disabled/
+ s/arch-meson/arch-meson -D media-gstreamer=disabled/
+ '
+ )"
fi