Only the package with the icons needs it

Signed-off-by: Koen Kooi <k...@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


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to