diff options
Diffstat (limited to 'meta/recipes-gnome/librsvg/librsvg_2.32.1.bb')
-rw-r--r-- | meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb new file mode 100644 index 0000000000..0281d8e324 --- /dev/null +++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | DESCRIPTION = "Library for rendering SVG files" | ||
2 | HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/librsvg/" | ||
3 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
4 | |||
5 | LICENSE = "LGPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
7 | file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6" | ||
8 | |||
9 | SECTION = "x11/utils" | ||
10 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" | ||
11 | |||
12 | PR = "r0" | ||
13 | |||
14 | inherit autotools pkgconfig gnome | ||
15 | |||
16 | EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disable-gnome-vfs" | ||
17 | |||
18 | SRC_URI += "file://doc_Makefile.patch" | ||
19 | |||
20 | SRC_URI[archive.md5sum] = "4b00d0fee130c936644892c152f42db7" | ||
21 | SRC_URI[archive.sha256sum] = "91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334" | ||
22 | |||
23 | do_configure_prepend () { | ||
24 | export GDK_PIXBUF_QUERYLOADERS="${libdir}/gtk-2.0/version/loaders" | ||
25 | echo "CLEANFILES=" > gtk-doc.make | ||
26 | } | ||
27 | |||
28 | PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg" | ||
29 | FILES_${PN} = "${libdir}/*.so.*" | ||
30 | FILES_rsvg = "${bindir}/rsvg \ | ||
31 | ${bindir}/rsvg-view \ | ||
32 | ${bindir}/rsvg-convert \ | ||
33 | ${datadir}/pixmaps/svg-viewer.svg" | ||
34 | FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so" | ||
35 | FILES_librsvg-gtk-dev += "${libdir}/gtk-2.0/*.*a \ | ||
36 | ${libdir}/gtk-2.0/*/loaders/*.*a \ | ||
37 | ${libdir}/gtk-2.0/*/engines/*.*a" | ||
38 | FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \ | ||
39 | ${libdir}/gtk-2.0/*/*/.debug" | ||
40 | |||
41 | pkg_postinst_librsvg-gtk() { | ||
42 | if [ "x$D" != "x" ]; then | ||
43 | exit 1 | ||
44 | fi | ||
45 | |||
46 | test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; } | ||
47 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor | ||
48 | } | ||