-
Notifications
You must be signed in to change notification settings - Fork 70
WPE
To build an image WPE we need to select which launcher and which wpebackend we will use.
Currently this layer includes recipes for two launchers:
-
Cog: Cog is a small launcher designed for the WebKit WPE port. But it also allows to use the WebKit GTK port instead. Cog is small: provides no user interface, and is suitable to be used as a Web application container. Cog may be presented fullscreen depending on the WPE backend being used.
-
dyz: dyz is a simple launcher for WPE port of WebKit. dyz is written in Lua and depends on LuaJIT. dyz depends on wpebackend-fdo (see below).
Currently this layer includes recipes for 3 wpebackends.
In order to select which backend we want to use in the image we select one of this 3 as the PREFERRED_PROVIDER_virtual/wpebackend
in conf/local.conf
and then we enable any non-default packageconfig option for it if required.
For example, for using the backend that displays WPE full-screen on the RPi framebuffer we will add to conf/local.conf
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-rdk"
PACKAGECONFIG_pn-wpebackend-rdk = "rpi"
IMAGE_INSTALL_append = " cog"
This is a summary of the current available options for the wpebackend selection.
-
wpebackend-fdo: WPE's backend based on a freedesktop.org stack where the view backend is implemented on the launcher.
-
wpebackend-rdk: Collection of backends for WPE with specific support for embedded devices used on the RDK. To select which one of the backends its enabled, there are different
PACKAGECONFIG
options inside the recipe. -
wpebackend-mesa: Backend for WPE for GPUs that work with Mesa drivers and GBM.