packagegroup-ivi-common-core-multimedia: add pulseaudio bluetooth modules 51/7351/1
authorStephane Desneux <stephane.desneux@iot.bzh>
Fri, 25 Nov 2016 15:59:09 +0000 (16:59 +0100)
committerStephane Desneux <stephane.desneux@iot.bzh>
Wed, 30 Nov 2016 14:50:28 +0000 (15:50 +0100)
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>
meta-ivi-common/recipes-core/packagegroups/packagegroup-ivi-common-core-multimedia.bb

index 75e4962..f1c10fa 100644 (file)
@@ -17,5 +17,13 @@ RDEPENDS_${PN} += "\
     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 \
     "