xref: /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt-kiosk-browser/qt-kiosk-browser_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Qt Kiosk Browser"
2DESCRIPTION = "Provides a simple but highly configurable browser for use on Kiosk devices"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
4LICENSE = "GPL-3.0-only"
5
6DEPENDS = "qtwebengine"
7python() {
8    if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
9        raise bb.parse.SkipRecipe('qtwebengine dependency requires meta-python2 to be present.')
10}
11
12SRC_URI = " \
13    git://github.com/OSSystems/qt-kiosk-browser;protocol=https;branch=master \
14    file://${BPN}.conf \
15"
16
17PV = "0.0+git${SRCPV}"
18SRCREV = "d42b7d9050b5445e2b9430022a46d5d583581631"
19
20S = "${WORKDIR}/git"
21
22inherit qmake5
23
24EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
25
26do_install:append() {
27    install -Dm 0644 ${WORKDIR}/${PN}.conf ${D}${sysconfdir}/${PN}.conf
28}
29
30RDEPENDS:${PN} += " \
31    liberation-fonts \
32    qtdeclarative-qmlplugins \
33    qtquickcontrols-qmlplugins \
34    qtvirtualkeyboard \
35    qtwebengine-qmlplugins \
36"
37COMPATIBLE_MACHINE = "(-)"
38COMPATIBLE_MACHINE:x86 = "(.*)"
39COMPATIBLE_MACHINE:x86-64 = "(.*)"
40COMPATIBLE_MACHINE:armv6 = "(.*)"
41COMPATIBLE_MACHINE:armv7a = "(.*)"
42COMPATIBLE_MACHINE:armv7ve = "(.*)"
43COMPATIBLE_MACHINE:aarch64 = "(.*)"
44