aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opencv
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-01-02 19:04:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-01-02 19:04:02 +0000
commite0d1db84c534ba45f381662e492b9bd388c03b9d (patch)
tree199f9e8fc39f30c90d98eb3392d81e188f6d22e4 /testing/opencv
parentedd9edabd57636be9f31d756415b7774a8855217 (diff)
downloadaports-e0d1db84c534ba45f381662e492b9bd388c03b9d.tar.bz2
aports-e0d1db84c534ba45f381662e492b9bd388c03b9d.tar.xz
testing/opencv: fix build on arm
on arm we need the 3rdparty library carotene
Diffstat (limited to 'testing/opencv')
-rw-r--r--testing/opencv/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/opencv/APKBUILD b/testing/opencv/APKBUILD
index 9d741f6cfd..5dadd6481a 100644
--- a/testing/opencv/APKBUILD
+++ b/testing/opencv/APKBUILD
@@ -19,7 +19,13 @@ builddir="$srcdir/opencv-$pkgver"
prepare() {
default_prepare || return 1
- rm -rf "$builddir"/3rdparty
+ # purge 3rd party except carotene
+ for i in "$builddir"/3rdparty/*; do
+ case $i in
+ */carotene*) continue;;
+ esac
+ rm -rf "$i"
+ done
}
build() {