[oe] PREFERRED_PROVIDER and RDEPENDS

Maupin, Chase chase.maupin at ti.com
Mon Dec 6 15:47:53 UTC 2010


> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org
> [mailto:openembedded-devel-bounces at lists.openembedded.org] On Behalf Of
> Björn Krombholz
> Sent: Sunday, December 05, 2010 4:15 PM
> To: openembedded-devel at lists.openembedded.org
> Subject: [oe] PREFERRED_PROVIDER and RDEPENDS
> 
> qt4-x11-free and qt4-x11-free-gles both provide qt4-x11-free.
> 
> Setting
> 
> PREFERRED_PROVIDER_qt4-x11-free = "qt4-x11-free-gles"
> 
> works as expected. When you bitbake qt4-x11-free you will get the -gles
> variant.
> 
> On the other hand, when bitbaking task-qt4-x11 which RDEPENDS
> on qt4-x11-free it is trying to build qt4-x11-free.bb and not the -gles
> recipe.
> 
> Is this a general bug? Or would the correct way be adding something like
> RPROVIDES += "virtual/qt4-x11"
> to qt4-x11-free.inc and changing the RDEPENDS to the virtual package?

When I was doing something similar I added the following lines to my recipe:

RPROVIDES_${PN} = "qt4-embedded"
RPROVIDES_${PN}-dev = "qt4-embedded-dev"

This was for an embedded variant but I would image the same holds true for x11 (of course with a change to qt4-x11-free, etc)

> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list