diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/librsvg/librsvg_2.18.2.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/packages/librsvg/librsvg_2.18.2.bb b/meta/packages/librsvg/librsvg_2.18.2.bb index fa02a25d5..c33dca155 100644 --- a/meta/packages/librsvg/librsvg_2.18.2.bb +++ b/meta/packages/librsvg/librsvg_2.18.2.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Library for rendering SVG files" SECTION = "x11/utils" DEPENDS = "gtk+ libcroco cairo libxml2 popt" LICENSE = "LGPL" -PR = "r2" +PR = "r3" EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs" @@ -24,3 +24,12 @@ FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \ do_stage() { autotools_stage_all } + +pkg_postinst_librsvg-gtk() { +if [ "x$D" != "x" ]; then + exit 1 +fi + +test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; } +test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor +} |