summaryrefslogtreecommitdiff
path: root/packages/librsvg/librsvg_2.22.2.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-08-06 08:44:42 +0000
committerKoen Kooi <koen@openembedded.org>2008-08-06 08:44:42 +0000
commit0f3fb2b2ea6a6bcaf518e7e047c89e77dab3e385 (patch)
tree69a70a634391e19cc878f576e441dc447be85a4b /packages/librsvg/librsvg_2.22.2.bb
parente1e4e27bf6f695f07aceb19b4124ff1ea5ec2d78 (diff)
librsvg: add 2.22.2
Diffstat (limited to 'packages/librsvg/librsvg_2.22.2.bb')
-rw-r--r--packages/librsvg/librsvg_2.22.2.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/librsvg/librsvg_2.22.2.bb b/packages/librsvg/librsvg_2.22.2.bb
new file mode 100644
index 0000000000..2429b50552
--- /dev/null
+++ b/packages/librsvg/librsvg_2.22.2.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "Library for rendering SVG files"
+SECTION = "x11/utils"
+DEPENDS = "gtk+ libcroco cairo libart-lgpl libxml2 popt"
+LICENSE = "LGPL"
+
+inherit autotools pkgconfig 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
+}