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 <[email protected]> wrote: > On Mon, Feb 24, 2020 at 10:45:33PM +0100, Alexander Kanavin wrote: > > On Mon, 24 Feb 2020 at 15:08, Adrian Bunk <[email protected]> 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 >
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
