[oe] [meta-oe][PATCH v2] packagegroup-tools-bluetooth.bb: Selects the tools appropriate for the version of bluez being used.

Ann Thornton ann.thornton at nxp.com
Wed May 4 22:03:41 UTC 2016


Signed-off-by: Ann Thornton <ann.thornton at nxp.com>
---
 .../packagegroups/packagegroup-tools-bluetooth.bb  | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb

diff --git a/meta-oe/recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb b/meta-oe/recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb
new file mode 100644
index 0000000..bb5f85c
--- /dev/null
+++ b/meta-oe/recipes-connectivity/packagegroups/packagegroup-tools-bluetooth.bb
@@ -0,0 +1,37 @@
+# Copyright (C) 2014-2015 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SUMMARY = "Set of Bluetooth related tools for inclusion in images"
+DESCRIPTION = "Includes bluetooth specific tools for this version of BlueZ.\
+These tools are used at runtime. \
+Supports BlueZ4 and BlueZ5."
+
+inherit packagegroup
+inherit bluetooth
+
+RDEPENDS_bluez4 = " \
+    obexftp \
+"
+
+RDEPENDS_bluez5 = " \
+     bluez5-noinst-tools \
+     bluez5-obex \
+     bluez5-testtools  \
+     libasound-module-bluez \
+     ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', \
+                                    "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)} \
+"
+
+# Install bluez4 tools or bluez5 tools depending on what is specified in the distro.  
+# Otherwise install nothing.
+RDEPENDS_${PN} = "${RDEPENDS_${BLUEZ}}" 
-- 
1.9.1




More information about the Openembedded-devel mailing list