extra/opencv to 3.4.0-2

This commit is contained in:
Kevin Mihelich 2017-12-26 14:06:32 +00:00
parent 9f7a63aaf4
commit 974f6901d9

View file

@ -8,13 +8,13 @@
pkgbase=opencv
pkgname=('opencv' 'opencv-samples')
pkgver=3.3.1
pkgrel=3
pkgver=3.4.0
pkgrel=2
pkgdesc="Open Source Computer Vision Library"
arch=('x86_64')
license=('BSD')
url="http://opencv.org/"
depends=('openexr' 'xine-lib' 'libdc1394' 'gtkglext' 'protobuf' 'cblas' 'lapack')
depends=('openexr' 'xine-lib' 'libdc1394' 'gtkglext' 'protobuf' 'cblas' 'lapack' 'libgphoto2')
depends_armv7h=('intel-tbb')
depends_aarch64=('intel-tbb')
makedepends=('cmake' 'python-numpy' 'python2-numpy' 'mesa' 'eigen' 'hdf5' 'lapacke')
@ -25,8 +25,8 @@ optdepends=('opencv-samples'
'python2-numpy: Python 2 interface')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/opencv/opencv/archive/$pkgver.zip"
"opencv_contrib-$pkgver.tar.gz::https://github.com/opencv/opencv_contrib/archive/$pkgver.tar.gz")
sha256sums=('e59412c7e0d398113b1e454d600fcdff54cd77100a84483ac0d82bbf52496932'
'6f3ce148dc6e147496f0dbec1c99e917e13bf138f5a8ccfc3765f5c2372bd331')
sha256sums=('ae8a9f468b7ee3822a62d20d356c69f2b32330a231e738ac2914f332766611b7'
'699ab3eee7922fbd3e8f98c68e6d16a1d453b20ef364e76172e56466dc9c16cd')
_cmakeopts=('-D WITH_OPENCL=ON'
'-D WITH_OPENGL=ON'
@ -41,6 +41,7 @@ _cmakeopts=('-D WITH_OPENCL=ON'
'-D INSTALL_PYTHON_EXAMPLES=ON'
'-D CMAKE_BUILD_TYPE=Release'
'-D CMAKE_INSTALL_PREFIX=/usr'
'-D CMAKE_INSTALL_LIBDIR=lib'
'-D CMAKE_SKIP_RPATH=ON'
#'-D WITH_IPP=ON'
#'-D INSTALL_CREATE_DISTRIB=ON'
@ -57,6 +58,7 @@ build() {
-DLAPACK_CBLAS_H="/usr/include/cblas.h" \
-DLAPACK_LAPACKE_H="/usr/include/lapacke.h" \
../$pkgname-$pkgver
make
}
package_opencv() {