mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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
|
pkgbase = opencv
|
||||||
pkgdesc = Open Source Computer Vision Library
|
pkgdesc = Open Source Computer Vision Library
|
||||||
pkgver = 4.9.0
|
pkgver = 4.9.0
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://opencv.org/
|
url = https://opencv.org/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = BSD
|
license = Apache-2.0
|
||||||
makedepends = ant
|
makedepends = ant
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
makedepends = cudnn
|
makedepends = cudnn
|
||||||
|
|
|
@ -12,10 +12,10 @@ pkgname=(opencv
|
||||||
opencv-samples
|
opencv-samples
|
||||||
python-opencv)
|
python-opencv)
|
||||||
pkgver=4.9.0
|
pkgver=4.9.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Open Source Computer Vision Library'
|
pkgdesc='Open Source Computer Vision Library'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=(BSD)
|
license=(Apache-2.0)
|
||||||
url='https://opencv.org/'
|
url='https://opencv.org/'
|
||||||
depends=(abseil-cpp
|
depends=(abseil-cpp
|
||||||
cblas
|
cblas
|
||||||
|
@ -114,9 +114,6 @@ build() {
|
||||||
package_opencv() {
|
package_opencv() {
|
||||||
DESTDIR="$pkgdir" cmake --install build
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
|
|
||||||
# install license file
|
|
||||||
install -Dm644 $pkgbase-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
|
||||||
|
|
||||||
# separate samples package
|
# separate samples package
|
||||||
mv "$pkgdir"/usr/share/opencv4/samples "$srcdir"
|
mv "$pkgdir"/usr/share/opencv4/samples "$srcdir"
|
||||||
|
|
||||||
|
@ -135,9 +132,6 @@ package_opencv-samples() {
|
||||||
|
|
||||||
mkdir -p "$pkgdir"/usr/share/opencv4
|
mkdir -p "$pkgdir"/usr/share/opencv4
|
||||||
mv samples "$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() {
|
package_python-opencv() {
|
||||||
|
@ -155,7 +149,4 @@ package_python-opencv() {
|
||||||
unset optdepends
|
unset optdepends
|
||||||
|
|
||||||
DESTDIR="$pkgdir" cmake --install build/modules/python3
|
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