<div dir="ltr">I would probably look into how REQUIRED_DISTRO_FEATURE/ANY_OF_DISTRO_FEATURS is actually implemented, and see if you can convince it to do the right thing, or maybe write a custom re-implementation.<div><br></div><div>Alex</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 25 Feb 2020 at 12:19, Adrian Bunk <<a href="mailto:bunk@stusta.de">bunk@stusta.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Mon, Feb 24, 2020 at 10:45:33PM +0100, Alexander Kanavin wrote:<br>
> On Mon, 24 Feb 2020 at 15:08, Adrian Bunk <<a href="mailto:bunk@stusta.de" target="_blank">bunk@stusta.de</a>> wrote:<br>
> <br>
> > Alexander, wayland support in webkitgtk requires mesa built with x11<br>
> > support (otherwise gl.pc is not available).<br>
> <br>
> I had a look; I'm not sure I understood the options correctly, but the<br>
> issue is due to this:<br>
> <br>
> ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl<br>
> opengl', '' ,d)} \<br>
> <br>
> The above works if both opengl and x11 are enabled as DISTRO_FEATURES, but<br>
> if x11 is not enabled, then it should be "webgl gles2". Can you try that?<br>
<br>
Thanks, that did the trick.<br>
<br>
Expressing everything might still be problematic, is there a way to set<br>
REQUIRED_DISTRO_FEATURES to<br>
x11 || (wayland && opengl)<br>
?<br>
<br>
Using webkitgtk with x11 without opengl might not be common,<br>
but it is explicitly supported upstream.<br>
<br>
> Alex<br>
<br>
cu<br>
Adrian<br>
</blockquote></div>