diff options
author | Ross Burton <ross@openedhand.com> | 2008-08-19 15:18:55 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-08-19 15:18:55 +0000 |
commit | 893b35429625b9e986278644438961e4eaeb612f (patch) | |
tree | 46d233e814b61419a0d89ab267908eb8b5a0d4c6 /meta/packages/librsvg | |
parent | 23d43ca24af604b79b639f01f733d2759f485ac2 (diff) | |
download | poky-893b35429625b9e986278644438961e4eaeb612f.tar.gz |
librsvg: update the loader database when installing the svg loader
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5071 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/librsvg')
-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 fa02a25d57..c33dca155f 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" | |||
2 | SECTION = "x11/utils" | 2 | SECTION = "x11/utils" |
3 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" | 3 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" |
4 | LICENSE = "LGPL" | 4 | LICENSE = "LGPL" |
5 | PR = "r2" | 5 | PR = "r3" |
6 | 6 | ||
7 | EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs" | 7 | EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs" |
8 | 8 | ||
@@ -24,3 +24,12 @@ FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \ | |||
24 | do_stage() { | 24 | do_stage() { |
25 | autotools_stage_all | 25 | autotools_stage_all |
26 | } | 26 | } |
27 | |||
28 | pkg_postinst_librsvg-gtk() { | ||
29 | if [ "x$D" != "x" ]; then | ||
30 | exit 1 | ||
31 | fi | ||
32 | |||
33 | test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; } | ||
34 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor | ||
35 | } | ||