media-plugins/frei0r-plugins: fix media-libs/opencv USEDEP

media-libs/opencv[contribdnn] has a REQUIRED_USE that must
be satisfied with media-libs/opencv[contrib]. There's no
point making users set that; they already opted into
USE=facedetect.

No need for a revbump; any users with this functionality
enabled will already have updated p.use as a workaround.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
Matt Jolly 2025-02-19 10:26:58 +10:00
parent f164097c50
commit 6f5bcfbe92
No known key found for this signature in database
GPG Key ID: 1B55CE38F469B300
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -17,7 +17,7 @@ KEYWORDS="amd64 ~arm arm64 ~hppa ppc ~ppc64 ~riscv x86"
IUSE="doc +facedetect +scale0tilt"
RDEPEND="x11-libs/cairo[${MULTILIB_USEDEP}]
facedetect? ( >=media-libs/opencv-2.3.0:=[contribdnn,features2d,${MULTILIB_USEDEP}] )
facedetect? ( >=media-libs/opencv-2.3.0:=[contrib,contribdnn,features2d,${MULTILIB_USEDEP}] )
scale0tilt? ( >=media-libs/gavl-1.2.0[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -17,7 +17,7 @@ KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv x86"
IUSE="doc +facedetect +scale0tilt"
RDEPEND="x11-libs/cairo[${MULTILIB_USEDEP}]
facedetect? ( >=media-libs/opencv-2.3.0:=[contribdnn,features2d,${MULTILIB_USEDEP}] )
facedetect? ( >=media-libs/opencv-2.3.0:=[contrib,contribdnn,features2d,${MULTILIB_USEDEP}] )
scale0tilt? ( >=media-libs/gavl-1.2.0[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"