mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
extra/opencv to 3.4.4-1
This commit is contained in:
parent
b2350911d3
commit
abf07d53e7
1 changed files with 11 additions and 7 deletions
|
@ -6,25 +6,24 @@
|
|||
|
||||
pkgbase=opencv
|
||||
pkgname=(opencv opencv-samples)
|
||||
pkgver=3.4.3
|
||||
pkgrel=5
|
||||
pkgver=3.4.4
|
||||
pkgrel=1
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=(x86_64)
|
||||
license=(BSD)
|
||||
url="http://opencv.org/"
|
||||
depends=(intel-tbb openexr gst-plugins-base libdc1394 cblas lapack libgphoto2 jasper ffmpeg)
|
||||
makedepends=(cmake python-numpy python2-numpy mesa eigen hdf5 lapacke gtk3 vtk glew)
|
||||
makedepends=(cmake python-numpy python-setuptools mesa eigen hdf5 lapacke gtk3 vtk glew)
|
||||
optdepends=('opencv-samples: samples'
|
||||
'gtk3: for the HighGUI module'
|
||||
'vtk: for the viz module'
|
||||
'hdf5: support for HDF5 format'
|
||||
'opencl-icd-loader: For coding with OpenCL'
|
||||
'python-numpy: Python 3 interface'
|
||||
'python2-numpy: Python 2 interface')
|
||||
'python-numpy: Python 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=('37c7d8c3b9807902ad11b9181bbde61dcb3898a78a563130494752f46fe8cc5f'
|
||||
'6dfb51326f3dfeb659128df952edecd45683626a965aa4a8e1e9c970c40fb636')
|
||||
sha256sums=('b5755384cbadf67f55838c6cfd9ae1aad0ebad2c7cfe4c1174417c80d2ed15a9'
|
||||
'765446d994713363554978d1da447fef77a2cdf9e38742f0a98b13b92652626d')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
@ -62,6 +61,11 @@ package_opencv() {
|
|||
# install license file
|
||||
install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
|
||||
# install python bindings
|
||||
cd python_loader
|
||||
python setup.py install --root="$pkgdir"
|
||||
rm -r "$pkgdir"/usr/python
|
||||
|
||||
cd "$pkgdir"/usr/share
|
||||
|
||||
# separate samples package
|
||||
|
|
Loading…
Reference in a new issue