diff options
author | Ross Burton <ross.burton@intel.com> | 2013-05-17 18:48:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-24 14:14:39 +0100 |
commit | fc7db057e4a575b930eb76ce079362c250539604 (patch) | |
tree | f1cdeed56d7130de7d4c2c58c744d900d3e15b00 /meta/recipes-gnome/librsvg | |
parent | b6212cf2f1e1b0b6af5a8f064e75a027642f3802 (diff) | |
download | poky-fc7db057e4a575b930eb76ce079362c250539604.tar.gz |
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.
(From OE-Core rev: 2b68b08f47baf2fc2fa896dde0cc66297441b6b3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/librsvg')
-rw-r--r-- | 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 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 \ | |||
54 | PIXBUF_PACKAGES = "librsvg-gtk" | 54 | PIXBUF_PACKAGES = "librsvg-gtk" |
55 | PARALLEL_MAKE = "" | 55 | PARALLEL_MAKE = "" |
56 | 56 | ||
57 | # ensure that the native gdk-pixbuf loaders cache is updated when we stage | 57 | PIXBUFCACHE_SYSROOT_DEPS_append_class-native = " harfbuzz-native:do_populate_sysroot_setscene" |
58 | # our svg loader | ||
59 | SSTATEPOSTINSTFUNCS_class_native += "librsvg_sstate_postinst" | ||
60 | |||
61 | librsvg_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 | } | ||