From 2b68b08f47baf2fc2fa896dde0cc66297441b6b3 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 17 May 2013 18:48:55 +0100 Subject: librsvg: add sstate dependencies so that the SVG loader works at staging time Add additional dependencies so that when the sysroot is populated the gdk-pixbuf SVG module can be loaded. Signed-off-by: Ross Burton Signed-off-by: Saul Wold --- meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'meta/recipes-gnome') 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 \ PIXBUF_PACKAGES = "librsvg-gtk" PARALLEL_MAKE = "" -# ensure that the native gdk-pixbuf loaders cache is updated when we stage -# our svg loader -SSTATEPOSTINSTFUNCS_class_native += "librsvg_sstate_postinst" - -librsvg_sstate_postinst() { - if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] - then - 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 - fi -} +PIXBUFCACHE_SYSROOT_DEPS_append_class-native = " harfbuzz-native:do_populate_sysroot_setscene" -- cgit 1.2.3-korg