mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
gdk-pixbuf: Add --with-x11 when building lsb image
LSB Test Suite complains "No library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. Use the linuxstdbase override and also make it conditional on x11 \ being in DISTRO_FEATURES for passing lsb test. Split libgdk_pixbuf_xlib to a single package. (From OE-Core rev: 4cb21630cf87e6cc9a062f1c2be9fea25d3e218a) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f755582792
commit
31122b03bf
@@ -19,7 +19,7 @@ SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.24/gdk-pixbuf-${
|
||||
SRC_URI[md5sum] = "72f39b34b20f68148c1609bd27415412"
|
||||
SRC_URI[sha256sum] = "da7a3f00db360913716368e19e336402755cafa93769f3cfa28a969303e4bee1"
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
inherit autotools pkgconfig gettext
|
||||
|
||||
@@ -28,9 +28,16 @@ LIBV = "2.10.0"
|
||||
EXTRA_OECONF = "\
|
||||
--without-libtiff \
|
||||
--with-libpng \
|
||||
--without-x11 \
|
||||
${X11DEPENDS} \
|
||||
--disable-introspection \
|
||||
"
|
||||
X11DEPENDS = "--without-x11"
|
||||
X11DEPENDS_linuxstdbase = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x11', '--without-x11', d)}"
|
||||
|
||||
PACKAGES =+ "${PN}-xlib"
|
||||
|
||||
FILES_${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}"
|
||||
RPROVIDES_${PN}-xlib = "${PN}-xlib"
|
||||
|
||||
FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
|
||||
${libdir}/lib*.so.*"
|
||||
|
||||
Reference in New Issue
Block a user