]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk-icon-cache: Add PACKAGE_WRITE_DEPS for postinst
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 16:56:30 +0000 (16:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:50:16 +0000 (22:50 +0000)
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>
meta/classes/gtk-icon-cache.bbclass

index c5d8d7cfed7600f8f684d66418aa4b4f9cbc03f9..d87167aec097acb99eef6fe5f0477e3792c9b5af 100644 (file)
@@ -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} \