Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libsoup
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-20 13:18:18 +0100
committerErich Eckner <git@eckner.net>2019-12-20 13:18:18 +0100
commitca01cdf4369498e7c4718abc70245353319386f2 (patch)
treef27789af3fb48fe0f0be4948ed23bf4e92df53f8 /extra/libsoup
parentf4c0bde13f2cfbff93fd10a1381d03a5c1ba94f3 (diff)
extra/libsoupt: patch out vala and gobject-introspection on i486
Diffstat (limited to 'extra/libsoup')
-rw-r--r--extra/libsoup/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/libsoup/PKGBUILD b/extra/libsoup/PKGBUILD
new file mode 100644
index 00000000..cb55527c
--- /dev/null
+++ b/extra/libsoup/PKGBUILD
@@ -0,0 +1,19 @@
+makedepends=(
+ $(
+ printf '%s\n' "${makedepends[@]}" \
+ | grep -vxF gobject-introspection \
+ | grep -vxF vala
+ )
+)
+eval "$(
+ declare -f build \
+ | sed '
+ /arch-meson/ {
+ h
+ s/^/[ "${CARCH}" = i486 ] || /
+ p
+ g
+ s/^.*;$/[ "${CARCH}" != i486 ] || \0 -D vapi=disabled -D introspection=disabled;/
+ }
+ '
+)"