Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libpeas
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libpeas')
-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