[OE-core] [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary

Mike Crowe mac at mcrowe.com
Sat Jun 13 18:44:41 UTC 2015


pixbufcache_sstate_postinst expects to be able to call
gdk-pixbuf-query-loaders which may be linked against libjpeg.so.8 so we'd
better make sure jpeg-native is available in the sysroot.

Signed-off-by: Mike Crowe <mac at mcrowe.com>
---
 meta/classes/pixbufcache.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass
index 9e6ecc8..755a654 100644
--- a/meta/classes/pixbufcache.bbclass
+++ b/meta/classes/pixbufcache.bbclass
@@ -72,6 +72,7 @@ PIXBUFCACHE_SYSROOT_DEPS_class-native = "\
     glib-2.0-native:do_populate_sysroot_setscene libffi-native:do_populate_sysroot_setscene \
     libpng-native:do_populate_sysroot_setscene zlib-native:do_populate_sysroot_setscene \
     harfbuzz-native:do_populate_sysroot_setscene \
+    ${@bb.utils.contains('PACKAGECONFIG', 'jpeg', 'jpeg-native:do_populate_sysroot_setscene', '', d)} \
     "
 do_populate_sysroot_setscene[depends] += "${PIXBUFCACHE_SYSROOT_DEPS}"
 do_populate_sysroot[depends] += "${@d.getVar('PIXBUFCACHE_SYSROOT_DEPS', True).replace('_setscene','')}"
-- 
2.1.4



More information about the Openembedded-core mailing list