commit: ed5e534a1cd4ae88036e99bcb81420e28f824768 Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com> AuthorDate: Mon May 30 06:09:36 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jul 4 21:35:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed5e534a
media-video/wireplumber: Disable sound server parts Disable alsa and bluetooth monitors in wireplumber configuration. Let media-video/pipewire conditionally enable these instead. Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> ...-0.4.10-config-disable-sound-server-parts.patch | 26 ++++++++++++++++++++++ .../wireplumber/wireplumber-0.4.10-r3.ebuild | 1 + 2 files changed, 27 insertions(+) diff --git a/media-video/wireplumber/files/wireplumber-0.4.10-config-disable-sound-server-parts.patch b/media-video/wireplumber/files/wireplumber-0.4.10-config-disable-sound-server-parts.patch new file mode 100644 index 000000000000..a8bf6f106129 --- /dev/null +++ b/media-video/wireplumber/files/wireplumber-0.4.10-config-disable-sound-server-parts.patch @@ -0,0 +1,26 @@ +commit 3d86f51d2c43fd76be2450a8c27836fdd8619cfa +Author: Igor V. Kovalenko <[email protected]> +Date: Sun May 15 18:19:03 2022 +0300 + + config: Disable alsa and bluez monitors by default + +diff --git a/src/config/bluetooth.lua.d/50-bluez-config.lua b/src/config/bluetooth.lua.d/50-bluez-config.lua +index d5727d3..938eae0 100644 +--- a/src/config/bluetooth.lua.d/50-bluez-config.lua ++++ b/src/config/bluetooth.lua.d/50-bluez-config.lua +@@ -1,4 +1,4 @@ +-bluez_monitor.enabled = true ++bluez_monitor.enabled = false + + bluez_monitor.properties = { + -- These features do not work on all headsets, so they are enabled +diff --git a/src/config/main.lua.d/50-alsa-config.lua b/src/config/main.lua.d/50-alsa-config.lua +index 3468333..d4c065b 100644 +--- a/src/config/main.lua.d/50-alsa-config.lua ++++ b/src/config/main.lua.d/50-alsa-config.lua +@@ -1,4 +1,4 @@ +-alsa_monitor.enabled = true ++alsa_monitor.enabled = false + + alsa_monitor.properties = { + -- Create a JACK device. This is not enabled by default because diff --git a/media-video/wireplumber/wireplumber-0.4.10-r3.ebuild b/media-video/wireplumber/wireplumber-0.4.10-r3.ebuild index ae1bbb1ec14c..5789bd9c46fb 100644 --- a/media-video/wireplumber/wireplumber-0.4.10-r3.ebuild +++ b/media-video/wireplumber/wireplumber-0.4.10-r3.ebuild @@ -68,6 +68,7 @@ PATCHES=( "${FILESDIR}"/${P}-alsa.lua-fix-device-name-deduplication-when-reserva.patch "${FILESDIR}"/${P}-m-default-nodes-don-t-check-if-all-device-nodes-are.patch "${FILESDIR}"/${P}-m-lua-scripting-fix-object-refcounting.patch + "${FILESDIR}"/${P}-config-disable-sound-server-parts.patch # defer enabling sound server parts to media-video/pipewire ) src_configure() {
