summaryrefslogtreecommitdiff
path: root/packages/librsvg/librsvg_2.16.1.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-06-28 07:19:24 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-28 07:19:24 +0000
commit2b9f432fe53dda84362aae256a32b134a8a47d64 (patch)
tree8fb92bd2d2ed6c133b19fa8f655afaff89b2768f /packages/librsvg/librsvg_2.16.1.bb
parent14c74eb2a3859b0945d1c55acc42f837a596ad17 (diff)
librsvg: fix postinst, remove stale versions. Closes #1926
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
}