diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 16:56:30 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-20 11:53:49 +0000 |
| commit | eae2dcd5742d9aaad743c7b9e954afe3605f4aec (patch) | |
| tree | 27aa3b6072675a581e1ec7852875426b4e78f65c /meta | |
| parent | efd120e71418bc1cf3431194f38adf6986d1956e (diff) | |
| download | poky-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>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 2 |
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 | ||
| 3 | DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk-icon-utils-native" | 3 | DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk-icon-utils-native" |
| 4 | 4 | ||
| 5 | PACKAGE_WRITE_DEPS += "gtk-icon-utils-native gdk-pixbuf-native" | ||
| 6 | |||
| 5 | gtk_icon_cache_postinst() { | 7 | gtk_icon_cache_postinst() { |
| 6 | if [ "x$D" != "x" ]; then | 8 | if [ "x$D" != "x" ]; then |
| 7 | $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \ | 9 | $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \ |
