summaryrefslogtreecommitdiffstats
path: root/package/package.pro
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-18 12:05:31 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2016-12-18 12:05:31 +0000
commiteef33ace11e938cc0b8e3170ea0bd89292965a6d (patch)
tree0f7bf2e82485f4596572993293f854f418919c43 /package/package.pro
parent4070906d15818ed8be754d810c3157761da189bb (diff)
parent9daba1c3bc1cb1ae68486a7aa34f734e54748403 (diff)
Merge "move MediaPlayer from CES2017"
Diffstat (limited to 'package/package.pro')
-rw-r--r--package/package.pro19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/package.pro b/package/package.pro
new file mode 100644
index 0000000..47996f5
--- /dev/null
+++ b/package/package.pro
@@ -0,0 +1,19 @@
+
+DISTFILES = icon.svg config.xml
+
+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
+
+wgt.target = package
+wgt.commands = wgtpkg-pack -f -o mediaplayer.wgt root
+
+QMAKE_EXTRA_TARGETS += wgt