aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rwxr-xr-xpackage/config.xml19
-rwxr-xr-xpackage/flite5
-rwxr-xr-xpackage/icon.svg0
-rwxr-xr-xpackage/jtalk6
-rwxr-xr-xpackage/package.pro33
5 files changed, 63 insertions, 0 deletions
diff --git a/package/config.xml b/package/config.xml
new file mode 100755
index 0000000..ae5c1f6
--- /dev/null
+++ b/package/config.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" id="navigation" version="0.1">
+ <name>navigation</name>
+ <icon src="icon.svg"/>
+ <content src="bin/navigation" type="application/vnd.agl.native"/>
+ <description>This is a demo navigation application</description>
+ <author>Qt</author>
+ <license>APL 2.0</license>
+ <feature name="urn:AGL:widget:required-api">
+ <param name="windowmanager" value="ws"/>
+ <param name="homescreen" value="ws"/>
+ </feature>
+ <feature name="urn:AGL:widget:required-permission">
+ <param name="urn:AGL:permission::public:no-htdocs" value="required"/>
+ <param name="http://tizen.org/privilege/internal/dbus" value="required"/>
+ </feature>
+</widget>
+
+
diff --git a/package/flite b/package/flite
new file mode 100755
index 0000000..4c17b80
--- /dev/null
+++ b/package/flite
@@ -0,0 +1,5 @@
+#!/bin/sh
+TMP=/tmp/navi.wav
+echo "$1" | flite_hts_engine -m /usr/share/Voice/us/cmu_us_arctic_slt.htsvoice -o $TMP
+4a-play $TMP hw:0,0,3 navigation
+
diff --git a/package/icon.svg b/package/icon.svg
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/package/icon.svg
diff --git a/package/jtalk b/package/jtalk
new file mode 100755
index 0000000..ed82281
--- /dev/null
+++ b/package/jtalk
@@ -0,0 +1,6 @@
+#!/bin/sh
+TMP=/tmp/navi.wav
+echo "$1" | open_jtalk -ow $TMP -m /usr/share/Voice/mei/mei_normal.htsvoice -x /usr/share/dic/
+4a-play $TMP hw:0,0,3 navigation
+
+
diff --git a/package/package.pro b/package/package.pro
new file mode 100755
index 0000000..a507a4f
--- /dev/null
+++ b/package/package.pro
@@ -0,0 +1,33 @@
+
+DISTFILES = icon.svg config.xml \
+ jtalk \
+ flite
+
+copy_icon.target = $$OUT_PWD/root/icon.svg
+copy_icon.depends = $$_PRO_FILE_PWD_/icon.svg
+copy_icon.commands = $(COPY_FILE) \"$$replace(copy_icon.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_icon.target, /, $$QMAKE_DIR_SEP)\"
+QMAKE_EXTRA_TARGETS += copy_icon
+PRE_TARGETDEPS += $$copy_icon.target
+
+copy_config.target = $$OUT_PWD/root/config.xml
+copy_config.depends = $$_PRO_FILE_PWD_/config.xml
+copy_config.commands = $(COPY_FILE) \"$$replace(copy_config.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_config.target, /, $$QMAKE_DIR_SEP)\"
+QMAKE_EXTRA_TARGETS += copy_config
+PRE_TARGETDEPS += $$copy_config.target
+
+copy_jtalk.target = $$OUT_PWD/root/bin/jtalk
+copy_jtalk.depends = $$_PRO_FILE_PWD_/jtalk
+copy_jtalk.commands = $(COPY_FILE) \"$$replace(copy_jtalk.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_jtalk.target, /, $$QMAKE_DIR_SEP)\"
+QMAKE_EXTRA_TARGETS += copy_jtalk
+PRE_TARGETDEPS += $$copy_jtalk.target
+
+copy_flite.target = $$OUT_PWD/root/bin/flite
+copy_flite.depends = $$_PRO_FILE_PWD_/flite
+copy_flite.commands = $(COPY_FILE) \"$$replace(copy_flite.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_flite.target, /, $$QMAKE_DIR_SEP)\"
+QMAKE_EXTRA_TARGETS += copy_flite
+PRE_TARGETDEPS += $$copy_flite.target
+
+wgt.target = package
+wgt.commands = wgtpkg-pack -f -o navigation.wgt root
+
+QMAKE_EXTRA_TARGETS += wgt