[OE-core] [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements

Adrian Bunk bunk at stusta.de
Tue Feb 25 11:19:55 UTC 2020


On Mon, Feb 24, 2020 at 10:45:33PM +0100, Alexander Kanavin wrote:
> On Mon, 24 Feb 2020 at 15:08, Adrian Bunk <bunk at stusta.de> wrote:
> 
> > Alexander, wayland support in webkitgtk requires mesa built with x11
> > support (otherwise gl.pc is not available).
> 
> I had a look; I'm not sure I understood the options correctly, but the
> issue is due to this:
> 
>                    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl
> opengl', '' ,d)} \
> 
> The above works if both opengl and x11 are enabled as DISTRO_FEATURES, but
> if x11 is not enabled, then it should be "webgl gles2". Can you try that?

Thanks, that did the trick.

Expressing everything might still be problematic, is there a way to set
REQUIRED_DISTRO_FEATURES to
  x11 || (wayland && opengl)
?

Using webkitgtk with x11 without opengl might not be common,
but it is explicitly supported upstream.

> Alex

cu
Adrian


More information about the Openembedded-core mailing list