summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/librsvg/librsvg_2.26.0.bb33
2 files changed, 37 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index d126e317ff..b41c71820f 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -14230,6 +14230,10 @@ sha256=ff30a5f1a99c61caebcdce9f59417b3f7a0dbed15c6786368f4a4a1d05c67eb1
md5=aae602677ce201b1a0ed6a0c18c207f2
sha256=2bfc1853ecdc545bf3767ed92c93b8796f2075f522c8eab1693c96f11d55a59e
+[http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.26/librsvg-2.26.0.tar.bz2]
+md5=65dbd726a514fe8b797d26254b8efc1e
+sha256=fdcab5f0d86198d8cbd4ffe5b333076f75e707f6d7e4af5e87a8644ff7533bea
+
[http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.6/librsvg-2.6.5.tar.bz2]
md5=2d1d16f9493c80ce8214e585727334ae
sha256=11b97cbc654e366adedc28a93e334d34d46365b09a3adb028449119ab67cd643
diff --git a/recipes/librsvg/librsvg_2.26.0.bb b/recipes/librsvg/librsvg_2.26.0.bb
new file mode 100644
index 0000000000..df238048fb
--- /dev/null
+++ b/recipes/librsvg/librsvg_2.26.0.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "Library for rendering SVG files"
+SECTION = "x11/utils"
+DEPENDS = "gtk+ libcroco cairo libart-lgpl libxml2 popt"
+LICENSE = "LGPL"
+
+inherit gnome
+
+EXTRA_OECONF = "--disable-mozilla-plugin"
+
+PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg"
+FILES_${PN} = "${libdir}/*.so.*"
+FILES_rsvg = "${bindir}/rsvg \
+ ${bindir}/rsvg-view \
+ ${bindir}/rsvg-convert \
+ ${datadir}/pixmaps/svg-viewer.svg"
+FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so"
+FILES_librsvg-gtk-dev += "${libdir}/gtk-2.0/*.la \
+ ${libdir}/gtk-2.0/*/*.la \
+ ${libdir}/gtk-2.0/*/*/*.la \
+ "
+FILES_librsvg-gtk-dbg += "${libdir}/gtk-2.0/.debug \
+ ${libdir}/gtk-2.0/*/*/.debug"
+
+pkg_postinst_librsvg-gtk() {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+ gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders
+}
+
+do_stage() {
+ autotools_stage_all
+}