diff options
author | Scott Murray <scott.murray@konsulko.com> | 2019-07-24 12:09:40 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2019-07-24 12:09:40 -0400 |
commit | 1f875de1d513c733550401ee40fa289fb2acb57e (patch) | |
tree | 9e6764cd4de63021285435e956f260b295cdbd7b /package | |
parent | 33258140525123d6a38900811c2df3e14f4e8337 (diff) |
Initial import from github
Import from http://github.com/YoshitoMomiyama/aglqtnavigation.git as
of commit a6930c2, with the following minor changes:
- .gitignore tweaked to remove itself
- .gitreview updated
Bug-AGL: SPEC-2667
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I91fed0f6349bf1952e41132058929b70a2b0fe5b
Diffstat (limited to 'package')
-rwxr-xr-x | package/config.xml | 19 | ||||
-rwxr-xr-x | package/flite | 5 | ||||
-rwxr-xr-x | package/icon.svg | 0 | ||||
-rwxr-xr-x | package/jtalk | 6 | ||||
-rwxr-xr-x | package/package.pro | 33 |
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 |