diff options
Diffstat (limited to 'meta/recipes-gnome/librsvg/librsvg_2.32.1.bb')
-rw-r--r-- | meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 10 |
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 \ | |||
9 | SECTION = "x11/utils" | 9 | SECTION = "x11/utils" |
10 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" | 10 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" |
11 | 11 | ||
12 | PR = "r0" | 12 | PR = "r2" |
13 | 13 | ||
14 | inherit autotools pkgconfig gnome | 14 | inherit autotools pkgconfig gnome |
15 | 15 | ||
@@ -43,6 +43,12 @@ if [ "x$D" != "x" ]; then | |||
43 | exit 1 | 43 | exit 1 |
44 | fi | 44 | fi |
45 | 45 | ||
46 | test -x ${bindir}/gdk-pixbuf-query-loaders && { GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders --update-cache ; } | 46 | if [ -d ${libdir}/gtk-2.0/2.10.0/loaders ] ; then |
47 | export GDK_PIXBUF_MODULEDIR=${libdir}/gtk-2.0/2.10.0/loaders | ||
48 | else | ||
49 | export GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders | ||
50 | fi | ||
51 | |||
52 | test -x ${bindir}/gdk-pixbuf-query-loaders && gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders | ||
47 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor | 53 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor |
48 | } | 54 | } |