mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/opencv to 3.1.0-6
This commit is contained in:
parent
53959117be
commit
f6832ee89a
1 changed files with 6 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
pkgbase=opencv
|
||||
pkgname=('opencv' 'opencv-samples')
|
||||
pkgver=3.1.0
|
||||
pkgrel=3
|
||||
pkgrel=6
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
|
@ -20,14 +20,15 @@ depends_aarch64=('intel-tbb')
|
|||
makedepends=('cmake' 'python-numpy' 'python2-numpy' 'mesa' 'eigen')
|
||||
optdepends=('opencv-samples'
|
||||
'eigen'
|
||||
'libcl: For coding with OpenCL'
|
||||
'opencl-icd-loader: For coding with OpenCL'
|
||||
'python-numpy: Python 3 interface'
|
||||
'python2-numpy: Python 2 interface')
|
||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/Itseez/opencv/archive/$pkgver.zip"
|
||||
"opencv_contrib-$pkgver.tar.gz::https://github.com/Itseez/opencv_contrib/archive/$pkgver.tar.gz"
|
||||
'5852.patch')
|
||||
opencv-gcc6.patch::"https://github.com/mshabunin/opencv/commit/a0fdc91a.patch" '5852.patch')
|
||||
md5sums=('6082ee2124d4066581a7386972bfd52a'
|
||||
'a822839ad3ab79ff837c16785ea9dd10'
|
||||
'4dacea7866d28014939a652f268cc7c1'
|
||||
'5bd9cd736b171c15cedee3a32a0c47ff')
|
||||
|
||||
_cmakeopts=('-D WITH_OPENCL=ON'
|
||||
|
@ -57,6 +58,8 @@ _cmakeopts=('-D WITH_OPENCL=ON'
|
|||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
patch -p1 -i "$srcdir/5852.patch"
|
||||
# Fix build with GCC 6
|
||||
patch -p1 -i "$srcdir"/opencv-gcc6.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue