aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qml-execscript-plugin/qml-execscript-plugin_1.0.bb
blob: 1f9dc6d0500c776d8b1c42dd70ffb46f8bfc58b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"