summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-06-24 09:37:13 +0300
committerSam James <sam@gentoo.org>2022-07-04 22:35:34 +0100
commitf561aab954fbd1737c25cbb7c99d709ae71ae742 (patch)
treec1bb252f2fac26aadad75c6278ce3277efd57620 /media-libs/libpulse
parentmedia-video/pipewire: Disable pipewire-alsa without sound server (diff)
downloadgentoo-f561aab954fbd1737c25cbb7c99d709ae71ae742.tar.gz
gentoo-f561aab954fbd1737c25cbb7c99d709ae71ae742.tar.bz2
gentoo-f561aab954fbd1737c25cbb7c99d709ae71ae742.zip
media-libs/libpulse: PDEPEND on sound servers
When a package depends on pulseaudio client libraries only, make sure there is a compatible sound server installed. Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/25502 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libpulse')
-rw-r--r--media-libs/libpulse/libpulse-16.1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/media-libs/libpulse/libpulse-16.1.ebuild b/media-libs/libpulse/libpulse-16.1.ebuild
index a3bd8e6f7528..fe632b3d640b 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-16.1.ebuild
@@ -67,6 +67,13 @@ BDEPEND="
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
+PDEPEND="
+ || (
+ media-video/pipewire[sound-server(+)]
+ media-sound/pulseaudio-daemon
+ media-sound/pulseaudio[daemon(+)]
+ )
+"
DOCS=( NEWS README )