summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-11-29 14:33:19 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-11-29 14:33:19 +0100
commit306db77dbbe88cb0f2783db4c9aa2b921339d688 (patch)
tree066186c5f25b12637b512ec90621a036f6382a69
parent5a44a9017d2df3ee21c64033ee8d4777193701a9 (diff)
downloadpackages-306db77dbbe88cb0f2783db4c9aa2b921339d688.tar.xz
extra/libsoup3: disabled vala and gtkdoc on i486 for now
-rw-r--r--extra/libsoup3/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/libsoup3/PKGBUILD b/extra/libsoup3/PKGBUILD
index 5d1f8d5d..2b2ec219 100644
--- a/extra/libsoup3/PKGBUILD
+++ b/extra/libsoup3/PKGBUILD
@@ -5,3 +5,15 @@ eval "$(
s/\(meson test.*\)/\1 || true/
'
)"
+
+# disable Vala for now on i486 (fails to build)
+# also disable documentation with too many dependencies
+if [ "${CARCH}" = "i486" ]; then
+ makedepends=(${makedepends[@]//vala/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-D gtk_doc=true/-D gtk_doc=false -Dvapi=disabled/
+ '
+ )"
+fi