diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2014-02-18 12:05:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-20 14:28:10 +0000 |
commit | e49eff1f9afad2b30e470afd12282ffc8362098d (patch) | |
tree | 9738177e42d0f78a01c8ec8233ba8eb80d3576b2 /meta/recipes-graphics/xorg-lib | |
parent | bc124dab9ed6dc98ac2dcbaf0d3df35ffaeb37ea (diff) | |
download | poky-e49eff1f9afad2b30e470afd12282ffc8362098d.tar.gz |
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.
(From OE-Core rev: e13741e52cc6b59757942a05c7847fe7fc090f63)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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 27263021a3..2ad544857f 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 | |||
15 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig |
16 | 16 | ||
17 | EXTRA_OECONF = "--disable-docs" | 17 | EXTRA_OECONF = "--disable-docs" |
18 | |||
19 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||
20 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,libxcb" | ||