<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 &lt;<a href="mailto:bunk@stusta.de">bunk@stusta.de</a>&gt; 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>
&gt; On Mon, 24 Feb 2020 at 15:08, Adrian Bunk &lt;<a href="mailto:bunk@stusta.de" target="_blank">bunk@stusta.de</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; Alexander, wayland support in webkitgtk requires mesa built with x11<br>
&gt; &gt; support (otherwise gl.pc is not available).<br>
&gt; <br>
&gt; I had a look; I&#39;m not sure I understood the options correctly, but the<br>
&gt; issue is due to this:<br>
&gt; <br>
&gt;                    ${@bb.utils.contains(&#39;DISTRO_FEATURES&#39;, &#39;opengl&#39;, &#39;webgl<br>
&gt; opengl&#39;, &#39;&#39; ,d)} \<br>
&gt; <br>
&gt; The above works if both opengl and x11 are enabled as DISTRO_FEATURES, but<br>
&gt; if x11 is not enabled, then it should be &quot;webgl gles2&quot;. 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 &amp;&amp; opengl)<br>
?<br>
<br>
Using webkitgtk with x11 without opengl might not be common,<br>
but it is explicitly supported upstream.<br>
<br>
&gt; Alex<br>
<br>
cu<br>
Adrian<br>
</blockquote></div>