commit: 1ee08222702d6afb3d03a9e95cbb3a2b91d8a1ee
Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Sat Jul 2 06:13:46 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 4 21:35:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee08222
media-video/pipewire: Disable pipewire-alsa without sound server
Until pipewire-alsa can be dynamically enabled in alsa-lib runtime
configuration, make sure it is disabled if sound-server is disabled,
otherwise users will end up wuth broken alsa audio by default.
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-video/pipewire/pipewire-0.3.53.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/media-video/pipewire/pipewire-0.3.53.ebuild
b/media-video/pipewire/pipewire-0.3.53.ebuild
index 75e304738b78..e9b41b72f455 100644
--- a/media-video/pipewire/pipewire-0.3.53.ebuild
+++ b/media-video/pipewire/pipewire-0.3.53.ebuild
@@ -38,9 +38,14 @@ sound-server ssl system-service systemd test udev v4l X
zeroconf"
# cycles consuming loop (and may even cause GUI crashes)!
# TODO: There should be "sound-server? ( || ( alsa bluetooth ) )" here, but
ALSA is always enabled
+# TODO: Pulseaudio alsa plugin performs runtime check that pulseaudio server
connection will work
+# which provides adequate guarantee that alsa-lib will be able to provide
audio services.
+# If that works, pulseaudio defaults are loaded into alsa-lib runtime
replacing default PCM and CTL.
+# When pipewire-alsa will be able to perform similar check, pipewire-alsa can
be enabled unconditionally.
REQUIRED_USE="
jack-sdk? ( !jack-client )
system-service? ( systemd )
+ !sound-server? ( !pipewire-alsa )
"
RESTRICT="!test? ( test )"