aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/poiapp_git.bb
blob: 02a0fa0d4a7c829f47c621eb2ff9b60b2010c509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 \
"

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/apps
   install -m 0644 ${WORKDIR}/widget/poi.wgt ${D}/usr/AGL/apps/
}

FILES_${PN} += " /usr/AGL/apps/poi.wgt "