Merge "Provide oFono 1.15 with BlueZ 5 support"
authorWalt Miner <wminer@linuxfoundation.org>
Fri, 23 Oct 2015 15:05:45 +0000 (15:05 +0000)
committerGerrit Code Review <gerrit@172.30.200.200>
Fri, 23 Oct 2015 15:05:45 +0000 (15:05 +0000)
meta-agl/recipes-connectivity/ofono/ofono_%.bbappend [new file with mode: 0644]
meta-agl/recipes-ivi/packagegroups/packagegroup-agl-ivi-connectivity.bb

diff --git a/meta-agl/recipes-connectivity/ofono/ofono_%.bbappend b/meta-agl/recipes-connectivity/ofono/ofono_%.bbappend
new file mode 100644 (file)
index 0000000..6bf3236
--- /dev/null
@@ -0,0 +1,6 @@
+# Prevent BlueZ 4 from being always pulled
+DEPENDS_remove = "bluez4"
+
+# If Bluetooth is asked in DISTRO_FEATURES, verify if Bluez 5 is also
+# explicitly specified. If it is not, fall back to BlueZ 4
+DEPENDS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5', 'bluez4', d), '', d)}"
index c2c1d72..b197814 100644 (file)
@@ -11,6 +11,7 @@ PACKAGES = "\
 ALLOW_EMPTY_${PN} = "1"
 
 RDEPENDS_${PN} += "\
+    ofono \
     rygel \
     rygel-plugin-media-export \
     "