On 03/07/2013 09:00 PM, Burton, Ross wrote: > On 7 March 2013 12:57, Laurentiu Palcu <[email protected]> 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. I can create the egl.pc file, no problem. The problem is the egmd-driver-bin package bundles another 14 libraries, besides libEGL... We should write a .pc file for each, if we want to be thorough and conform to pkg-config guide: "Each file is best used to describe a single library, so each package should have at least as many pkg-config files as they do installed libraries".
However, I'm not familiar with all those libraries and I cannot guarantee the .pc files will be correct. If you only want the egl.pc file, no problem. Laurentiu > > Ross > _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
