]> code.ossystems Code Review - openembedded-core.git/commitdiff
librsvg: add sstate dependencies so that the SVG loader works at staging time
authorRoss Burton <ross.burton@intel.com>
Fri, 17 May 2013 17:48:55 +0000 (18:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 May 2013 13:06:59 +0000 (14:06 +0100)
Add additional dependencies so that when the sysroot is populated the gdk-pixbuf
SVG module can be loaded.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb

index 28d37563206b19574c31ba077f37e1d47332074c..3a00369cc076ddc9dde4772d23b12a6083ca2456 100644 (file)
@@ -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"