aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/librsvg
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-04-01 12:42:57 +0200
committerKoen Kooi <koen@openembedded.org>2010-04-01 12:42:57 +0200
commit03f62303cd8327c8803eb315dfa275b03f3bd833 (patch)
tree718da8cb123c764295e6014e0055a657c7f75f58 /recipes/librsvg
parentd6fd4ac21faf4e8aac340db2071a47147f98db5b (diff)
downloadopenembedded-03f62303cd8327c8803eb315dfa275b03f3bd833.tar.gz
openembedded-03f62303cd8327c8803eb315dfa275b03f3bd833.tar.bz2
openembedded-03f62303cd8327c8803eb315dfa275b03f3bd833.zip
librsvg: add 2.26.2
Diffstat (limited to 'recipes/librsvg')
-rw-r--r--recipes/librsvg/librsvg_2.26.2.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/librsvg/librsvg_2.26.2.bb b/recipes/librsvg/librsvg_2.26.2.bb
new file mode 100644
index 0000000000..118d9ef8ba
--- /dev/null
+++ b/recipes/librsvg/librsvg_2.26.2.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Library for rendering SVG files"
+SECTION = "x11/utils"
+DEPENDS = "bzip2 gtk+ libcroco cairo libart-lgpl libxml2 popt"
+LICENSE = "LGPL"
+
+inherit gnome
+
+SRC_URI[archive.md5sum] = "6bb1993f9180176e45d6084089f47aa8"
+SRC_URI[archive.sha256sum] = "e82fb920901e211a54cff5df88c327bedec8565b324e2f529f428f492361c60f"
+
+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
+}
+