[OE-core] [PATCH] gtk-icon-cache bbclass: don't assing to global RDEPENDS
Koen Kooi
koen at dominion.thruhere.net
Fri Aug 5 17:35:57 UTC 2011
Only the package with the icons needs it
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta/classes/gtk-icon-cache.bbclass | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index 4142d0e..5d8ef34 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -37,9 +37,9 @@ python populate_packages_append () {
continue
bb.note("adding hicolor-icon-theme dependency to %s" % pkg)
- rdepends = bb.data.getVar('RDEPENDS', d, 1)
+ rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1)
rdepends += "hicolor-icon-theme"
- bb.data.setVar('RDEPENDS', rdepends, d)
+ bb.data.setVar('RDEPENDS_%s' % pkg, rdepends, d)
bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)
--
1.6.6.1
More information about the Openembedded-core
mailing list