diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-05-15 14:47:00 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-06-05 15:11:36 +0200 |
commit | b6852864508358930586e083e72cd2912af68674 (patch) | |
tree | 4029e33f00bbd0247524d03f7c1689672d85ef9b /recipes-graphics/web-runtime/web-runtime_0.1.bb | |
parent | fab778caff2041794814df54b51893965381aa66 (diff) |
3rd part of the layer/profile rework [2/2]
This is the last part of the layer rework series.
Notable changes are:
- move demo specific recipes to the demo (dlt, web-runtime mocca-usb)
- wayland-ivi-extension moved to the meta-agl-demo layer for now.
- web-runtime moved here (from appfw layer to allow console-only builds with appfw)
- adapted packagegroups and agl-features
v2: squashed with commit on sandbox to form single commit (tnx, Scott)
v3: inclusion of old packagegroup-agl-image-ivi (TODO: refactor and include in profile packagegroups. Tnx, Stephane)
v4: base packagegroup-agl-demo-platform on packagegroup-agl-profile-graphical-qt5
v5: fix MOST_DRIVERS_append (disable due to FTBS)
v6: re-add RDEPENDS for virtual/pulseaudio-config
Bug-AGL: SPEC-145
Bug-AGL: SPEC-1422
Change-Id: I20bd5b9a957ea54a7ecd08bd4f8b99a32266c9c8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-graphics/web-runtime/web-runtime_0.1.bb')
-rw-r--r-- | recipes-graphics/web-runtime/web-runtime_0.1.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-graphics/web-runtime/web-runtime_0.1.bb b/recipes-graphics/web-runtime/web-runtime_0.1.bb new file mode 100644 index 000000000..75077b696 --- /dev/null +++ b/recipes-graphics/web-runtime/web-runtime_0.1.bb @@ -0,0 +1,42 @@ +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 \ +" + +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 +} + +do_install_append_rcar-gen2() { + # workaround for porter board: force the use of libEGL provided by mesa at runtime + # otherwise, the proprietary libEGL is used and a problem then occurs due to a missing EGL function + sed -i 's|^\(exec /usr/bin/qt5/qmlscene\)|LD_PRELOAD=/usr/lib/libEGL.so \1|g' ${D}${bindir}/web-runtime +} + + |