diff options
Diffstat (limited to 'meta/recipes-gnome/librsvg/librsvg_2.18.2.bb')
-rw-r--r-- | meta/recipes-gnome/librsvg/librsvg_2.18.2.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.18.2.bb b/meta/recipes-gnome/librsvg/librsvg_2.18.2.bb new file mode 100644 index 0000000000..fb68c8ba70 --- /dev/null +++ b/meta/recipes-gnome/librsvg/librsvg_2.18.2.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "Library for rendering SVG files" | ||
2 | SECTION = "x11/utils" | ||
3 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" | ||
4 | LICENSE = "LGPL" | ||
5 | PR = "r3" | ||
6 | |||
7 | EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs" | ||
8 | |||
9 | inherit autotools pkgconfig gnome | ||
10 | |||
11 | PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg" | ||
12 | FILES_${PN} = "${libdir}/*.so.*" | ||
13 | FILES_rsvg = "${bindir}/rsvg \ | ||
14 | ${bindir}/rsvg-view \ | ||
15 | ${bindir}/rsvg-convert \ | ||
16 | ${datadir}/pixmaps/svg-viewer.svg" | ||
17 | FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so" | ||
18 | FILES_librsvg-gtk-dev += "${libdir}/gtk-2.0/*.*a \ | ||
19 | ${libdir}/gtk-2.0/*/loaders/*.*a \ | ||
20 | ${libdir}/gtk-2.0/*/engines/*.*a" | ||
21 | FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \ | ||
22 | ${libdir}/gtk-2.0/*/*/.debug" | ||
23 | |||
24 | pkg_postinst_librsvg-gtk() { | ||
25 | if [ "x$D" != "x" ]; then | ||
26 | exit 1 | ||
27 | fi | ||
28 | |||
29 | test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; } | ||
30 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor | ||
31 | } | ||