diff options
author | Erich Eckner <git@eckner.net> | 2019-06-16 07:52:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-16 07:52:42 +0200 |
commit | 0372e781508bbf5bfc0e502a100a5b59f7121878 (patch) | |
tree | 67c67968fdfdc24a4e4adc7c6e650a8f1af40a45 /extra/libproxy/PKGBUILD | |
parent | 7e0677481fe8ff2127aaef62fc3f3a07f3fa6db0 (diff) | |
download | packages-0372e781508bbf5bfc0e502a100a5b59f7121878.tar.xz |
extra/libproxy: skip webkit3 on i486
Diffstat (limited to 'extra/libproxy/PKGBUILD')
-rw-r--r-- | extra/libproxy/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
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 |