Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/opencv/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD
index 499054e4..d4f6ccb5 100644
--- a/extra/opencv/PKGBUILD
+++ b/extra/opencv/PKGBUILD
@@ -22,3 +22,13 @@ fi
# Qt6 (lrelease) is linked against icu68, icu 69 is current version
makedepends+=(icu68)
+
+# no java/no ant on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//ant/})
+fi
+
+# no vtk yet on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//vtk/})
+fi