blob: fe31f20df0f01e39ccfb4ce8c1c60617caaf5d5a [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "XCB: The X protocol C binding library"
2DESCRIPTION = "The X protocol C-language Binding (XCB) is a replacement \
3for Xlib featuring a small footprint, latency hiding, direct access to \
4the protocol, improved threading support, and extensibility."
5HOMEPAGE = "http://xcb.freedesktop.org"
6BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
7
8BBCLASSEXTEND = "native nativesdk"
9
10SECTION = "x11/libs"
11LICENSE = "MIT-X"
12
13DEPENDS = "xcb-proto xproto libxau xcb-proto-native libpthread-stubs"
14
15SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \
16 file://xcbincludedir.patch \
17 file://disable-check.patch"
18
19PACKAGES_DYNAMIC = "^libxcb-.*"
20
21FILES_${PN} = "${libdir}/libxcb.so.*"
22
23inherit autotools pkgconfig pythonnative distro_features_check
24
25# The libxau and others requires x11 in DISTRO_FEATURES
26REQUIRED_DISTRO_FEATURES = "x11"
27
28python populate_packages_prepend () {
29 do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
30}