Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/
Date: Mon, 04 Jul 2022 21:40:56
Message-Id: 1656970534.f561aab954fbd1737c25cbb7c99d709ae71ae742.sam@gentoo
1 commit: f561aab954fbd1737c25cbb7c99d709ae71ae742
2 Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
3 AuthorDate: Fri Jun 24 06:37:13 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 4 21:35:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f561aab9
7
8 media-libs/libpulse: PDEPEND on sound servers
9
10 When a package depends on pulseaudio client libraries only, make sure there is
11 a compatible sound server installed.
12
13 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
14 Closes: https://github.com/gentoo/gentoo/pull/25502
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 media-libs/libpulse/libpulse-16.1.ebuild | 7 +++++++
18 1 file changed, 7 insertions(+)
19
20 diff --git a/media-libs/libpulse/libpulse-16.1.ebuild b/media-libs/libpulse/libpulse-16.1.ebuild
21 index a3bd8e6f7528..fe632b3d640b 100644
22 --- a/media-libs/libpulse/libpulse-16.1.ebuild
23 +++ b/media-libs/libpulse/libpulse-16.1.ebuild
24 @@ -67,6 +67,13 @@ BDEPEND="
25 virtual/pkgconfig
26 doc? ( app-doc/doxygen )
27 "
28 +PDEPEND="
29 + || (
30 + media-video/pipewire[sound-server(+)]
31 + media-sound/pulseaudio-daemon
32 + media-sound/pulseaudio[daemon(+)]
33 + )
34 +"
35
36 DOCS=( NEWS README )