[oe-commits] Sebastian Spaeth : shr-splash, shr-splash-theme: Make PREFERRED_PROVIDER work by tweaking R|PROVIDES and DEPENDS

git version control git at git.openembedded.org
Mon Dec 7 13:50:30 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 566a0285b244e019f92e358a5e4e2c7733a514e6
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=566a0285b244e019f92e358a5e4e2c7733a514e6

Author: Sebastian Spaeth <Sebastian at SSpaeth.de>
Date:   Mon Dec  7 14:49:51 2009 +0100

shr-splash,shr-splash-theme: Make PREFERRED_PROVIDER work by tweaking R|PROVIDES and DEPENDS

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>

---

 recipes/shr/shr-splash-theme.inc |    3 ++-
 recipes/shr/shr-splash_git.bb    |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes/shr/shr-splash-theme.inc b/recipes/shr/shr-splash-theme.inc
index 50e62bc..3f1b4af 100644
--- a/recipes/shr/shr-splash-theme.inc
+++ b/recipes/shr/shr-splash-theme.inc
@@ -1,4 +1,5 @@
-RPROVIDES_${PN} = "virtual/shr-splash-theme"
+RPROVIDES = "virtual/shr-splash-theme"
+PROVIDES  = "virtual/shr-splash-theme"
 RDEPENDS += "shr-splash"
 
 inherit update-alternatives
diff --git a/recipes/shr/shr-splash_git.bb b/recipes/shr/shr-splash_git.bb
index 5053bef..5181dbf 100644
--- a/recipes/shr/shr-splash_git.bb
+++ b/recipes/shr/shr-splash_git.bb
@@ -3,8 +3,8 @@ SECTION = "x11/data"
 LICENSE = "MIT BSD"
 PV = "1.2+gitr${SRCREV}"
 PR = "r4"
-RRECOMMENDS_${PN} += "\
-	virtual/shr-splash-theme"
+DEPENDS = "virtual/shr-splash-theme"
+RRECOMMENDS = "virtual/shr-splash-theme"
 
 inherit update-rc.d
 





More information about the Openembedded-commits mailing list