Files
poky/meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.0.bb
Martin Jansa e49eff1f9a 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>
2014-02-20 14:28:10 +00:00

21 lines
783 B
BlitzBasic

SUMMARY = "Generic XKB keymap library"
DESCRIPTION = "libxkbcommon is a keymap compiler and support library which \
processes a reduced subset of keymaps as defined by the XKB specification."
HOMEPAGE = "http://www.xkbcommon.org"
LIC_FILES_CHKSUM = "file://COPYING;md5=9c0b824e72a22f9d2c40b9c93b1f0ddc"
LICENSE = "MIT & MIT-style"
DEPENDS = "util-macros flex-native bison-native"
SRC_URI = "http://xkbcommon.org/download/${BPN}-${PV}.tar.xz"
SRC_URI[md5sum] = "bb782f1700e45b4f57c84ef513e3cf85"
SRC_URI[sha256sum] = "2dc018e830d1befaf4822615204138318da3fff0112f78f3a7c638fa617375b8"
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-docs"
PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,libxcb"