* [PATCH] gdk-pixbuf: use PACKAGECONFIG to control legacy X11 sub-library
@ 2013-10-21 9:28 Ross Burton
0 siblings, 0 replies; only message in thread
From: Ross Burton @ 2013-10-21 9:28 UTC (permalink / raw)
To: openembedded-core
Instead of appending and using overrides, turn gdk-pixbuf-xlib into a
PACKAGECONFIG option and enable it for LSB-builds only.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.28.2.bb | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.28.2.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.28.2.bb
index 08d6f0a..d027fcf 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.28.2.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.28.2.bb
@@ -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"
--
1.7.10.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-21 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 9:28 [PATCH] gdk-pixbuf: use PACKAGECONFIG to control legacy X11 sub-library Ross Burton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox