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

Alexander Kanavin alex.kanavin at gmail.com
Tue Feb 25 11:32:55 UTC 2020


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.

Alex

On Tue, 25 Feb 2020 at 12:19, Adrian Bunk <bunk at stusta.de> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200225/744ac9fe/attachment.html>


More information about the Openembedded-core mailing list