opencv: rebuild for Python 3.12

This commit is contained in:
Andrew J. Hesford 2023-09-23 21:01:43 -04:00
parent 3adb38eb45
commit 9d5e53c982
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'opencv'
pkgname=opencv
version=4.6.0
revision=4
revision=5
create_wrksrc=yes
build_wrksrc=${pkgname}-${version}
build_style=cmake
@ -12,7 +12,7 @@ configure_args="-DENABLE_PRECOMPILED_HEADERS=OFF -DWITH_OPENMP=ON
-DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-${version}/modules
-DBUILD_opencv_wechat_qrcode=OFF -DBUILD_opencv_rgbd=OFF
-DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF"
hostmakedepends="pkg-config eigen python3-numpy"
hostmakedepends="pkg-config eigen python3-numpy python3-setuptools"
makedepends="ffmpeg-devel libpng-devel libjpeg-turbo-devel tiff-devel
jasper-devel ocl-icd-devel libgomp-devel libopenexr-devel gtk+3-devel
libgphoto2-devel gst-plugins-base1-devel openblas-devel