mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/opencv to 4.1.2-2
This commit is contained in:
parent
adcb16a150
commit
8f01f90e59
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue