mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/opencv to 4.6.0-1
This commit is contained in:
parent
6958a49332
commit
b5364652f3
1 changed files with 6 additions and 6 deletions
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
pkgbase=opencv
|
pkgbase=opencv
|
||||||
pkgname=(opencv opencv-samples python-opencv)
|
pkgname=(opencv opencv-samples python-opencv)
|
||||||
pkgver=4.5.5
|
pkgver=4.6.0
|
||||||
pkgrel=7
|
pkgrel=1
|
||||||
pkgdesc="Open Source Computer Vision Library"
|
pkgdesc="Open Source Computer Vision Library"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=(BSD)
|
license=(BSD)
|
||||||
url='https://opencv.org/'
|
url='https://opencv.org/'
|
||||||
depends=(tbb openexr gst-plugins-base libdc1394 cblas lapack libgphoto2 openjpeg2 ffmpeg4.4 protobuf)
|
depends=(tbb openexr gst-plugins-base libdc1394 cblas lapack libgphoto2 openjpeg2 ffmpeg protobuf)
|
||||||
makedepends=(cmake python-numpy python-setuptools mesa eigen hdf5 lapacke qt5-base vtk glew ant java-environment pugixml openmpi fmt)
|
makedepends=(cmake python-numpy python-setuptools mesa eigen hdf5 lapacke qt5-base vtk glew ant java-environment pugixml openmpi fmt)
|
||||||
optdepends=('opencv-samples: samples'
|
optdepends=('opencv-samples: samples'
|
||||||
'vtk: for the viz module'
|
'vtk: for the viz module'
|
||||||
|
@ -26,8 +26,8 @@ optdepends=('opencv-samples: samples'
|
||||||
source=(https://github.com/opencv/opencv/archive/$pkgver/$pkgname-$pkgver.tar.gz
|
source=(https://github.com/opencv/opencv/archive/$pkgver/$pkgname-$pkgver.tar.gz
|
||||||
https://github.com/opencv/opencv_contrib/archive/$pkgver/opencv_contrib-$pkgver.tar.gz
|
https://github.com/opencv/opencv_contrib/archive/$pkgver/opencv_contrib-$pkgver.tar.gz
|
||||||
vtk9.patch)
|
vtk9.patch)
|
||||||
sha256sums=('a1cfdcf6619387ca9e232687504da996aaa9f7b5689986b8331ec02cb61d28ad'
|
sha256sums=('1ec1cba65f9f20fe5a41fda1586e01c70ea0c9a6d7b67c9e13edf0cfe2239277'
|
||||||
'a97c2eaecf7a23c6dbd119a609c6d7fae903e5f9ff5f1fe678933e01c67a6c11'
|
'1777d5fd2b59029cf537e5fd6f8aa68d707075822f90bde683fcde086f85f7a7'
|
||||||
'f35a2d4ea0d6212c7798659e59eda2cb0b5bc858360f7ce9c696c77d3029668e')
|
'f35a2d4ea0d6212c7798659e59eda2cb0b5bc858360f7ce9c696c77d3029668e')
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export JAVA_HOME="/usr/lib/jvm/default" PKG_CONFIG_PATH=/usr/lib/ffmpeg4.4/pkgconfig
|
export JAVA_HOME="/usr/lib/jvm/default"
|
||||||
# cmake's FindLAPACK doesn't add cblas to LAPACK_LIBRARIES, so we need to specify them manually
|
# cmake's FindLAPACK doesn't add cblas to LAPACK_LIBRARIES, so we need to specify them manually
|
||||||
_opts="-DWITH_OPENCL=ON \
|
_opts="-DWITH_OPENCL=ON \
|
||||||
-DWITH_OPENGL=ON \
|
-DWITH_OPENGL=ON \
|
||||||
|
|
Loading…
Reference in a new issue