When bluetooth is set in DISTRO_FEATURES, we need some bluetooth specific modules
for pulseaudio.
The list of packages is a part of OE's package group 'packagegroup-tools-bluetooth' which
also contains extra bluetooth tools we don't want to install in the core AGL image.
Bug-AGL: SPEC-293
Change-Id: I47abe11c136ce6a8fd9d58759bbf9ea1a506fd82
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
pulseaudio-server \
pulseaudio-misc \
agl-audio-plugin \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '\
+ pulseaudio-module-bluetooth-discover \
+ pulseaudio-module-bluetooth-policy \
+ pulseaudio-module-bluez5-discover \
+ pulseaudio-module-bluez5-device \
+ pulseaudio-module-switch-on-connect \
+ pulseaudio-module-loopback \
+ ','', d)} \
gstreamer1.0-meta-base \
"