mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/opencv to 4.1.1-1
This commit is contained in:
parent
02f2a8ee9e
commit
4d18d5dc89
1 changed files with 9 additions and 8 deletions
|
@ -6,8 +6,8 @@
|
|||
|
||||
pkgbase=opencv
|
||||
pkgname=(opencv opencv-samples)
|
||||
pkgver=4.1.0
|
||||
pkgrel=2
|
||||
pkgver=4.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=(x86_64)
|
||||
license=(BSD)
|
||||
|
@ -15,17 +15,17 @@ url="https://opencv.org/"
|
|||
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)
|
||||
optdepends=('opencv-samples: samples'
|
||||
'gtk3: for the HighGUI module'
|
||||
'gtk3: for the HighGUI module and the Python bindings'
|
||||
'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'
|
||||
'python-numpy: Python interface'
|
||||
'python-numpy: Python bindings'
|
||||
'java-runtime: Java 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"
|
||||
opencv-includedir.patch)
|
||||
sha256sums=('2c75b129da2e2c8728d168b7bf14ceca2da0ebe938557b109bae6742855ede13'
|
||||
'e7d775cc0b87b04308823ca518b11b34cc12907a59af4ccdaf64419c1ba5e682'
|
||||
sha256sums=('d34985c7b4283519c032e3585b30846644f56c81acba35693295ff8930f080aa'
|
||||
'9f85d380758498d800fec26307e389620cde8b1a2e86ab51cddc5200fbe37102'
|
||||
'a96e35c9592e655b21a62cfe04e864a10e21535ad900e5de67356b9e9f40ca10')
|
||||
|
||||
prepare() {
|
||||
|
@ -61,7 +61,8 @@ build() {
|
|||
-DLAPACK_LAPACKE_H="/usr/include/lapacke.h" \
|
||||
-DOPENCV_GENERATE_PKGCONFIG=ON \
|
||||
-DOPENCV_ENABLE_NONFREE=ON \
|
||||
-DOPENCV_JNI_INSTALL_PATH=lib
|
||||
-DOPENCV_JNI_INSTALL_PATH=lib \
|
||||
-DOPENCV_GENERATE_SETUPVARS=OFF
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue