From e8b0dc607cff90d8a66d6172a3501698bd71ffa1 Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Thu, 22 Dec 2016 21:28:35 +0900 Subject: Add POI application This patch adds a POI application to the AGL Distro. This patch includes provisional bug avoidance. Change-Id: Ib32b896428ac4a64d9a2c815cdeb6ab8c40d6c59 Signed-off-by: Naoto Yamaguchi --- recipes-demo-hmi/navigation/poiapp/config.xml | 12 +++++++++ .../navigation/poiapp/installNaviApps.sh | 6 +++++ recipes-demo-hmi/navigation/poiapp_git.bb | 31 ++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 recipes-demo-hmi/navigation/poiapp/config.xml create mode 100644 recipes-demo-hmi/navigation/poiapp/installNaviApps.sh create mode 100644 recipes-demo-hmi/navigation/poiapp_git.bb (limited to 'recipes-demo-hmi/navigation') diff --git a/recipes-demo-hmi/navigation/poiapp/config.xml b/recipes-demo-hmi/navigation/poiapp/config.xml new file mode 100644 index 000000000..2f387db60 --- /dev/null +++ b/recipes-demo-hmi/navigation/poiapp/config.xml @@ -0,0 +1,12 @@ + + + POI + + + POI App + AISIN AW + + + + GPL + diff --git a/recipes-demo-hmi/navigation/poiapp/installNaviApps.sh b/recipes-demo-hmi/navigation/poiapp/installNaviApps.sh new file mode 100644 index 000000000..50f27d69a --- /dev/null +++ b/recipes-demo-hmi/navigation/poiapp/installNaviApps.sh @@ -0,0 +1,6 @@ +#!/bin/sh +/usr/bin/afm-util install poi.wgt + +#it's Workaround +cyad -s -k MANIFESTS -t allow -c User::App::navigation -u '*' -p 'http://tizen.org/privilege/internal/dbus' +cyad -s -k MANIFESTS -t allow -c User::App::poi -u '*' -p 'http://tizen.org/privilege/internal/dbus' 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 " -- cgit 1.2.3-korg