extra/opencv to 4.1.2-2

This commit is contained in:
Kevin Mihelich 2019-10-21 18:04:44 +00:00
parent adcb16a150
commit 8f01f90e59

View file

@ -8,7 +8,7 @@
pkgbase=opencv
pkgname=(opencv opencv-samples)
pkgver=4.1.2
pkgrel=1
pkgrel=2
pkgdesc="Open Source Computer Vision Library"
arch=(x86_64)
license=(BSD)
@ -37,6 +37,8 @@ prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../opencv-includedir.patch # Fix wrong include patch in pkgconfig file
sed -e '/ocv_tbb_cmake_guess(HAVE_TBB)/d' -i cmake/OpenCVDetectTBB.cmake # Don't use TBB's cmake config, it breaks build
if [[ $CARCH == "arm" || $CARCH == "armv6h" ]]; then
patch -p1 -i ../0001-link-with-libatomic.patch
fi