summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/config.xml20
-rw-r--r--package/package.pro41
2 files changed, 5 insertions, 56 deletions
diff --git a/package/config.xml b/package/config.xml
deleted file mode 100644
index b1fbd40..0000000
--- a/package/config.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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="navigation" 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"/>
- <param name="urn:AGL:permission::public:display" value="required" />
- <param name="urn:AGL:permission::public:audio" value="required" />
- </feature>
-</widget>
-
-
diff --git a/package/package.pro b/package/package.pro
index 59830c4..7c5df89 100644
--- a/package/package.pro
+++ b/package/package.pro
@@ -1,38 +1,7 @@
+TARGET =
-DISTFILES = icon.svg config.xml \
- jtalk \
- flite
+scripts.path = $${PREFIX}/usr/bin
+scripts.files += $${_PRO_FILE_PWD_}/flite $${_PRO_FILE_PWD_}/jtalk
+scripts.CONFIG = executable
-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_TYPE =
-CONFIG(debug, debug|release) {
- WGT_TYPE = -debug
-}
-
-wgt.target = package
-wgt.commands = wgtpkg-pack -f -o navigation$${WGT_TYPE}.wgt root
-
-QMAKE_EXTRA_TARGETS += wgt
+INSTALLS += scripts