diff options
-rwxr-xr-x | recipes-demo-hmi/navigation/ondemandnavi/org.agl.naviapi.conf | 15 | ||||
-rwxr-xr-x | recipes-demo-hmi/navigation/ondemandnavi_git.bb | 36 |
2 files changed, 51 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/ondemandnavi/org.agl.naviapi.conf b/recipes-demo-hmi/navigation/ondemandnavi/org.agl.naviapi.conf new file mode 100755 index 000000000..7f4d85f0d --- /dev/null +++ b/recipes-demo-hmi/navigation/ondemandnavi/org.agl.naviapi.conf @@ -0,0 +1,15 @@ +<!DOCTYPE busconfig PUBLIC +"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy context="default"> + <!-- Allow everyone to talk to main service. We'll later add an agent to + only share the location if user allows it. --> + <allow send_interface="org.agl.naviapi"/> + </policy> + + <policy user="root"> + <!-- Allow root to own the name on the bus --> + <allow own="org.agl.naviapi"/> + </policy> +</busconfig> diff --git a/recipes-demo-hmi/navigation/ondemandnavi_git.bb b/recipes-demo-hmi/navigation/ondemandnavi_git.bb new file mode 100755 index 000000000..52fee0983 --- /dev/null +++ b/recipes-demo-hmi/navigation/ondemandnavi_git.bb @@ -0,0 +1,36 @@ +SUMMARY = "AGL Reference On Demand Navigation application." +DESCRIPTION = "This application provides the function of Navigation to AGL. " +HOMEPAGE = "https://github.com/YoshitoMomiyama/aglqtnavigation.git" +SECTION = "apps" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" + +inherit qmake5 aglwgt pkgconfig + +SRC_URI = "git://github.com/YoshitoMomiyama/aglqtnavigation.git;branch=master \ + file://org.agl.naviapi.conf \ + " +SRCREV = "a6930c2dff988e45e18f91a2368d829c08942b30" + +DEPENDS += " qtbase qtquickcontrols2 \ + qlibhomescreen \ + qlibwindowmanager \ + qtlocation qtaglextras \ + " + +RDEPENDS_${PN} += " qtlocation \ + flite openjtalk \ + " + +RPROVIDES_${PN} = "virtual/navigation" + +S = "${WORKDIR}/git" + +do_install_append() { + install -d ${D}/etc/dbus-1/session.d/ + install -m 0644 ${WORKDIR}/org.agl.naviapi.conf ${D}/etc/dbus-1/session.d/ +} + +PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" + |