extra/opencv to 4.1.1-1

This commit is contained in:
Kevin Mihelich 2019-07-26 12:36:01 +00:00
parent 02f2a8ee9e
commit 4d18d5dc89

View file

@ -6,8 +6,8 @@
pkgbase=opencv pkgbase=opencv
pkgname=(opencv opencv-samples) pkgname=(opencv opencv-samples)
pkgver=4.1.0 pkgver=4.1.1
pkgrel=2 pkgrel=1
pkgdesc="Open Source Computer Vision Library" pkgdesc="Open Source Computer Vision Library"
arch=(x86_64) arch=(x86_64)
license=(BSD) license=(BSD)
@ -15,17 +15,17 @@ url="https://opencv.org/"
depends=(intel-tbb openexr gst-plugins-base libdc1394 cblas lapack libgphoto2 jasper ffmpeg) depends=(intel-tbb openexr gst-plugins-base libdc1394 cblas lapack libgphoto2 jasper ffmpeg)
makedepends=(cmake python-numpy python-setuptools mesa eigen hdf5 lapacke gtk3 vtk glew ant java-environment) makedepends=(cmake python-numpy python-setuptools mesa eigen hdf5 lapacke gtk3 vtk glew ant java-environment)
optdepends=('opencv-samples: samples' optdepends=('opencv-samples: samples'
'gtk3: for the HighGUI module' 'gtk3: for the HighGUI module and the Python bindings'
'vtk: for the viz module' 'vtk: for the viz module'
'hdf5: support for HDF5 format' 'hdf5: for the HDF5 module and the Python bindings'
'opencl-icd-loader: For coding with OpenCL' 'opencl-icd-loader: For coding with OpenCL'
'python-numpy: Python interface' 'python-numpy: Python bindings'
'java-runtime: Java interface') 'java-runtime: Java interface')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/opencv/opencv/archive/$pkgver.zip" 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" "opencv_contrib-$pkgver.tar.gz::https://github.com/opencv/opencv_contrib/archive/$pkgver.tar.gz"
opencv-includedir.patch) opencv-includedir.patch)
sha256sums=('2c75b129da2e2c8728d168b7bf14ceca2da0ebe938557b109bae6742855ede13' sha256sums=('d34985c7b4283519c032e3585b30846644f56c81acba35693295ff8930f080aa'
'e7d775cc0b87b04308823ca518b11b34cc12907a59af4ccdaf64419c1ba5e682' '9f85d380758498d800fec26307e389620cde8b1a2e86ab51cddc5200fbe37102'
'a96e35c9592e655b21a62cfe04e864a10e21535ad900e5de67356b9e9f40ca10') 'a96e35c9592e655b21a62cfe04e864a10e21535ad900e5de67356b9e9f40ca10')
prepare() { prepare() {
@ -61,7 +61,8 @@ build() {
-DLAPACK_LAPACKE_H="/usr/include/lapacke.h" \ -DLAPACK_LAPACKE_H="/usr/include/lapacke.h" \
-DOPENCV_GENERATE_PKGCONFIG=ON \ -DOPENCV_GENERATE_PKGCONFIG=ON \
-DOPENCV_ENABLE_NONFREE=ON \ -DOPENCV_ENABLE_NONFREE=ON \
-DOPENCV_JNI_INSTALL_PATH=lib -DOPENCV_JNI_INSTALL_PATH=lib \
-DOPENCV_GENERATE_SETUPVARS=OFF
make make
} }