index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-10 19:37:11 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-10 19:37:11 +0200 |
commit | f248b9a7b07e1fea2dbb2bba3d9dbd382c303aa7 (patch) | |
tree | c8ce48a61679b8efa2885f83e32900b5baf08fd9 /extra/colord | |
parent | c35cc08232302cb593b4efac0f6acc0820cf0b12 (diff) |
-rw-r--r-- | extra/colord/PKGBUILD | 27 |
diff --git a/extra/colord/PKGBUILD b/extra/colord/PKGBUILD index 8d89a978..35e2cce2 100644 --- a/extra/colord/PKGBUILD +++ b/extra/colord/PKGBUILD @@ -2,6 +2,14 @@ makedepends=(${makedepends[@]//vala/}) makedepends_i686+=(vala) makedepends_pentium4=("${makedepends_i686[@]}") +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s@ -D vapi=true@ -D vapi=false@ + ' + )" +fi # This is a dirty hack to prevent differing float precisions. # See https://bugs.freedesktop.org/show_bug.cgi?id=102676 @@ -14,3 +22,22 @@ eval "$( '\'' lib/colord/cd-test-private.c \ ' )" + +# no polkit, no js78, no rust, no potatoes on i486 +if [ "$CARCH" = 'i486' ]; then + depends=(${depends[@]//polkit/}) + eval "$( + declare -f build | \ + sed ' + s/arch-meson/arch-meson -D daemon=false/ + ' + )" + eval "$( + declare -f package_colord | \ + sed ' + /libcolord_sensor_sane.so/d + ' + )" + # tests don't work on i486 (most likely because we disabled the daemon) + unset check +fi |