Mesa needs libva to enable VAAPI state tracker and drivers. libva needs Mesa to enable its GLX part.
This is a circular dependency that can be solved by introducing a new libva recipe variant that doesn't enable GLX. Actually, the presence of Mesa/OpenGL headers is autodetected in libva so it's enough to leave out Mesa from DEPENDS in the new libva recipe variant. With magic already existing in sstate.bbclass and staging.bbclass, naming the new libva recipe variant "libva-initial" avoids an error for every other recipe that pulls in libva as dependency, including libva-utils and intel-vaapi-driver. The error (if not naming the recipe as "*-initial") is that the prepare-sysroot phase of a package would pull in the files rom both libva build variants that would obviously install identical files. Enabling the VDPAU state tracker and libraries is trivial, it was just missing from the recipe. [PATCH v2 1/4] libva: Factor out base parts into an include file [PATCH v2 2/4] libva-initial: New bootstrap recipe [PATCH v2 3/4] mesa: Add PACKAGECONFIG knob to enable VAAPI [PATCH v2 4/4] mesa: Add PACKAGECONFIG knob to enable VDPAU state Signed-off-by: Böszörményi Zoltán <[email protected]> -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
