* enable it by default, because it's more likely that people were
  building libmatchbox after libpng than before
* with png disabled it also fails, because of missing csetjmp include
  | mbpixbuf.c:128:3: error: unknown type name 'jmp_buf'
  |    jmp_buf setjmp_buffer; /* for return to caller */

Signed-off-by: Martin Jansa <[email protected]>
---
 meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb 
b/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb
index 244a495..932e484 100644
--- a/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb
+++ b/meta/recipes-graphics/libmatchbox/libmatchbox_1.11.bb
@@ -16,4 +16,7 @@ SRC_URI[sha256sum] = 
"254cab52e304a3512c8df4be59d690cf3921bbb68a28ede7fe26b93534
 
 inherit autotools pkgconfig
 
+PACKAGECONFIG ??= "png"
+PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng"
+
 EXTRA_OECONF = "--enable-jpeg --enable-expat --enable-xsettings 
--enable-startup-notification"
-- 
1.8.3.2

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to