aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
diff options
context:
space:
mode:
authorNedeljko Miljevic <Nedeljko.Miljevic@windriver.com>2015-11-02 10:24:38 +0100
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-11-04 13:55:49 +0900
commit7017d4f847b2ce243540c5554dd72661a4a02865 (patch)
treeb1d7775ffc456639862d30b861127e5c40e0a9ed /meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
parentf793335f343758d4b662dab24e1537bf92ed9eaf (diff)
Added AMB (automotive-message-broker) to meta-ivi-common layer
v3:(Tadao Tanikawa) - Remove 'qtbase' from dependencies. v2:(Tadao Tanikawa) - Remove 'gpsd' dependency temporarily to complete bitbake without error. v1:(Nedeljko Miljevic) Change-Id: Ieebf982751486167482a303e53cd1ed834b55b3e Signed-off-by: Nedeljko Miljevic <nedeljko.miljevic@windriver.com> Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb')
-rw-r--r--meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb b/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
new file mode 100644
index 000000000..b921b99c8
--- /dev/null
+++ b/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
@@ -0,0 +1,43 @@
+SUMMARY = "automotive message broker"
+DESCRIPTION = "Automotive-message-broker abstracts the details of the network \
+away from applications and provides a standard API for applications to easily \
+get the required information"
+
+HOMEPAGE = "https://github.com/otcshare/automotive-message-broker/wiki"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b42382de5d854b9bb598acf2e8827de3"
+
+inherit cmake systemd
+
+PV = "0.12+git${SRCPV}"
+
+# The 'gpsd' cause conflict bluez4 and bluez5 because
+# meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.10.bb is able to
+# select bluez4 only instead AGL Distro choosed bluez5 at Changes 4141.
+# <https://gerrit.automotivelinux.org/gerrit/#/c/4141/>
+#
+# As temporary treatment, removing 'gpsd' from DEPENDS will let bitbake to build correctly.
+#
+#DEPENDS = "glib-2.0 util-linux sqlite3 qtbase boost json-c libtool gpsd"
+DEPENDS = "glib-2.0 util-linux sqlite3 boost json-c libtool"
+
+SRC_URI = "git://github.com/otcshare/automotive-message-broker.git"
+SRCREV = "ac3fe53327a13afc571efe079a31a0472ea285a3"
+
+SRC_URI += "file://amb_allow_sessionbus.patch \
+ file://ambd.service \
+ "
+
+SYSTEMD_PACKAGES = "${PN}"
+SYSTEMD_SERVICE_${PN} = "ambd.service"
+
+S = "${WORKDIR}/git"
+
+do_install_append() {
+ mv ${D}/usr/include/amb/* ${D}/usr/include
+
+ install -d ${D}${systemd_unitdir}/system/
+ install -m 0644 ${WORKDIR}/ambd.service ${D}${systemd_unitdir}/system
+}
+
+FILES_${PN} += "${systemd_unitdir}/ambd.service"