mirror of
git://git.yoctoproject.org/poky
synced 2026-09-29 01:57:46 +00:00
The Xorg libraries use REQUIRED_DISTRO_FEATURES to stop building on distributions without the x11 feature but this stops people building native tooling that uses libX11, such as libsdl-native. (From OE-Core rev: f2970211690be3cb99ef7404f98010f3fecae45d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
SUMMARY = "XCB: The X protocol C binding library"
|
|
DESCRIPTION = "The X protocol C-language Binding (XCB) is a replacement \
|
|
for Xlib featuring a small footprint, latency hiding, direct access to \
|
|
the protocol, improved threading support, and extensibility."
|
|
HOMEPAGE = "http://xcb.freedesktop.org"
|
|
BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SECTION = "x11/libs"
|
|
LICENSE = "MIT-X"
|
|
|
|
DEPENDS = "xcb-proto xproto libxau xcb-proto-native libpthread-stubs"
|
|
|
|
SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \
|
|
file://xcbincludedir.patch \
|
|
file://disable-check.patch \
|
|
file://gcc-mips-pr68302-mips-workaround.patch \
|
|
"
|
|
|
|
PACKAGES_DYNAMIC = "^libxcb-.*"
|
|
|
|
FILES_${PN} = "${libdir}/libxcb.so.*"
|
|
|
|
inherit autotools pkgconfig pythonnative distro_features_check
|
|
|
|
# The libxau and others requires x11 in DISTRO_FEATURES
|
|
REQUIRED_DISTRO_FEATURES = "x11"
|
|
REQUIRED_DISTRO_FEATURES_class-native = ""
|
|
|
|
python populate_packages_prepend () {
|
|
do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
|
|
}
|