summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-08-25 11:42:07 +0200
committerPacho Ramos <pacho@gentoo.org>2021-08-25 12:16:19 +0200
commitb10795b1b7a807863d8d5a750e751d263b008c0c (patch)
treea708ffcf8adaebc8a7113d7b5dcfff3abc85c0aa /media-libs/opencv
parentkde-misc/latte-dock: Drop 0.10.0 (diff)
downloadgentoo-b10795b1b7a807863d8d5a750e751d263b008c0c.tar.gz
gentoo-b10795b1b7a807863d8d5a750e751d263b008c0c.tar.bz2
gentoo-b10795b1b7a807863d8d5a750e751d263b008c0c.zip
media-libs/opencv: CUDA support needs 'contrib' USE enabled
Closes: https://bugs.gentoo.org/701712 Closes: https://bugs.gentoo.org/792282 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-libs/opencv')
-rw-r--r--media-libs/opencv/opencv-4.5.2-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-libs/opencv/opencv-4.5.2-r1.ebuild b/media-libs/opencv/opencv-4.5.2-r1.ebuild
index 3c0b554b7cf8..05330abd0960 100644
--- a/media-libs/opencv/opencv-4.5.2-r1.ebuild
+++ b/media-libs/opencv/opencv-4.5.2-r1.ebuild
@@ -58,10 +58,12 @@ IUSE="${IUSE} ${CPU_FEATURES_MAP[@]%:*}"
# OpenGL needs gtk or Qt installed to activate, otherwise build system
# will silently disable it Wwithout the user knowing, which defeats the
# purpose of the opengl use flag.
+# cuda needs contrib, bug #701712
REQUIRED_USE="
cpu_flags_x86_avx2? ( cpu_flags_x86_f16c )
cpu_flags_x86_f16c? ( cpu_flags_x86_avx )
- cuda? ( tesseract? ( opencl ) )
+ cuda? ( contrib
+ tesseract? ( opencl ) )
dnnsamples? ( examples )
gflags? ( contrib )
glog? ( contrib )