summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-06-18 02:37:29 +0300
committerSam James <sam@gentoo.org>2022-06-18 01:18:16 +0100
commit5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c (patch)
tree9c1a78c6beee6f633574eba71946370fe0cdc9fb /media-sound
parentmedia-sound/pulseaudio-daemon: Revbump for upstream fixes (diff)
downloadgentoo-5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c.tar.gz
gentoo-5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c.tar.bz2
gentoo-5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c.zip
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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild5
1 files changed, 5 insertions, 0 deletions
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