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