Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-07 16:38:16 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-07 16:38:16 +0200
commitc26a63ee7897346859de829df70a800a7f40dbbf (patch)
tree7128f6ba857a93157548dee9526a415f56d1a4d6 /extra
parent76b0bfc01332c86f2dfd5c1166d223ed1d4ce364 (diff)
extra/opencv: no java, vtk on i486 (but java seems required)
Diffstat (limited to 'extra')
-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