Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-02-25 08:37:10 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2023-02-25 08:37:10 +0100
commit9cd7d915dcc1bf48c41dc668f4b5469567d403f7 (patch)
treed66250d28922725ec575ae27c63b94d0f379c4ce /extra/libjpeg-turbo
parenta0b2b8a0ad4c074b212c1908fa7bc478a3d2580f (diff)
extra/libjpeg-turbo: disabled java bindings on i486 for now
Diffstat (limited to 'extra/libjpeg-turbo')
-rw-r--r--extra/libjpeg-turbo/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD
index 717e9506..ad9cdef4 100644
--- a/extra/libjpeg-turbo/PKGBUILD
+++ b/extra/libjpeg-turbo/PKGBUILD
@@ -7,4 +7,14 @@ if [ "${CARCH}" = "i486" ]; then
cmake_options+=(-DWITH_SIMD=0)
'
)"
+
+ # Java broken on i486 temporarily
+ makedepends=(${makedepends[@]//java-environment>11/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /local cmake_options/ a \
+ cmake_options+=(-DWITH_JAVA=0)
+ '
+ )"
fi