[oe-commits] Martin Jansa : libxkbcommon: Add PACKAGECONFIG for x11

git at git.openembedded.org git at git.openembedded.org
Thu Feb 20 14:22:25 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: e13741e52cc6b59757942a05c7847fe7fc090f63
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e13741e52cc6b59757942a05c7847fe7fc090f63

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Tue Feb 18 12:05:03 2014 +0100

libxkbcommon: Add PACKAGECONFIG for x11

* allow to explicitly disable x11 with --disable-x11, otherwise
  do_configure fails for DISTROs without x11 in DISTRO_FEATURES:
  | No package 'xcb-xkb' found
  | configure:18763: $? = 1
  | configure:18777: result: no
  | No package 'xcb' found
  | No package 'xcb-xkb' found
  | configure:18793: error: xkbcommon-x11 requires xcb-xkb >= 1.10 which
    was not found. You can disable X11 support with --disable-x11.

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.0.bb b/meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.0.bb
index 2726302..2ad5448 100644
--- a/meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.0.bb
@@ -15,3 +15,6 @@ SRC_URI[sha256sum] = "2dc018e830d1befaf4822615204138318da3fff0112f78f3a7c638fa61
 inherit autotools pkgconfig
 
 EXTRA_OECONF = "--disable-docs"
+
+PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,libxcb"



More information about the Openembedded-commits mailing list