mirror of
https://git.yoctoproject.org/poky
synced 2026-04-10 14:02:21 +02:00
pulseaudio: rdepend on modules referenced by start-pulseaudio-x11
pulseaudio-server contains /usr/bin/start-pulseaudio-x11 when X11 is enabled, and that script tries to load module-device-manager, module-x11-cork-request, module-x11-publish, and module-x11-xsmp. Therefore, pulseaudio-server should rdepend on those modules when X11 is enabled, otherwise the script won't work as intended. [YOCTO #8007] (From OE-Core rev: 780981b10dcd4201b8c74b9d33105f80c5801b38) Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7942e645b3
commit
d0ae6fa169
@@ -160,5 +160,15 @@ RDEPENDS_pulseaudio-misc += "pulseaudio-module-cli-protocol-unix"
|
||||
FILES_pulseaudio-module-gconf += "${libexecdir}/pulse/gconf-helper"
|
||||
FILES_pulseaudio-module-alsa-card += "${datadir}/pulseaudio/alsa-mixer"
|
||||
|
||||
# The console-kit module is good to have on X11 systems (it keeps PulseAudio
|
||||
# running for the duration of the user login session). The device-manager and
|
||||
# x11-* modules are referenced from the start-pulseaudio-x11 script, so those
|
||||
# modules must be installed when X11 is enabled.
|
||||
RDEPENDS_pulseaudio-server += "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'pulseaudio-module-console-kit', '', d)}"
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '\
|
||||
pulseaudio-module-console-kit \
|
||||
pulseaudio-module-device-manager \
|
||||
pulseaudio-module-x11-cork-request \
|
||||
pulseaudio-module-x11-publish \
|
||||
pulseaudio-module-x11-xsmp \
|
||||
', '', d)}"
|
||||
|
||||
Reference in New Issue
Block a user