From c26a63ee7897346859de829df70a800a7f40dbbf Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 7 May 2021 16:38:16 +0200 Subject: extra/opencv: no java, vtk on i486 (but java seems required) --- extra/opencv/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3-70-g09d2