pkgbase = opencv
	pkgdesc = Open Source Computer Vision Library
	pkgver = 4.10.0
	pkgrel = 18
	url = https://opencv.org/
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = Apache-2.0
	makedepends = ant
	makedepends = cmake
	makedepends = eigen
	makedepends = fmt
	makedepends = git
	makedepends = glew
	makedepends = hdf5
	makedepends = java-environment>=11
	makedepends = java-environment<=17
	makedepends = lapacke
	makedepends = mesa
	makedepends = nlohmann-json
	makedepends = openmpi
	makedepends = pugixml
	makedepends = python-numpy
	makedepends = python-setuptools
	makedepends = qt6-5compat
	depends = abseil-cpp
	depends = cblas
	depends = ffmpeg
	depends = freetype2
	depends = gcc-libs
	depends = glib2
	depends = glibc
	depends = gst-plugins-base
	depends = gst-plugins-base-libs
	depends = gstreamer
	depends = harfbuzz
	depends = lapack
	depends = libdc1394
	depends = libglvnd
	depends = libjpeg-turbo
	depends = libpng
	depends = libtiff
	depends = libwebp
	depends = openexr
	depends = openjpeg2
	depends = verdict
	depends = protobuf
	depends = onetbb
	depends = zlib
	optdepends = opencv-samples: samples
	optdepends = vtk: for the viz module
	optdepends = glew: for the viz module
	optdepends = qt6-base: for the HighGUI module
	optdepends = hdf5: for the HDF5 module
	optdepends = opencl-icd-loader: For coding with OpenCL
	optdepends = java-runtime: Java interface
	source = git+https://github.com/opencv/opencv#tag=4.10.0
	source = git+https://github.com/opencv/opencv_contrib#tag=4.10.0
	source = vtk9.patch
	sha256sums = 9bddee7c78e27fc8a5f5d76e5ac4ea355e7a4e5eff05bbbf97229bc088513be6
	sha256sums = 24f040b420d63566aeb77191706ff08b446698adf13a715d1f3cc6b60d5c7c5b
	sha256sums = f35a2d4ea0d6212c7798659e59eda2cb0b5bc858360f7ce9c696c77d3029668e
	makedepends_x86_64 = cuda
	makedepends_x86_64 = cudnn
	makedepends_x86_64 = gcc13
	makedepends_powerpc64le = vtk
	makedepends_powerpc64 = vtk
	makedepends_riscv64 = vtk

pkgname = opencv

pkgname = opencv-samples
	pkgdesc = Open Source Computer Vision Library (samples)
	depends = opencv

pkgname = python-opencv
	pkgdesc = Python bindings for OpenCV
	depends = fmt
	depends = glew
	depends = hdf5
	depends = jsoncpp
	depends = opencv
	depends = openmpi
	depends = pugixml
	depends = python-numpy
	depends = qt6-base
	depends = vtk
