X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-ivi-common%2Frecipes-automotive%2Fautomotive-message-broker%2Fautomotive-message-broker_git.bb;h=06926e985070b4b5d29db0bd9275de2c60f5f0e7;hb=b9def0a12bd95a62dffed4536deb0d9c7ee5d7da;hp=b921b99c8dbd982a00e89352d6f93949c669c763;hpb=7017d4f847b2ce243540c5554dd72661a4a02865;p=AGL%2Fmeta-agl.git 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 index b921b99c8..06926e985 100644 --- 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 @@ -9,30 +9,50 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b42382de5d854b9bb598acf2e8827de3" inherit cmake systemd -PV = "0.12+git${SRCPV}" - -# The 'gpsd' cause conflict bluez4 and bluez5 because +# The 'gpsd' leads to a conflict between 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. +# select bluez4 only instead AGL Distro choose bluez5 at changeset 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 \ - " +RDEPENDS_${PN} = "python-misc python-json" + +PV = "0.14+git${SRCPV}" + +SRC_URI = "git://github.com/CogentEmbedded/automotive-message-broker.git;protocol=https;branch=master" +SRCREV = "58569fac42bb8b6e1ad208caef5db8a51befc87f" + +# The paches from 0001 to 0009 are from difference between +# hash:58569fac42bb8b6e1ad208caef5db8a51befc87f(main branch) and +# hash:8f761e02172544212915c82b7e8dd8d4dd1281a6(dev_0.14_2) +SRC_URI += " \ + file://0001-Improve-backward-compatibility-with-old-linaro-gcc.patch \ + file://0002-Fix-library-versioning.patch \ + file://0003-AmbSignalMapper-fix-can-interface-specification.patch \ + file://0004-cansocketbcm-Fix-reading-of-frames-in-case-of-RX_TIM.patch \ + file://0005-ambctl-remove-unnecessary-dependency-on-glib-introsp.patch \ + file://0006-cangen-Implement-basic-handling-of-RX_TIMEOUT.patch \ + file://0007-WORKAROUND-Allow-amb-qt-binding-to-work-in-case-of-m.patch \ + file://0008-Add-simple-Qt-QML-example.patch \ + file://0009-Add-Pressure-property-to-BrakeOperation.patch \ + file://0001-Fix-build-issues-while-bitbake-without-meta-qt5-laye.patch \ + file://ambd.service \ + " SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "ambd.service" S = "${WORKDIR}/git" +# 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