summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-08-05 16:18:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-05 17:24:50 +0100
commitfbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2 (patch)
tree3c2e81a6d06af3c1956e2628fadd78d1e587a586 /meta/classes
parent4b5e8074f8aca59b09421db464ce652e84f898f2 (diff)
downloadopenembedded-core-fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2.tar.gz
openembedded-core-fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2.tar.bz2
openembedded-core-fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2.tar.xz
openembedded-core-fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2.zip
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@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/gtk-icon-cache.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index d9b5d1bdd..4142d0ed5 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() {