Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/gtk3
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-12-04 08:37:49 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-12-04 08:37:49 +0100
commit07a2fdec5a8b97ac2ae9e675c61f675c61ba9372 (patch)
tree73fcccc17ed0a5da978a86b7379696e11be3f0c9 /extra/gtk3
parentb6bdaaa5665b99de2dedb5cb7d489aa428376acd (diff)
extra/gtk3: no tracker3 support on 486
Diffstat (limited to 'extra/gtk3')
-rw-r--r--extra/gtk3/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/gtk3/PKGBUILD b/extra/gtk3/PKGBUILD
index 1623a33f..850c7be6 100644
--- a/extra/gtk3/PKGBUILD
+++ b/extra/gtk3/PKGBUILD
@@ -2,3 +2,17 @@
if [ "$CARCH" = 'i486' ]; then
makedepends+=(libglvnd)
fi
+
+# no tracker3 on i486, doesn't build at the moment due to Vala introspection,
+# documentation tool issues, etc.
+depends=(${depends[@]//tracker3/})
+depends_i686+=(tracker3)
+depends_pentium4=("${depends_i686[@]}")
+if [ "${CARCH}" = "i486" ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-D tracker3=true/-D tracker3=false/
+ '
+ )"
+fi