[oe-commits] Ross Burton : librsvg: add sstate dependencies so that the SVG loader works at staging time
git at git.openembedded.org
git at git.openembedded.org
Fri May 24 13:09:25 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 2b68b08f47baf2fc2fa896dde0cc66297441b6b3
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2b68b08f47baf2fc2fa896dde0cc66297441b6b3
Author: Ross Burton <ross.burton at intel.com>
Date: Fri May 17 18:48:55 2013 +0100
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 <ross.burton at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 11 +----------
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 28d3756..3a00369 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"
More information about the Openembedded-commits
mailing list