summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-02 13:30:16 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-02 13:30:16 +0200
commit6e63b0e2e6e47eda304c895fd4a4ffb8bc47b700 (patch)
tree9293a7bf5ab631a0fa4a070a38487a8d02b69fa6
parent683f57984bb8366ebab7fd46d3c59a5909144518 (diff)
downloadpackages-6e63b0e2e6e47eda304c895fd4a4ffb8bc47b700.tar.xz
extra/libgudev: disabled vala on i486
-rw-r--r--extra/libgudev/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/libgudev/PKGBUILD b/extra/libgudev/PKGBUILD
new file mode 100644
index 00000000..5a400291
--- /dev/null
+++ b/extra/libgudev/PKGBUILD
@@ -0,0 +1,10 @@
+# no polkit, no js78, no rust, no potatoes on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//vala/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/arch-meson/arch-meson -D vapi=disabled/
+ '
+ )"
+fi