summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/poiapp_git.bb
blob: 45753660f7833e06bfa697b85e16de8754735621 (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
29
30
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 "