From 0372e781508bbf5bfc0e502a100a5b59f7121878 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 16 Jun 2019 07:52:42 +0200 Subject: extra/libproxy: skip webkit3 on i486 --- extra/libproxy/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 extra/libproxy/PKGBUILD (limited to 'extra/libproxy') diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD new file mode 100644 index 00000000..53b87429 --- /dev/null +++ b/extra/libproxy/PKGBUILD @@ -0,0 +1,24 @@ +# skip webkit2gtk on i486 - we don't have that there +makedepends=(${makedepends[@]/webkit2gtk/}) +_oifs="${IFS}" +IFS=$(printf '\n') +optdepends=(${optdepends[@]/webkit2gtk:*/}) +IFS="${_oifs}" + +makedepends_i686=(webkit2gtk) +makedepends_pentium4=(webkit2gtk) +optdepends_i686=('webkit2gtk: PAC proxy support (Webkit2gtk engine)') +optdepends_pentium4=('webkit2gtk: PAC proxy support (Webkit2gtk engine)') + +if [ "${CARCH}" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + /cmake / s,\( -DWITH_WEBKIT3=\)ON,\1OFF, + ' + declare -f package | \ + sed ' + /zenmap/d + ' + )" +fi -- cgit v1.2.3-70-g09d2