summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruser <user@localhost.localdomain>2015-12-14 23:52:18 +0900
committerNobuhiko Tanibata <ntanibata@jp.adit-jv.com>2015-12-15 02:40:03 +0900
commitce79341254c09139c35fb7289eb329681fc562c2 (patch)
tree2a8f0c7b7b5872a7836acfe21f6992fcba06fba3
parenta6609d88d3822686ac538b774fb0a4ee545b4b9e (diff)
qml-execscript-plugin
This plugin support execution of script from QML. This is used for execution of LayerManagerControl to display Car Navigation on top of QML. This is temporary solution. Change-Id: I5825868d65e5712a4a76b3a09c231a20f2fdad66 Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
-rw-r--r--recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb b/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb
new file mode 100644
index 000000000..1f9dc6d05
--- /dev/null
+++ b/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Execute Script QML plugin"
+DESCRIPTION = "This provides a simple QML plugin able to execute script file."
+
+LICENSE = "CLOSED"
+
+DEPENDS = "qtbase-native qtdeclarative"
+
+SRC_URI = "git://github.com/ntanibata/qml-execscript-plugin.git;protocol=git;"
+SRCREV = "1f05c44cccd8aef485d8df8206c8df4e5ad6f310"
+S = "${WORKDIR}/git"
+
+inherit qmake5
+
+EXTRA_OECONF = "--with-moc-dir=${STAGING_BINDIR_NATIVE}/qt5"
+QML_LIBDIR = "${libdir}/qt5/qml"
+
+do_install() {
+ mkdir -p ${D}/usr/lib/qt5/qml/execScript/
+ cp execScript/*.so ${D}/usr/lib/qt5/qml/execScript/
+ cp ../git/execScript/qmldir ${D}/usr/lib/qt5/qml/execScript/
+}
+
+FILES_${PN} += "${QML_LIBDIR}/execScript/libexecscriptplugin.so"
+FILES_${PN} += "${QML_LIBDIR}/execScript/qmldir"
+FILES_${PN}-dbg += "${QML_LIBDIR}/execScript/.debug"