From 84b3a5afa9ef5b1b544c4d6818044190902c5de8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 26 Sep 2018 19:57:08 +0200 Subject: extra/libjpeg-turbo: i486 no SIMD and no java --- extra/libjpeg-turbo/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extra/libjpeg-turbo/PKGBUILD (limited to 'extra/libjpeg-turbo') diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD new file mode 100644 index 00000000..e33bc686 --- /dev/null +++ b/extra/libjpeg-turbo/PKGBUILD @@ -0,0 +1,18 @@ +if [ "${CARCH}" = "i486" ]; then + # no Java + makedepends=(${makedepends[@]//jdk8-openjdk/}) + eval "$( + declare -f build | \ + sed ' + s/-DWITH_JAVA=1/-DWITH_JAVA=0/ + ' + )" + + # no SIMD optimizations + eval "$( + declare -f build | \ + sed ' + s/cmake/cmake -DWITH_SIMD=0/ + ' + )" +fi -- cgit v1.2.3-70-g09d2