gtk-icon-cache bbclass: don't assing to global RDEPENDS

Only the package with the icons needs it

[Squashed laster RDEPENDS fix from koen into commit]
(From OE-Core rev: 34fca51d84d4629d82880aa0f47123db86de256b)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Koen Kooi 2011-08-05 19:35:57 +02:00 committed by Richard Purdie
parent 2a4de1ef1f
commit 4a5336d403
1 changed files with 3 additions and 3 deletions

View File

@ -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 += "hicolor-icon-theme"
bb.data.setVar('RDEPENDS', rdepends, d)
rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1)
rdepends += " hicolor-icon-theme"
bb.data.setVar('RDEPENDS_%s' % pkg, rdepends, d)
bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)