summaryrefslogtreecommitdiffstats
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-20 11:53:49 +0000
commiteae2dcd5742d9aaad743c7b9e954afe3605f4aec (patch)
tree27aa3b6072675a581e1ec7852875426b4e78f65c
parentefd120e71418bc1cf3431194f38adf6986d1956e (diff)
downloadpoky-eae2dcd5742d9aaad743c7b9e954afe3605f4aec.tar.gz
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. (From OE-Core rev: d62e9fe21a47f5b38278a9b12b73d617c29d3c4f) 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"
2 2
3DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk-icon-utils-native" 3DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk-icon-utils-native"
4 4
5PACKAGE_WRITE_DEPS += "gtk-icon-utils-native gdk-pixbuf-native"
6
5gtk_icon_cache_postinst() { 7gtk_icon_cache_postinst() {
6if [ "x$D" != "x" ]; then 8if [ "x$D" != "x" ]; then
7 $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \ 9 $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \