public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/
@ 2022-04-28 16:00 99% Sam James
  0 siblings, 0 replies; 1+ results
From: Sam James @ 2022-04-28 16:00 UTC (permalink / raw
  To: gentoo-commits

commit:     d5453db8eeeee7aec0b61f772a7b76e3400f1d8b
Author:     Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Tue Apr 26 21:55:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 15:59:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5453db8

media-sound/pulseaudio-daemon: Daemon part of split autospawn implementation

Now that libpulse has daemon autospawn disabled, enable it back
for systems without systemd when pulseaudio-daemon is installed.

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25207
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/pulseaudio-daemon/files/enable-autospawn.conf           | 2 ++
 ...io-daemon-15.99.1.ebuild => pulseaudio-daemon-15.99.1-r1.ebuild} | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/files/enable-autospawn.conf b/media-sound/pulseaudio-daemon/files/enable-autospawn.conf
new file mode 100644
index 000000000000..5681459a32cd
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/files/enable-autospawn.conf
@@ -0,0 +1,2 @@
+# Enable automatic spawning of pulseaudio daemon
+autospawn = yes

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild
similarity index 97%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild
index 71655e65efbd..19134e3b2752 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild
@@ -272,6 +272,12 @@ src_install() {
 			|| die
 	fi
 
+	# Only enable autospawning pulseaudio daemon on systems without systemd
+	if ! use systemd; then
+		insinto /etc/pulse/client.conf.d
+		newins "${FILESDIR}/enable-autospawn.conf" "enable-autospawn.conf"
+	fi
+
 	find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
 }
 


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-04-28 16:00 99% [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox