From d7e351c16f7788e9da39206cdd69210fab0dea25 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 13 May 2021 12:11:32 +0200 Subject: extra/libpeas: no vala and glade on i486 --- extra/libpeas/PKGBUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 extra/libpeas/PKGBUILD diff --git a/extra/libpeas/PKGBUILD b/extra/libpeas/PKGBUILD new file mode 100644 index 00000000..9ae348a6 --- /dev/null +++ b/extra/libpeas/PKGBUILD @@ -0,0 +1,16 @@ +# no Vala on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//vala/}) + eval "$( + declare -f build | \ + sed ' + s/-D vapi=true/-D vapi=false/ + ' + )" +fi + +# glade needs gjs which needs js78 which builds only with rust (on i486) +# no Vala on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//glade/}) +fi -- cgit v1.2.3-70-g09d2