1 SUMMARY = "automotive message broker"
2 DESCRIPTION = "Automotive-message-broker abstracts the details of the network \
3 away from applications and provides a standard API for applications to easily \
4 get the required information"
6 HOMEPAGE = "https://github.com/otcshare/automotive-message-broker/wiki"
8 LIC_FILES_CHKSUM = "file://COPYING;md5=b42382de5d854b9bb598acf2e8827de3"
12 #DEPENDS = "glib-2.0 util-linux sqlite3 qtbase boost json-c libtool gpsd"
13 DEPENDS = "glib-2.0 util-linux sqlite3 boost json-c libtool gpsd"
14 RDEPENDS_${PN} = "python-misc python-json"
16 PV = "0.14+git${SRCPV}"
18 SRC_URI = "git://github.com/CogentEmbedded/automotive-message-broker.git;protocol=https;branch=master"
19 SRCREV = "58569fac42bb8b6e1ad208caef5db8a51befc87f"
21 # The paches from 0001 to 0009 are from difference between
22 # hash:58569fac42bb8b6e1ad208caef5db8a51befc87f(main branch) and
23 # hash:8f761e02172544212915c82b7e8dd8d4dd1281a6(dev_0.14_2)
25 file://0001-Improve-backward-compatibility-with-old-linaro-gcc.patch \
26 file://0002-Fix-library-versioning.patch \
27 file://0003-AmbSignalMapper-fix-can-interface-specification.patch \
28 file://0004-cansocketbcm-Fix-reading-of-frames-in-case-of-RX_TIM.patch \
29 file://0005-ambctl-remove-unnecessary-dependency-on-glib-introsp.patch \
30 file://0006-cangen-Implement-basic-handling-of-RX_TIMEOUT.patch \
31 file://0007-WORKAROUND-Allow-amb-qt-binding-to-work-in-case-of-m.patch \
32 file://0008-Add-simple-Qt-QML-example.patch \
33 file://0009-Add-Pressure-property-to-BrakeOperation.patch \
34 file://0001-Fix-build-issues-while-bitbake-without-meta-qt5-laye.patch \
38 SYSTEMD_PACKAGES = "${PN}"
39 SYSTEMD_SERVICE_${PN} = "ambd.service"
43 # amb detects icecc in cmake and would override the
44 # compiler selection of yocto. This breaks the build
45 # if icecc is installed on the host.
46 # -> Disable the detection in cmake.
47 EXTRA_OECMAKE += " -Denable_icecc=OFF -Dgpsd_plugin=ON"
50 mv ${D}/usr/include/amb/* ${D}/usr/include
52 install -d ${D}${systemd_unitdir}/system/
53 install -m 0644 ${WORKDIR}/ambd.service ${D}${systemd_unitdir}/system
56 FILES_${PN} += "${systemd_unitdir}/ambd.service"