summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/pulseaudio
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2019-07-26 23:03:15 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-27 22:45:30 +0100
commit84c1ca18f0e1fe278ad7744fe4fe8d7860a2e944 (patch)
treedc6ac9a15fa9920f7f9e01f8f14395395abfc408 /meta/recipes-multimedia/pulseaudio
parentc25f8fed4a55fb6ae7821a21e518d93aaff9e236 (diff)
downloadpoky-84c1ca18f0e1fe278ad7744fe4fe8d7860a2e944.tar.gz
pulseaudio: don't include consolekit when systemd is enabled
When using systemd, make sure that pulseaudio-server RDEPENDS on module-systemd-login instead of module-console-kit both of which provide the same functionality but for different init systems [1][2]. Even though both modules can co-exist, this helps avoid including consolekit (which has been deprecated) in the images using systemd. [1] https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index51h3 [2] https://github.com/pulseaudio/pulseaudio/commit/860d1cf3a76701ade38784822abb24285176227c (From OE-Core rev: 69d6984159834713ffb56762f50226afe27d22f5) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio')
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index e245be7f77..ec51d8b279 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -259,9 +259,12 @@ FILES_${PN}-module-gsettings += "${libexecdir}/pulse/gsettings-helper ${datadir}
259# modules must be installed when X11 is enabled. 259# modules must be installed when X11 is enabled.
260RDEPENDS_pulseaudio-server += "\ 260RDEPENDS_pulseaudio-server += "\
261 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '\ 261 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '\
262 pulseaudio-module-console-kit \
263 pulseaudio-module-device-manager \ 262 pulseaudio-module-device-manager \
264 pulseaudio-module-x11-cork-request \ 263 pulseaudio-module-x11-cork-request \
265 pulseaudio-module-x11-publish \ 264 pulseaudio-module-x11-publish \
266 pulseaudio-module-x11-xsmp \ 265 pulseaudio-module-x11-xsmp \
267 ', '', d)}" 266 ', '', d)}"
267
268RDEPENDS_pulseaudio-server += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', \
269 bb.utils.contains('DISTRO_FEATURES', 'systemd', 'pulseaudio-module-systemd-login', 'pulseaudio-module-console-kit', d), \
270 '', d)}"