summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/web-runtime/web-runtime_0.1.bb
blob: ea5acbbf7aafda375efc619ee3dad5cf98638c4f (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
26
27
28
29
30
31
32
33
34
35
36
37
inherit allarch

SUMMARY = "Provides the 'web-runtime' command"
DESCRIPTION = "The command 'web-runtime' is an abstraction that allows to "

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

SRC_URI = "\
    file://web-runtime;md5sum=2245be1e6029b30966f0842e3fee75ea \
    file://web-runtime.qml;md5sum=922aeae6d596d7c83af01abca266f0df \
    file://web-runtime-webkit.qml;md5sum=4daf9df39078634c27a7923d37e82e3d \
"

RDEPENDS_${PN} = "\
  qtdeclarative-tools \
  qtwayland-qmlplugins \
  qtquickcontrols-qmlplugins \
  qtwebengine \
  runxdg \
  bash \
"

PROVIDES += "virtual/webruntime"
# add also RPROVIDES to satisfy the packagegroup
RPROVIDES_${PN} += "virtual/webruntime"

do_configure() {
    :
}

do_install() {
    install -d ${D}${bindir}
    install -m 0755 ${WORKDIR}/web-runtime ${D}${bindir}/web-runtime
    install -m 0644 ${WORKDIR}/web-runtime.qml ${D}${bindir}/web-runtime.qml
    install -m 0644 ${WORKDIR}/web-runtime-webkit.qml ${D}${bindir}/web-runtime-webkit.qml
}