diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-09-26 19:57:08 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-09-26 19:57:08 +0200 |
commit | 84b3a5afa9ef5b1b544c4d6818044190902c5de8 (patch) | |
tree | 96def4dfe7eebf2e1d7b473dda2628bab46a9377 /extra | |
parent | 936ea7238aa2601a0466560d39930ca5a8a5657c (diff) | |
download | packages-84b3a5afa9ef5b1b544c4d6818044190902c5de8.tar.xz |
extra/libjpeg-turbo: i486 no SIMD and no java
Diffstat (limited to 'extra')
-rw-r--r-- | extra/libjpeg-turbo/PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
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 |