summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.32.1.bb11
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
index 28d3756320..3a00369cc0 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
@@ -54,13 +54,4 @@ FILES_librsvg-gtk-dbg += "${libdir}/gdk-pixbuf-2.0/.debug \
54PIXBUF_PACKAGES = "librsvg-gtk" 54PIXBUF_PACKAGES = "librsvg-gtk"
55PARALLEL_MAKE = "" 55PARALLEL_MAKE = ""
56 56
57# ensure that the native gdk-pixbuf loaders cache is updated when we stage 57PIXBUFCACHE_SYSROOT_DEPS_append_class-native = " harfbuzz-native:do_populate_sysroot_setscene"
58# our svg loader
59SSTATEPOSTINSTFUNCS_class_native += "librsvg_sstate_postinst"
60
61librsvg_sstate_postinst() {
62 if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
63 then
64 GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache gdk-pixbuf-query-loaders --update-cache
65 fi
66}