[OE-core] [PATCH] gtk-icon-cache: add hicolor-icon-theme to DEPENDS

Koen Kooi koen at dominion.thruhere.net
Fri Aug 5 14:18:57 UTC 2011


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>
---
 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 4981aec..8436cd3 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() {
-- 
1.6.6.1





More information about the Openembedded-core mailing list