diff options
Diffstat (limited to 'recipes-qt/qt-kiosk-browser/qt-kiosk-browser_git.bb')
| -rw-r--r-- | recipes-qt/qt-kiosk-browser/qt-kiosk-browser_git.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-qt/qt-kiosk-browser/qt-kiosk-browser_git.bb b/recipes-qt/qt-kiosk-browser/qt-kiosk-browser_git.bb new file mode 100644 index 00000000..8ae0e9ef --- /dev/null +++ b/recipes-qt/qt-kiosk-browser/qt-kiosk-browser_git.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | SUMMARY = "Qt Kiosk Browser" | ||
| 2 | DESCRIPTION = "Provides a simple but highly configurable browser for use on Kiosk devices" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" | ||
| 4 | LICENSE = "GPLv3" | ||
| 5 | |||
| 6 | DEPENDS = "qtwebengine" | ||
| 7 | python() { | ||
| 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 | |||
| 12 | SRC_URI = " \ | ||
| 13 | git://github.com/OSSystems/qt-kiosk-browser;protocol=https \ | ||
| 14 | file://${BPN}.conf \ | ||
| 15 | " | ||
| 16 | |||
| 17 | PV = "0.0+git${SRCPV}" | ||
| 18 | SRCREV = "d42b7d9050b5445e2b9430022a46d5d583581631" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | inherit qmake5 | ||
| 23 | |||
| 24 | EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}" | ||
| 25 | |||
| 26 | do_install_append() { | ||
| 27 | install -Dm 0644 ${WORKDIR}/${PN}.conf ${D}${sysconfdir}/${PN}.conf | ||
| 28 | } | ||
| 29 | |||
| 30 | RDEPENDS_${PN} += " \ | ||
| 31 | liberation-fonts \ | ||
| 32 | qtdeclarative-qmlplugins \ | ||
| 33 | qtquickcontrols-qmlplugins \ | ||
| 34 | qtvirtualkeyboard \ | ||
| 35 | qtwebengine-qmlplugins \ | ||
| 36 | " | ||
| 37 | COMPATIBLE_MACHINE = "(-)" | ||
| 38 | COMPATIBLE_MACHINE_x86 = "(.*)" | ||
| 39 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | ||
| 40 | COMPATIBLE_MACHINE_armv6 = "(.*)" | ||
| 41 | COMPATIBLE_MACHINE_armv7a = "(.*)" | ||
| 42 | COMPATIBLE_MACHINE_armv7ve = "(.*)" | ||
| 43 | COMPATIBLE_MACHINE_aarch64 = "(.*)" | ||
