[update] opencv -> 4.10.0

This commit is contained in:
Developer 2024-12-13 23:48:00 +00:00
parent 3aff0b2067
commit a5a19d6668
2 changed files with 24 additions and 4 deletions

View File

@ -3,10 +3,10 @@
pkgname = opencv
pkgbase = opencv
xdata = pkgtype=split
pkgver = 4.10.0-14
pkgver = 4.10.0-15
pkgdesc = Open Source Computer Vision Library
url = https://opencv.org/
builddate = 1731715112
builddate = 1734133678
packager = Tuxcore <dev@tuxcore.org>
size = 106043245
arch = x86_64

View File

@ -3,9 +3,10 @@ pkgbase=opencv
pkgname=(opencv
opencv-samples
python-opencv
opencv-cuda)
opencv-cuda
python-opencv-cuda)
pkgver=4.10.0
pkgrel=14
pkgrel=16
pkgdesc='Open Source Computer Vision Library'
arch=(x86_64)
license=(Apache-2.0)
@ -194,3 +195,22 @@ package_opencv-cuda() {
# Split Python bindings
rm -r "$pkgdir"/usr/lib/python3*
}
package_python-opencv-cuda() {
pkgdesc='Python bindings for OpenCV (with CUDA support)'
depends=(fmt
glew
hdf5
jsoncpp
opencv-cuda
openmpi
pugixml
python-numpy
qt6-base
vtk)
conflicts=(python-opencv)
provides=(python-opencv=$pkgver)
unset optdepends
DESTDIR="$pkgdir" cmake --install build-cuda/modules/python3
}