> -----Original Message-----
> From: meta-intel-boun...@yoctoproject.org [mailto:meta-intel-
> boun...@yoctoproject.org] On Behalf Of Laurentiu Palcu
> Sent: Friday, March 08, 2013 12:58 AM
> To: Burton, Ross
> Cc: meta-intel@yoctoproject.org
> Subject: Re: [meta-intel] [PATCH 0/2] upgrade libva & libva-intel-driver
> 
> 
> 
> On 03/07/2013 09:00 PM, Burton, Ross wrote:
> > On 7 March 2013 12:57, Laurentiu Palcu <laurentiu.pa...@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.
> 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

Hi Laurentiu,
  You can create the patch for the affected libraries as Ross has mentioned in 
the other email on this thread.
If more .pc fixes are needed for EMGD, I will take look at that.

Thanks,
Nitin
> 
> >
> > Ross
> >
> _______________________________________________
> meta-intel mailing list
> meta-intel@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-intel
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to