[oe-commits] Koen Kooi : gtk-icon-cache: add hicolor-icon-theme to DEPENDS

git version control git at git.openembedded.org
Fri Aug 5 16:26:42 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Fri Aug  5 16:18:57 2011 +0200

gtk-icon-cache: add hicolor-icon-theme to DEPENDS

This fixes do_rootfs breaking because OE didn't resolve the RDEPENDS added with python

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/gtk-icon-cache.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index d9b5d1b..4142d0e 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -1,5 +1,7 @@
 FILES_${PN} += "${datadir}/icons/hicolor"
 
+DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']}"
+
 # This could run on the host as icon cache files are architecture independent,
 # but there is no gtk-update-icon-cache built natively.
 gtk_icon_cache_postinst() {





More information about the Openembedded-commits mailing list