aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi/recipes-connectivity/bluez5/bluez5_%.bbappend
diff options
context:
space:
mode:
authorHolger Behrens <holger.behrens@windriver.com>2014-12-09 18:04:10 +0100
committerHolger Behrens <holger.behrens@windriver.com>2014-12-09 18:19:32 +0100
commit79791c85b0875b224d0c684e17048d8cdfee8caf (patch)
tree6abe4d60f0f523750c48810626503fa50f06a600 /meta-ivi/recipes-connectivity/bluez5/bluez5_%.bbappend
parentf66c4db4cbc6acafc1dd731aaebd41be8aafd450 (diff)
downloadmeta-ivi-79791c85b0875b224d0c684e17048d8cdfee8caf.tar.gz
meta-ivi-79791c85b0875b224d0c684e17048d8cdfee8caf.tar.bz2
meta-ivi-79791c85b0875b224d0c684e17048d8cdfee8caf.zip
bluez5: uprev to 5.22 including Service API
uprev bluez5 from version 5.15 to version 5.22. Apply service API patches to be aligned with GENIVI compliance. Before those patches were already merged in the git repository that was previously used; now the individual patches are used. The patches have been extracted from Tizen. https://review.tizen.org/git/?p=platform/upstream/bluez.git Tizen rev: abb9a439baaaa9cd6f91ba5af8c6e426cdc8ff8e As the service api is now refactored into a plugin, add this new plugin (libbluetooth-plugins-service) to the root file system. Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
Diffstat (limited to 'meta-ivi/recipes-connectivity/bluez5/bluez5_%.bbappend')
-rw-r--r--meta-ivi/recipes-connectivity/bluez5/bluez5_%.bbappend41
1 files changed, 35 insertions, 6 deletions
diff --git a/meta-ivi/recipes-connectivity/bluez5/bluez5_%.bbappend b/meta-ivi/recipes-connectivity/bluez5/bluez5_%.bbappend
index 4ee80a0..ad86f55 100644
--- a/meta-ivi/recipes-connectivity/bluez5/bluez5_%.bbappend
+++ b/meta-ivi/recipes-connectivity/bluez5/bluez5_%.bbappend
@@ -1,14 +1,43 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+
#
# Service API reference implementation
# Revision: 5.15 (Horizon)
# Homepage: https://collab.genivi.org/wiki/display/genivi/Bluetooth+Stack+Reference+Implementation
+# Actual patches copied from:
+# https://review.tizen.org/git/?p=platform/upstream/bluez.git;a=commit;h=abb9a439baaaa9cd6f91ba5af8c6e426cdc8ff8e
#
-PV = "5.15"
-PR = "horizon_r1"
+SRC_URI_append = " \
+ file://0001-plugins-Add-initial-code-for-service-plugin.patch \
+ file://0002-plugins-service-Add-initial-code.patch \
+ file://0003-plugins-service-Add-State-property.patch \
+ file://0004-plugins-service-Add-RemoteUUID-property.patch \
+ file://0005-plugins-service-Add-LocalUUID-property.patch \
+ file://0006-plugins-service-Add-implemention-of-.Connect-method.patch \
+ file://0007-plugins-service-Add-implemention-of-.Disconnect-meth.patch \
+ file://0008-plugins-service-Add-Device-property.patch \
+ file://0009-plugins-service-Add-Version-property.patch \
+ file://0010-plugins-service-Add-AutoConnect-property.patch \
+ file://0011-plugins-service-Add-Blocked-property.patch \
+ "
-SRC_URI_remove = "http://kernel.org/pub/linux/bluetooth/bluez-5.15.tar.xz"
-SRC_URI_append = " git://git.gitorious.org/bluez/vudentzs-clone.git;protocol=http;branch=for-upstream"
-SRCREV = "f76472e7983e52580afbf3a47f2f2e29e26514b9"
+# we copy the EXTRA_OECONF from Poky's bluez5.inc, fix the following QA issue
+# on the way and enable the Service API (--enable-service) option.
+# WARNING: QA Issue: bluez5: configure was passed unrecognised options:
+# --with-systemdunitdir [unknown-configure-option]
+# Note: this is an issue only with the Poky "dizzy" branch and should be
+# removed in case of future/later Poky versions.
+# Poky rev: 419a37e09565a820fdeb2d49104cc27f6720af5a
+EXTRA_OECONF = "\
+ --enable-tools \
+ --disable-cups \
+ --enable-test \
+ --enable-datafiles \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-systemd', '--disable-systemd', d)} \
+ --enable-library \
+ --enable-service \
+"
-S = "${WORKDIR}/git"
+PACKAGES =+ " libbluetooth-plugins-service "
+FILES_libbluetooth-plugins-service = "${libdir}/bluetooth/plugins/*.so"