From ca01cdf4369498e7c4718abc70245353319386f2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 20 Dec 2019 13:18:18 +0100 Subject: extra/libsoupt: patch out vala and gobject-introspection on i486 --- extra/libsoup/PKGBUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 extra/libsoup/PKGBUILD (limited to 'extra/libsoup') 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;/ + } + ' +)" -- cgit v1.2.3-70-g09d2