1*4882a593SmuzhiyunSUMMARY = "XCB: The X protocol C binding library" 2*4882a593SmuzhiyunDESCRIPTION = "The X protocol C-language Binding (XCB) is a replacement \ 3*4882a593Smuzhiyunfor Xlib featuring a small footprint, latency hiding, direct access to \ 4*4882a593Smuzhiyunthe protocol, improved threading support, and extensibility." 5*4882a593SmuzhiyunHOMEPAGE = "http://xcb.freedesktop.org" 6*4882a593SmuzhiyunBUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" 7*4882a593SmuzhiyunSECTION = "x11/libs" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunLICENSE = "MIT" 10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.xz \ 13*4882a593Smuzhiyun file://disable-check.patch \ 14*4882a593Smuzhiyun " 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunSRC_URI[sha256sum] = "a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunDEPENDS = "xcb-proto xorgproto libxau libpthread-stubs libxdmcp" 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunPACKAGES_DYNAMIC = "^${PN}-.*" 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunFILES:${PN} = "${libdir}/libxcb.so.*" 25*4882a593Smuzhiyun 26*4882a593Smuzhiyuninherit autotools pkgconfig features_check 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun# The libxau and others requires x11 in DISTRO_FEATURES 29*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "x11" 30*4882a593Smuzhiyun 31*4882a593Smuzhiyunexport PYTHON = "python3" 32*4882a593Smuzhiyun 33*4882a593Smuzhiyundo_install:append () { 34*4882a593Smuzhiyun chown root.root ${D}${datadir}/doc/${BPN}/tutorial -R 35*4882a593Smuzhiyun} 36*4882a593Smuzhiyun 37*4882a593Smuzhiyunpython populate_packages:prepend () { 38*4882a593Smuzhiyun do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', '${PN}-%s', 'XCB library module for %s', allow_links=True) 39*4882a593Smuzhiyun} 40