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