commit:     40e38423f0a01fe541251f8d543dcc9506f494a3
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 22:30:54 2021 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 22:30:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e38423

media-video/cheese: allow pipewiresrc as camerabin provider

If pipewiresrc is present, camerabin seems to pick it. Allow uninstalling
gst-plugins-v4l2 in such cases by listing both options.
gst-plugins-v4l2 is kept as the first choice to avoid a USE flag for now
and just allow pipewire at runtime as an option, if already present. This
could/should change and be revisited later.

Bug: https://bugs.gentoo.org/830018
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 media-video/cheese/cheese-41.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-video/cheese/cheese-41.1.ebuild 
b/media-video/cheese/cheese-41.1.ebuild
index 67324c0a5595..8d6ed3e1b4b3 100644
--- a/media-video/cheese/cheese-41.1.ebuild
+++ b/media-video/cheese/cheese-41.1.ebuild
@@ -38,7 +38,10 @@ RDEPEND="${DEPEND}
        >=media-libs/gst-plugins-good-1.4:1.0
 
        >=media-plugins/gst-plugins-jpeg-1.4:1.0
-       >=media-plugins/gst-plugins-v4l2-1.4:1.0
+       || (
+               >=media-plugins/gst-plugins-v4l2-1.4:1.0
+               media-video/pipewire[gstreamer,v4l]
+       )
        >=media-plugins/gst-plugins-vpx-1.4:1.0
 "
 

Reply via email to