From patchwork Tue Apr 24 05:50:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] gdk-pixbuf: Add --with-x11 when building lsb image Date: Tue, 24 Apr 2012 05:50:19 -0000 From: Xiaofeng Yan X-Patchwork-Id: 26367 Message-Id: To: From: Xiaofeng Yan LSB Test Suite complain "no library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. For passing lsb test I add PACKAGECONFIG support to the recipe and \ have poky-lsb turn on the poky-lsb distro for this recipe. [YOCTO #2284] Signed-off-by: Xiaofeng Yan --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb index e31f717..33627a3 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb @@ -28,9 +28,10 @@ LIBV = "2.10.0" EXTRA_OECONF = "\ --without-libtiff \ --with-libpng \ - --without-x11 \ --disable-introspection \ " +PACKAGECONFIG ??= "${@base_contains('DISTRO', 'poky-lsb', 'poky-lsb', '', d)}" +PACKAGECONFIG[poky-lsb] = "--with-x11,--without-x11,," FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \ ${libdir}/lib*.so.*"