From 07a2fdec5a8b97ac2ae9e675c61f675c61ba9372 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 4 Dec 2021 08:37:49 +0100 Subject: extra/gtk3: no tracker3 support on 486 --- extra/gtk3/PKGBUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.2.3-70-g09d2