]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk-icon-cache: add hicolor-icon-theme to DEPENDS
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 5 Aug 2011 14:18:57 +0000 (16:18 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Aug 2011 16:24:50 +0000 (17:24 +0100)
This fixes do_rootfs breaking because OE didn't resolve the RDEPENDS added with python

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gtk-icon-cache.bbclass

index d9b5d1bdd62ed700e5cb2fd26d24bc1c6df9488f..4142d0ed53e64694f26fe8e2df90bda67e41beaa 100644 (file)
@@ -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() {