From: Koen Kooi Date: Fri, 5 Aug 2011 14:18:57 +0000 (+0200) Subject: gtk-icon-cache: add hicolor-icon-theme to DEPENDS X-Git-Tag: 2011-1~439 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index d9b5d1bdd6..4142d0ed53 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() {