diff options
author | Erich Eckner <git@eckner.net> | 2019-01-21 09:49:32 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-21 09:49:32 +0100 |
commit | 190caffff9a5355a9a31872b800d75bab0fa31ea (patch) | |
tree | fa8b0d2d75d7a0bd4e75edac2c5fb2675811364e /extra/libjpeg-turbo/PKGBUILD | |
parent | d96f0a09ff22495dba2f19cb05d463d4671fd64d (diff) | |
parent | 0653374c47a5c1679d86cfbe251d258151fa018f (diff) | |
download | packages-190caffff9a5355a9a31872b800d75bab0fa31ea.tar.xz |
Merge branch 'master' into i486
Diffstat (limited to 'extra/libjpeg-turbo/PKGBUILD')
-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 |