From 9265965a3e0ee86770decf50a9078e3c63d55ba6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 5 Feb 2021 07:38:05 +0100 Subject: extra/libproxy: fixed building and i486 patching (FS32#140) --- extra/libproxy/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'extra/libproxy') diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD index 53b87429..959b8906 100644 --- a/extra/libproxy/PKGBUILD +++ b/extra/libproxy/PKGBUILD @@ -7,10 +7,19 @@ IFS="${_oifs}" makedepends_i686=(webkit2gtk) makedepends_pentium4=(webkit2gtk) +makedepends_x86_64=(webkit2gtk) optdepends_i686=('webkit2gtk: PAC proxy support (Webkit2gtk engine)') optdepends_pentium4=('webkit2gtk: PAC proxy support (Webkit2gtk engine)') +optdepends_x86_64=('webkit2gtk: PAC proxy support (Webkit2gtk engine)') if [ "${CARCH}" = 'i486' ]; then + pkgname=( + $( + printf '%s\n' "${pkgname[@]}" | \ + grep -v '^libproxy-webkit' + ) + ) + unset package_libproxy-webkit eval "$( declare -f build | \ sed ' @@ -20,5 +29,9 @@ if [ "${CARCH}" = 'i486' ]; then sed ' /zenmap/d ' + declare -f package_libproxy | \ + sed ' + /_pick.*webkit.*/d + ' )" fi -- cgit v1.2.3-70-g09d2