There's a cmake argument which enables some nonfree functionality in opencv. The argument is -DOPENCV_ENABLE_NONFREE=ON|OFF, which in turn enables these features: https://docs.opencv.org/2.4/modules/nonfree/doc/nonfree.html. I'm not sure what Gentoo policy is on nonfree stuff, and I was wondering if we could add a flag to toggle these in or out. Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9205edb9922309ecd568b7085fd59726c7d2ca commit 0e9205edb9922309ecd568b7085fd59726c7d2ca Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2023-12-08 14:58:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-10 12:32:37 +0000 media-libs/opencv: add 4.8.1-r1 Closes: https://bugs.gentoo.org/702258 Closes: https://bugs.gentoo.org/830294 Closes: https://bugs.gentoo.org/883375 Closes: https://bugs.gentoo.org/913740 Closes: https://bugs.gentoo.org/914922 Closes: https://bugs.gentoo.org/917121 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-libs/opencv/Manifest | 7 + .../files/opencv-4.8.1-ade-0.1.2a.tar.gz.patch | 18 + .../opencv-4.8.1-drop-python2-detection.patch | 23 + ...ncv-4.8.1-eliminate-lto-compiler-warnings.patch | 36 ++ .../opencv/files/opencv-4.8.1-libpng16.patch | 58 ++ .../opencv/files/opencv-4.8.1-opencv_test.patch | 18 + .../files/opencv-4.8.1-python3_12-support.patch | 25 + .../opencv-4.8.1-use-system-flatbuffers.patch | 36 ++ .../files/opencv-4.8.1-use-system-opencl.patch | 25 + ...rib-4.8.1-NVIDIAOpticalFlowSDK-2.0.tar.gz.patch | 20 + .../opencv/files/opencv_contrib-4.8.1-rgbd.patch | 15 + media-libs/opencv/metadata.xml | 34 +- media-libs/opencv/opencv-4.8.1-r1.ebuild | 644 +++++++++++++++++++++ 13 files changed, 945 insertions(+), 14 deletions(-)