mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/opencv to 3.3.0-2
This commit is contained in:
parent
d20a6b1fb5
commit
b12e58f850
1 changed files with 7 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
|||
pkgbase=opencv
|
||||
pkgname=('opencv' 'opencv-samples')
|
||||
pkgver=3.3.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
|
@ -23,10 +23,10 @@ optdepends=('opencv-samples'
|
|||
'opencl-icd-loader: For coding with OpenCL'
|
||||
'python-numpy: Python 3 interface'
|
||||
'python2-numpy: Python 2 interface')
|
||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/Itseez/opencv/archive/$pkgver.zip"
|
||||
"opencv_contrib-$pkgver.tar.gz::https://github.com/Itseez/opencv_contrib/archive/$pkgver.tar.gz")
|
||||
md5sums=('cc586ebe960a7cdd87100e89088abc06'
|
||||
'7878ff39d3488b335861831419d30c64')
|
||||
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=('3546c3837f88177c898e4172942da7a3ca6c4e8e98a33d0cbccb2b499167c5ba'
|
||||
'e94acf39cd4854c3ef905e06516e5f74f26dddfa6477af89558fb40a57aeb444')
|
||||
|
||||
_cmakeopts=('-D WITH_OPENCL=ON'
|
||||
'-D WITH_OPENGL=ON'
|
||||
|
@ -92,6 +92,8 @@ package_opencv-samples() {
|
|||
|
||||
mkdir -p "$pkgdir/usr/share/opencv"
|
||||
cp -r "$srcdir/opencv-samples" "$pkgdir/usr/share/opencv/samples"
|
||||
# fix permissions
|
||||
chmod 755 "$pkgdir"/usr/share/opencv/samples/*
|
||||
|
||||
# install license file
|
||||
install -Dm644 "$srcdir/opencv-$pkgver/LICENSE" \
|
||||
|
|
Loading…
Reference in a new issue