summaryrefslogtreecommitdiffstats
path: root/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-01-18 14:31:49 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-01-18 21:54:28 +0000
commit36086bd8afb8442829460a9e60b8314d45bf9bdf (patch)
treeaffb2014ba9e0748f029d7e774e46a0ff2363e11 /meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
parentf52affa58726058ee5245593975932506aae4c44 (diff)
Left behind AMB parts.
Automotive packagegroup recipe kept, but empty. Future specific automotive packages may be added later. Change-Id: Iebfea2a0f0671c3fa3e03a5d96dd1eeb0453eaf0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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.bb61
1 files changed, 0 insertions, 61 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
deleted file mode 100644
index fb1cb774f..000000000
--- a/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
+++ /dev/null
@@ -1,61 +0,0 @@
-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"
-
-require automotive-message-broker_git.inc
-
-CMAKE_QT5_CLASS = "${@bb.utils.contains('BBFILE_COLLECTIONS','qt5-layer','cmake_qt5','',d)}"
-inherit cmake systemd ${CMAKE_QT5_CLASS}
-
-DEPENDS = "glib-2.0 util-linux sqlite3 boost json-c libtool"
-RDEPENDS_${PN} = "python-misc python-json python-curses"
-
-PACKAGECONFIG ??= " use_gps \
- ${@bb.utils.contains('BBFILE_COLLECTIONS','qt5-layer','use_qt5','', d)} \
- "
-PACKAGECONFIG[use_gps] = "-Dgpsnmea_plugin=On"
-PACKAGECONFIG[use_qt5] = "-Dqtmainloop=On -Dqt_bindings=On,,qtbase qtdeclarative"
-
-SYSTEMD_PACKAGES = "${PN}"
-SYSTEMD_SERVICE_${PN} = "ambd.service"
-
-# amb detects icecc in cmake and would override the
-# compiler selection of yocto. This breaks the build
-# if icecc is installed on the host.
-# -> Disable the detection in cmake.
-EXTRA_OECMAKE += " -Denable_icecc=OFF"
-
-do_install_append() {
- mv ${D}/usr/include/amb/* ${D}/usr/include
- sed -i 's,/amb,,' ${D}${libdir}/pkgconfig/*.pc
-
- install -d ${D}${systemd_unitdir}/system/
- install -m 0644 ${WORKDIR}/ambd.service ${D}${systemd_unitdir}/system
-
- if [ "${@bb.utils.contains('PACKAGECONFIG', 'use_gps', 'use_gps', '', d)}" = "use_gps" ]; then
- install -m 0644 ${WORKDIR}/gps ${D}/${sysconfdir}/ambd/plugins.d
- fi
-
- # Grmbl - heck gotta fix library installations ?!? WTF !
- # GO FIX YOUR INSTALLATION ROUTINES PLEASE. ;) (jsmoeller)
- # HACK-ALARM:
- ls -alh ${D}${libdir}
- if test -e ${D}${libdir}/libamb-qt.so -a ! -L ${D}${libdir}/libamb-qt.so ; then
- mv ${D}${libdir}/libamb-qt.so ${D}${libdir}/libamb-qt.so.0
- ln -sf libamb-qt.so.0 ${D}${libdir}/libamb-qt.so
- fi
- if test -e ${D}${libdir}/libamb-plugins-common.so -a ! -L ${D}${libdir}/libamb-plugins-common.so ; then
- mv ${D}${libdir}/libamb-plugins-common.so ${D}${libdir}/libamb-plugins-common.so.0
- ln -sf libamb-plugins-common.so.0 ${D}${libdir}/libamb-plugins-common.so
- fi
-}
-
-FILES_${PN} += " ${systemd_unitdir}/ambd.service \
- ${@bb.utils.contains('BBFILE_COLLECTIONS','qt5-layer','${libdir}/qt5/qml/amb/','',d)} \
- "
-FILES_${PN}-dbg += " \
- ${@bb.utils.contains('BBFILE_COLLECTIONS', 'qt5-layer', '${libdir}/qt5/qml/amb/.debug', '', d)} \
- "