Code Review
/
AGL
/
meta-agl-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add libnfc recipes.
[AGL/meta-agl-demo.git]
/
recipes-demo-hmi
/
navigation
/
navigation_git.bb
diff --git
a/recipes-demo-hmi/navigation/navigation_git.bb
b/recipes-demo-hmi/navigation/navigation_git.bb
index
bc62ef4
..
9215e55
100644
(file)
--- a/
recipes-demo-hmi/navigation/navigation_git.bb
+++ b/
recipes-demo-hmi/navigation/navigation_git.bb
@@
-15,15
+15,18
@@
DEPENDS = " \
RDEPENDS_${PN} = " flite openjtalk glib-2.0 freetype sqlite3 wayland zlib expat openssl \
wayland libdbus-c++ af-main "
RDEPENDS_${PN} = " flite openjtalk glib-2.0 freetype sqlite3 wayland zlib expat openssl \
wayland libdbus-c++ af-main "
-SRCREV="c6403c1147fa53cd6a638f738d270c5d3bb214cf"
+RDEPENDS_${PN} += " agl-service-navigation "
+
+
+SRCREV="051e504db0e30d3160d63ef67b0225227e5da94d"
SRC_URI="git://github.com/AGLExport/gpsnavi.git;branch=agl \
SRC_URI="git://github.com/AGLExport/gpsnavi.git;branch=agl \
- file://flite.in \
- file://jtalk.in \
file://download_mapdata_jp.sh \
file://download_mapdata_uk.sh \
file://download_mapdata_jp.sh \
file://download_mapdata_uk.sh \
- file://
0001-Makefile-compatible-aglwgt.patch
\
+ file://
org.agl.naviapi.conf
\
"
"
+RPROVIDES_${PN} = "virtual/navigation"
+
# To avoid C++ library link failure
SECURITY_CFLAGS = ""
# To avoid C++ library link failure
SECURITY_CFLAGS = ""
@@
-32,32
+35,16
@@
inherit aglwgt
S = "${WORKDIR}/git"
S = "${WORKDIR}/git"
-do_compile_prepend() {
- cp ${WORKDIR}/flite.in ${S}/
- cp ${WORKDIR}/jtalk.in ${S}/
-}
-
do_install_append() {
do_install_append() {
- # Attention: BUG: app ships native lib as part of platform
- # see SPEC-785 and SPEC-384
- # /start FIXME __________________
- cd ${B}
- oe_runmake 'DESTDIR=${D}' install
- rm ${D}/usr/bin/navi
- # /end FIXME ^^^^^^^^^^^^^^^^^^^
-
+# mapdata install scripts
install -d ${D}/usr/AGL/apps
install -d ${D}/usr/AGL/apps
- mkdir -p ${B}/package/
- mv ${B}/navigation.wgt ${B}/package/
install -m 0755 ${WORKDIR}/download_mapdata_jp.sh ${D}/usr/AGL/apps/
install -m 0755 ${WORKDIR}/download_mapdata_uk.sh ${D}/usr/AGL/apps/
install -m 0755 ${WORKDIR}/download_mapdata_jp.sh ${D}/usr/AGL/apps/
install -m 0755 ${WORKDIR}/download_mapdata_uk.sh ${D}/usr/AGL/apps/
+ install -d ${D}/etc/dbus-1/session.d/
+ install -m 0644 ${WORKDIR}/org.agl.naviapi.conf ${D}/etc/dbus-1/session.d/
+
install -d ${D}/var/mapdata
}
install -d ${D}/var/mapdata
}
-#it's Workaround
-EXTRA_WGT_POSTINSTALL = "\
- 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';\
-"
FILES_${PN} += " /usr/AGL/apps/*.sh /var/mapdata "
FILES_${PN} += " /usr/AGL/apps/*.sh /var/mapdata "