[oe] [meta-oe][PATCH v2] faac: fix S!=B failure

Paul Eggleton paul.eggleton at linux.intel.com
Thu May 22 08:16:05 UTC 2014


On Wednesday 21 May 2014 18:36:29 Andreas Oberritter wrote:
> Hello Matthieu,
> 
> On 21.05.2014 09:30, Matthieu Crapet wrote:
> > Also use ${BP} and ${BPN}.
> 
> What problem does this solve?
> 
> > Signed-off-by: Matthieu Crapet <Matthieu.Crapet at ingenico.com>
> > ---
> > 
> >  meta-multimedia/recipes-multimedia/faac/faac_1.28.bb | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/meta-multimedia/recipes-multimedia/faac/faac_1.28.bb
> > b/meta-multimedia/recipes-multimedia/faac/faac_1.28.bb index
> > c7dcdb9..d96c1a4 100644
> > --- a/meta-multimedia/recipes-multimedia/faac/faac_1.28.bb
> > +++ b/meta-multimedia/recipes-multimedia/faac/faac_1.28.bb
> > @@ -4,15 +4,15 @@ LICENSE = "LGPLv2+"
> > 
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
> >  
> >                      file://libfaac/coder.h;beginline=5;endline=17;md5=fa1
> >                      fd6a5fa8cdc877d63a12530d273e0"> 
> > -inherit autotools
> > +inherit autotools-brokensep
> > 
> > -SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${BPN}-${PV}.tar.gz \
> > +SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${BP}.tar.gz \
> > 
> >             file://build-fix.patch"
> >  
> >  SRC_URI[md5sum] = "80763728d392c7d789cde25614c878f6"
> >  SRC_URI[sha256sum] =
> >  "c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df"> 
> > -PACKAGES =+ "lib${PN} lib${PN}-dev"
> > +PACKAGES =+ "lib${BPN} lib${BPN}-dev"
> > 
> >  FILES_${PN} = " ${bindir}/faac "
> >  FILES_lib${PN} = " ${libdir}/libfaac.so.*"
> 
>               ^
> This differs from PACKAGES now.

Also, BPN should not generally be used in PACKAGES, or nativesdk packages will 
clash with target ones.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-devel mailing list