Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/opencv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opencv/PKGBUILD')
-rw-r--r--extra/opencv/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD
index 016cb273..499054e4 100644
--- a/extra/opencv/PKGBUILD
+++ b/extra/opencv/PKGBUILD
@@ -1,2 +1,24 @@
# temporary workaround for FS#70653
sha256sums[0]='ae258ed50aa039279c3d36afdea5c6ecf762515836b27871a8957c610d0424f8'
+
+# no Java yet on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//java-environment/})
+ eval "$(
+ declare -f build | \
+ sed '
+ /JAVA_HOME/d
+ '
+ )
+ "
+ eval "$(
+ declare -f package_opencv | \
+ sed '
+ /ln.*java/d
+ '
+ )
+ "
+fi
+
+# Qt6 (lrelease) is linked against icu68, icu 69 is current version
+makedepends+=(icu68)