From ebd95316aab54b5a0f29fabac93720ef54c0c6ff Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 20 Dec 2019 13:53:40 +0100 Subject: extra/libsoup: dependencies should be only dropped on i486 --- extra/libsoup/PKGBUILD | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'extra/libsoup/PKGBUILD') diff --git a/extra/libsoup/PKGBUILD b/extra/libsoup/PKGBUILD index cb55527c..56292d13 100644 --- a/extra/libsoup/PKGBUILD +++ b/extra/libsoup/PKGBUILD @@ -1,10 +1,19 @@ -makedepends=( - $( - printf '%s\n' "${makedepends[@]}" \ - | grep -vxF gobject-introspection \ - | grep -vxF vala - ) -) +for _drop_dep in gobject-introspection vala; do + if makedepends_i686+=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -xF ${_drop_dep} + ) + ); then + makedepends_pentium4=("${makedepends_i686[@]}") + makedepends=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -vxF ${_drop_dep} + ) + ) + fi +done eval "$( declare -f build \ | sed ' -- cgit v1.2.3-70-g09d2