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