summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 16:56:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:50:16 +0000
commitd62e9fe21a47f5b38278a9b12b73d617c29d3c4f (patch)
tree9cdb8b57731120f01464a00651754b74a660ff92
parent8082c6aabf838a2cc5253d2bb1bd8867f2e1ba6a (diff)
downloadopenembedded-core-d62e9fe21a47f5b38278a9b12b73d617c29d3c4f.tar.gz
openembedded-core-d62e9fe21a47f5b38278a9b12b73d617c29d3c4f.tar.bz2
openembedded-core-d62e9fe21a47f5b38278a9b12b73d617c29d3c4f.zip
gtk-icon-cache: Add PACKAGE_WRITE_DEPS for postinst
gdk-pixbuf-native and gtk-icon-utils-native are needed by the postinstall scripts so mark the dependency. The utils may be needed at icon build time too so DEPENDS is unchanged. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 c5d8d7cfed..d87167aec0 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -2,6 +2,8 @@ FILES_${PN} += "${datadir}/icons/hicolor"
DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk-icon-utils-native"
+PACKAGE_WRITE_DEPS += "gtk-icon-utils-native gdk-pixbuf-native"
+
gtk_icon_cache_postinst() {
if [ "x$D" != "x" ]; then
$INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \