1 |
commit: ed5e534a1cd4ae88036e99bcb81420e28f824768 |
2 |
Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 30 06:09:36 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 4 21:35:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed5e534a |
7 |
|
8 |
media-video/wireplumber: Disable sound server parts |
9 |
|
10 |
Disable alsa and bluetooth monitors in wireplumber configuration. |
11 |
Let media-video/pipewire conditionally enable these instead. |
12 |
|
13 |
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com> |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
...-0.4.10-config-disable-sound-server-parts.patch | 26 ++++++++++++++++++++++ |
17 |
.../wireplumber/wireplumber-0.4.10-r3.ebuild | 1 + |
18 |
2 files changed, 27 insertions(+) |
19 |
|
20 |
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 |
21 |
new file mode 100644 |
22 |
index 000000000000..a8bf6f106129 |
23 |
--- /dev/null |
24 |
+++ b/media-video/wireplumber/files/wireplumber-0.4.10-config-disable-sound-server-parts.patch |
25 |
@@ -0,0 +1,26 @@ |
26 |
+commit 3d86f51d2c43fd76be2450a8c27836fdd8619cfa |
27 |
+Author: Igor V. Kovalenko <igor.v.kovalenko@×××××.com> |
28 |
+Date: Sun May 15 18:19:03 2022 +0300 |
29 |
+ |
30 |
+ config: Disable alsa and bluez monitors by default |
31 |
+ |
32 |
+diff --git a/src/config/bluetooth.lua.d/50-bluez-config.lua b/src/config/bluetooth.lua.d/50-bluez-config.lua |
33 |
+index d5727d3..938eae0 100644 |
34 |
+--- a/src/config/bluetooth.lua.d/50-bluez-config.lua |
35 |
++++ b/src/config/bluetooth.lua.d/50-bluez-config.lua |
36 |
+@@ -1,4 +1,4 @@ |
37 |
+-bluez_monitor.enabled = true |
38 |
++bluez_monitor.enabled = false |
39 |
+ |
40 |
+ bluez_monitor.properties = { |
41 |
+ -- These features do not work on all headsets, so they are enabled |
42 |
+diff --git a/src/config/main.lua.d/50-alsa-config.lua b/src/config/main.lua.d/50-alsa-config.lua |
43 |
+index 3468333..d4c065b 100644 |
44 |
+--- a/src/config/main.lua.d/50-alsa-config.lua |
45 |
++++ b/src/config/main.lua.d/50-alsa-config.lua |
46 |
+@@ -1,4 +1,4 @@ |
47 |
+-alsa_monitor.enabled = true |
48 |
++alsa_monitor.enabled = false |
49 |
+ |
50 |
+ alsa_monitor.properties = { |
51 |
+ -- Create a JACK device. This is not enabled by default because |
52 |
|
53 |
diff --git a/media-video/wireplumber/wireplumber-0.4.10-r3.ebuild b/media-video/wireplumber/wireplumber-0.4.10-r3.ebuild |
54 |
index ae1bbb1ec14c..5789bd9c46fb 100644 |
55 |
--- a/media-video/wireplumber/wireplumber-0.4.10-r3.ebuild |
56 |
+++ b/media-video/wireplumber/wireplumber-0.4.10-r3.ebuild |
57 |
@@ -68,6 +68,7 @@ PATCHES=( |
58 |
"${FILESDIR}"/${P}-alsa.lua-fix-device-name-deduplication-when-reserva.patch |
59 |
"${FILESDIR}"/${P}-m-default-nodes-don-t-check-if-all-device-nodes-are.patch |
60 |
"${FILESDIR}"/${P}-m-lua-scripting-fix-object-refcounting.patch |
61 |
+ "${FILESDIR}"/${P}-config-disable-sound-server-parts.patch # defer enabling sound server parts to media-video/pipewire |
62 |
) |
63 |
|
64 |
src_configure() { |