meta-digi-dey provides a recipe for an alternative graphical image called dey-image-webkit
.
This image is very similar to dey-image-qt
, but it includes WebKit packages instead of Qt packages.
The main WebKit packages included in dey-image-webkit
are:
-
wpewebkit, the WPE WebKit browser engine.
-
cog, a lightweight browser that uses the WPE WebKit internally.
-
connectcore-demo-example, a web application launched on boot to monitor and control your device. See Local ConnectCore demo.
The meta-digi-webkit layer is currently only compatible with XWayland-based images. Framebuffer-based images are not supported. |
To build the WebKit image:
$ bitbake dey-image-webkit
You can find the built images at <project_folder>/tmp/deploy/images/ccimx8mn-dvk/.
Include the WPE Qt plugin
WPE WebKit has an optional Qt plugin compatible with i.MX8 platforms that allows WebKit to be integrated into graphical Qt applications.
In meta-digi this plugin is disabled by default to avoid including Qt dependencies in dey-image-webkit
.
To include this plugin in your image, remove the following lines from meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_2.28.1.bbappend
:
diff --git a/meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_2.28.1.bbappend b/meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_2.28.1.bbappend
index 3bd4f21707bb..8e769e2920f4 100644
--- a/meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_2.28.1.bbappend
+++ b/meta-digi-dey/dynamic-layers/webkit/recipes-browser/wpewebkit/wpewebkit_2.28.1.bbappend
@@ -4,10 +4,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI_append_ccimx8x = " file://0001-Use-imxvideoconvert_g2d-plugin-in-gstreamer-pipeline.patch"
-# The Qt WPE plugin depends on libgbm, which isn't available for i.MX6
-# platforms. It also pulls in some fairly large Qt dependencies, so remove it.
-PACKAGECONFIG_remove = "qtwpe"
-
# We can't build the WebKit with fb images, so force wayland as a required
# distro feature.
inherit distro_features_check