summaryrefslogtreecommitdiffstats
path: root/meta-agl-distro/conf/layer.conf
blob: 74527516af15dc3ffcbc4f70fb07587d015487ec (plain)
1
2
3
4
5
6
7
8
9
10
# We have a conf and classes directory, add to BBPATH
BBPATH =. "${LAYERDIR}:"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
            ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "agl-distro"
BBFILE_PATTERN_agl-distro = "^${LAYERDIR}/"
BBFILE_PRIORITY_agl-distro = "8"
Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
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() {
    install -d ${D}${libdir}/qt5/qml/execScript/
    install -m 0755 execScript/*.so ${D}${libdir}/qt5/qml/execScript/
    install -m 0644 ../git/execScript/qmldir ${D}${libdir}/qt5/qml/execScript/
}

FILES_${PN} += "${QML_LIBDIR}/execScript/libexecscriptplugin.so"
FILES_${PN} += "${QML_LIBDIR}/execScript/qmldir"
FILES_${PN}-dbg += "${QML_LIBDIR}/execScript/.debug"