commit: 5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com> AuthorDate: Fri Jun 17 23:37:29 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jun 18 00:18:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee9ff09
media-sound/pulseaudio-daemon: Add optional conf dirs to silence warning Daemon configuration scripts will try to load snippets from corresponding '.d' dirs. Install these dirs to silence a warning if they are missing. Closes: https://bugs.gentoo.org/852587 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild index 3ec78e0ac672..cf0871a10c25 100644 --- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild +++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild @@ -256,6 +256,11 @@ src_install() { rm "${D}/$(get_bashcompdir)"/pacmd || die rm "${D}/$(get_bashcompdir)"/pasuspender || die + # Daemon configuration scripts will try to load snippets from corresponding '.d' dirs. + # Install these dirs to silence a warning if they are missing. + keepdir /etc/pulse/default.pa.d + keepdir /etc/pulse/system.pa.d + if use system-wide; then newconfd "${FILESDIR}"/pulseaudio.conf.d pulseaudio