summaryrefslogtreecommitdiff
path: root/packages/librsvg/librsvg_2.16.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/librsvg/librsvg_2.16.1.bb')
-rw-r--r--packages/librsvg/librsvg_2.16.1.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/librsvg/librsvg_2.16.1.bb b/packages/librsvg/librsvg_2.16.1.bb
index 273992de29..c7154e7157 100644
--- a/packages/librsvg/librsvg_2.16.1.bb
+++ b/packages/librsvg/librsvg_2.16.1.bb
@@ -3,7 +3,7 @@ SECTION = "x11/utils"
DEPENDS = "gtk+ libcroco cairo libart-lgpl libxml2 popt"
LICENSE = "LGPL"
-PR = "r1"
+PR = "r2"
inherit autotools pkgconfig gnome
@@ -24,6 +24,13 @@ FILES_librsvg-gtk-dev += "${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
}