summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/poiapp_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo-hmi/navigation/poiapp_git.bb')
-rw-r--r--recipes-demo-hmi/navigation/poiapp_git.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/poiapp_git.bb b/recipes-demo-hmi/navigation/poiapp_git.bb
new file mode 100644
index 000000000..45753660f
--- /dev/null
+++ b/recipes-demo-hmi/navigation/poiapp_git.bb
@@ -0,0 +1,31 @@
+LICENSE="GPLv2"
+LIC_FILES_CHKSUM="file://LICENSE;md5=53633740548e7211116fc17bbe20aaf8"
+
+inherit cmake_qt5 pkgconfig
+
+DEPENDS += " qtbase libdbus-c++ json-c \
+ "
+
+SRCREV="4e09ab88d0d97c59896ba66bf08a8e006e2af81a"
+SRC_URI="git://github.com/AGLExport/genivi-navi-yelp-client.git;branch=new-layout \
+ file://config.xml \
+ file://installNaviApps.sh \
+"
+
+RDEPENDS_${PN} = " navigation "
+
+S = "${WORKDIR}/git"
+
+do_install_append() {
+ mkdir -p ${WORKDIR}/widget
+ install -m 0644 ${WORKDIR}/config.xml ${WORKDIR}/widget
+ install -m 0755 ${D}/usr/bin/yelp-client ${WORKDIR}/widget/poi
+ zip -ju ${WORKDIR}/widget/poi.wgt ${WORKDIR}/widget/poi ${WORKDIR}/widget/config.xml
+
+ install -d ${D}/usr/AGL/ces2017-demo
+ install -m 0644 ${WORKDIR}/widget/poi.wgt ${D}/usr/AGL/ces2017-demo/
+
+ install -m 0755 ${WORKDIR}/installNaviApps.sh ${D}/usr/AGL/ces2017-demo/
+}
+
+FILES_${PN} += " /usr/AGL/ces2017-demo/poi.wgt /usr/AGL/ces2017-demo/installNaviApps.sh "