Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-13 12:11:32 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-13 12:11:32 +0200
commitd7e351c16f7788e9da39206cdd69210fab0dea25 (patch)
treeeb099d19520965270a9dce5a6d57b61a00fbee25
parenta0c43cd9e64c929dd78ef65352693e3e404a8e77 (diff)
extra/libpeas: no vala and glade on i486
-rw-r--r--extra/libpeas/PKGBUILD16
1 files changed, 16 insertions, 0 deletions
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