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 }
