index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/libjpeg-turbo/PKGBUILD | 18 |
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 |