Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary
@ 2015-06-13 18:44 Mike Crowe
  2015-06-13 18:46 ` Mike Crowe
  2015-06-23 15:12 ` Phil Blundell
  0 siblings, 2 replies; 7+ messages in thread
From: Mike Crowe @ 2015-06-13 18:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mike Crowe

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@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



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-23 18:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-13 18:44 [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary Mike Crowe
2015-06-13 18:46 ` Mike Crowe
2015-06-23 15:12 ` Phil Blundell
2015-06-23 15:20   ` Richard Purdie
2015-06-23 18:46     ` Mike Crowe
2015-06-23 15:25   ` Mike Crowe
2015-06-23 16:56     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox