summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.32.1.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
index ea9456dff8..56c880042b 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
9SECTION = "x11/utils" 9SECTION = "x11/utils"
10DEPENDS = "gtk+ libcroco cairo libxml2 popt" 10DEPENDS = "gtk+ libcroco cairo libxml2 popt"
11 11
12PR = "r0" 12PR = "r2"
13 13
14inherit autotools pkgconfig gnome 14inherit autotools pkgconfig gnome
15 15
@@ -43,6 +43,12 @@ if [ "x$D" != "x" ]; then
43 exit 1 43 exit 1
44fi 44fi
45 45
46test -x ${bindir}/gdk-pixbuf-query-loaders && { GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders --update-cache ; } 46if [ -d ${libdir}/gtk-2.0/2.10.0/loaders ] ; then
47 export GDK_PIXBUF_MODULEDIR=${libdir}/gtk-2.0/2.10.0/loaders
48else
49 export GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
50fi
51
52test -x ${bindir}/gdk-pixbuf-query-loaders && gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
47test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor 53test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor
48} 54}