mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/opencv to 4.9.0-2
This commit is contained in:
parent
de4770a92b
commit
ba6749a040
2 changed files with 4 additions and 13 deletions
|
@ -1,10 +1,10 @@
|
|||
pkgbase = opencv
|
||||
pkgdesc = Open Source Computer Vision Library
|
||||
pkgver = 4.9.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://opencv.org/
|
||||
arch = x86_64
|
||||
license = BSD
|
||||
license = Apache-2.0
|
||||
makedepends = ant
|
||||
makedepends = cmake
|
||||
makedepends = cudnn
|
||||
|
|
|
@ -12,10 +12,10 @@ pkgname=(opencv
|
|||
opencv-samples
|
||||
python-opencv)
|
||||
pkgver=4.9.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Open Source Computer Vision Library'
|
||||
arch=(x86_64)
|
||||
license=(BSD)
|
||||
license=(Apache-2.0)
|
||||
url='https://opencv.org/'
|
||||
depends=(abseil-cpp
|
||||
cblas
|
||||
|
@ -114,9 +114,6 @@ build() {
|
|||
package_opencv() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
|
||||
# install license file
|
||||
install -Dm644 $pkgbase-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
|
||||
# separate samples package
|
||||
mv "$pkgdir"/usr/share/opencv4/samples "$srcdir"
|
||||
|
||||
|
@ -135,9 +132,6 @@ package_opencv-samples() {
|
|||
|
||||
mkdir -p "$pkgdir"/usr/share/opencv4
|
||||
mv samples "$pkgdir"/usr/share/opencv4
|
||||
|
||||
# install license file
|
||||
install -Dm644 $pkgbase-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
||||
package_python-opencv() {
|
||||
|
@ -155,7 +149,4 @@ package_python-opencv() {
|
|||
unset optdepends
|
||||
|
||||
DESTDIR="$pkgdir" cmake --install build/modules/python3
|
||||
|
||||
# install license file
|
||||
install -Dm644 $pkgbase-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue