[meta-intel] [PATCH 0/2] upgrade libva & libva-intel-driver

Burton, Ross ross.burton at intel.com
Thu Mar 7 11:00:09 PST 2013


On 7 March 2013 12:57, Laurentiu Palcu <laurentiu.palcu at intel.com> wrote:
> Hmmm, it seems that libva-egl package is not built because, in the new
> version, the check for egl availability is done using pkg-config. And
> the emgd-driver-bin does not provide an egl.pc file...
>
> There are 4 solutions to this:
>  * make libva use the old method of detecting egl, so it builds libva-egl anyway;
>  * override pkg-config by providing EGL_CFLAGS and EGL_LIBS separately to configure.
>    I tested it and it worked fine adding the following snippet to libva recipe:
>
> do_configure_prepend () {
>         export EGL_CFLAGS="-I${STAGING_INCDIR}"
>         export EGL_LIBS="-L${STAGING_LIBDIR} -lEGL"
> }
>
>  * we talk with the egmd maintainers to include *.pc file in the package;
>  * we create the *.pc files ourselves;
>
> What do you guys think?

More than this will be looking for egl.pc, so create it ourselves in
the short term and talk to the EMGD guys so they add it for the long
term.

Ross



More information about the meta-intel mailing list