mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
gdk-pixbuf: use PACKAGECONFIG to control legacy X11 sub-library
Instead of appending and using overrides, turn gdk-pixbuf-xlib into a PACKAGECONFIG option and enable it for LSB-builds only. (From OE-Core rev: d75b659ca22991662c78e4e7913f75675acf7e66) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d531a566d4
commit
e0152db765
|
@ -26,15 +26,18 @@ inherit autotools pkgconfig gettext pixbufcache
|
|||
|
||||
LIBV = "2.10.0"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG_linuxstdbase = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
|
||||
PACKAGECONFIG_class-native = ""
|
||||
PACKAGECONFIG[x11] = "--with-x11,--without-x11,virtual/libx11"
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--without-libtiff \
|
||||
--with-libpng \
|
||||
${X11DEPENDS} \
|
||||
--with-libjpeg \
|
||||
--without-libtiff \
|
||||
--without-libjasper \
|
||||
--disable-introspection \
|
||||
"
|
||||
X11DEPENDS = "--without-x11"
|
||||
X11DEPENDS_linuxstdbase = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x11', '--without-x11', d)}"
|
||||
X11DEPENDS_class-native = "--without-x11"
|
||||
|
||||
PACKAGES =+ "${PN}-xlib"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user