Patchwork libjpeg-turbo: Add RPROVIDES to fix errors when rdepending on jpeg

login
register
mail settings
Submitter Samuel Stirtzel
Date Aug. 24, 2012, 10:56 a.m.
Message ID <1345805787-6819-1-git-send-email-s.stirtzel@googlemail.com>
Download mbox | patch
Permalink /patch/35291/
State Superseded
Headers show

Comments

Samuel Stirtzel - Aug. 24, 2012, 10:56 a.m.
This fixes "ERROR: Multiple .bb files are due to be built which each provide jpeg"

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
---
 meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    1 +
 1 file changed, 1 insertion(+)
Samuel Stirtzel - Aug. 24, 2012, 10:58 a.m.
2012/8/24 Samuel Stirtzel <s.stirtzel@googlemail.com>:
> This fixes "ERROR: Multiple .bb files are due to be built which each provide jpeg"
>
> Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
> ---
>  meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> index dd81606..ec25874 100644
> --- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> +++ b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
> @@ -15,6 +15,7 @@ S = "${WORKDIR}/trunk"
>
>  # Drop-in replacement for jpeg
>  PROVIDES = "jpeg"
> +RPROVIDES_${PN} = "jpeg"
>
>  inherit autotools pkgconfig
>
> --
> 1.7.9.5
>

Seems like the meta-oe prefix got lost...? Will resend it.

Patch

diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
index dd81606..ec25874 100644
--- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
+++ b/meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb
@@ -15,6 +15,7 @@  S = "${WORKDIR}/trunk"
 
 # Drop-in replacement for jpeg
 PROVIDES = "jpeg"
+RPROVIDES_${PN} = "jpeg"
 
 inherit autotools pkgconfig