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=dee6f59809d98ca9bad472c7a042118c695ee550;hb=b5da3c56430f886e2e58e1e49e9ddeec38397650;hp=4873f12a06ba55cd1998716c03e0c166544c4da7;hpb=8fc3dc485d876f7e98b7ecc25650d7f011960e97;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 4873f12a0..dee6f5980 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 @@ -11,12 +11,12 @@ CMAKE_QT5_CLASS = "${@bb.utils.contains('BBFILE_COLLECTIONS','qt5-layer','cmake_ inherit cmake systemd ${CMAKE_QT5_CLASS} DEPENDS = "glib-2.0 util-linux sqlite3 boost json-c libtool" -RDEPENDS_${PN} = "python-misc python-json" +RDEPENDS_${PN} = "python-misc python-json python-curses" PACKAGECONFIG ??= " use_gps \ ${@bb.utils.contains('BBFILE_COLLECTIONS','qt5-layer','use_qt5','', d)} \ " -PACKAGECONFIG[use_gps] = "-Dgpsd_plugins=On,,gpsd" +PACKAGECONFIG[use_gps] = "-Dgpsnmea_plugin=On" PACKAGECONFIG[use_qt5] = "-Dqtmainloop=On -Dqt_bindings=On,,qtbase qtdeclarative" SYSTEMD_PACKAGES = "${PN}" @@ -30,9 +30,14 @@ 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 } FILES_${PN} += " ${systemd_unitdir}/ambd.service \