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-video/pipewire/
Date: Mon, 04 Jul 2022 21:40:55
Message-Id: 1656970534.1ee08222702d6afb3d03a9e95cbb3a2b91d8a1ee.sam@gentoo
1 commit: 1ee08222702d6afb3d03a9e95cbb3a2b91d8a1ee
2 Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
3 AuthorDate: Sat Jul 2 06:13:46 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=1ee08222
7
8 media-video/pipewire: Disable pipewire-alsa without sound server
9
10 Until pipewire-alsa can be dynamically enabled in alsa-lib runtime
11 configuration, make sure it is disabled if sound-server is disabled,
12 otherwise users will end up wuth broken alsa audio by default.
13
14 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 media-video/pipewire/pipewire-0.3.53.ebuild | 5 +++++
18 1 file changed, 5 insertions(+)
19
20 diff --git a/media-video/pipewire/pipewire-0.3.53.ebuild b/media-video/pipewire/pipewire-0.3.53.ebuild
21 index 75e304738b78..e9b41b72f455 100644
22 --- a/media-video/pipewire/pipewire-0.3.53.ebuild
23 +++ b/media-video/pipewire/pipewire-0.3.53.ebuild
24 @@ -38,9 +38,14 @@ sound-server ssl system-service systemd test udev v4l X zeroconf"
25 # cycles consuming loop (and may even cause GUI crashes)!
26
27 # TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but ALSA is always enabled
28 +# TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server connection will work
29 +# which provides adequate guarantee that alsa-lib will be able to provide audio services.
30 +# If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL.
31 +# When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally.
32 REQUIRED_USE="
33 jack-sdk? ( !jack-client )
34 system-service? ( systemd )
35 + !sound-server? ( !pipewire-alsa )
36 "
37
38 RESTRICT="!test? ( test )"