summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/opencv')
-rw-r--r--media-libs/opencv/opencv-4.10.0.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/media-libs/opencv/opencv-4.10.0.ebuild b/media-libs/opencv/opencv-4.10.0.ebuild
index 53c8949d37ed..ea1242c5e0b7 100644
--- a/media-libs/opencv/opencv-4.10.0.ebuild
+++ b/media-libs/opencv/opencv-4.10.0.ebuild
@@ -259,7 +259,16 @@ COMMON_DEPEND="
tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
v4l? ( >=media-libs/libv4l-0.8.3[${MULTILIB_USEDEP}] )
vaapi? ( media-libs/libva[${MULTILIB_USEDEP}] )
- vtk? ( sci-libs/vtk:=[rendering,cuda=] )
+ vtk? (
+ sci-libs/vtk:=[rendering,cuda=]
+ || (
+ (
+ sci-libs/vtk[opencascade(+)]
+ sci-libs/opencascade[-ffmpeg]
+ )
+ sci-libs/vtk[-opencascade(-)]
+ )
+ )
webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
xine? ( media-libs/xine-lib )
"