mirror of
https://git.yoctoproject.org/poky
synced 2026-03-25 01:02:22 +01:00
(From OE-Core rev: 74a6ad56bc7a090c069a499a0c6ac567a0229e1d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
39 lines
1.3 KiB
BlitzBasic
39 lines
1.3 KiB
BlitzBasic
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"
|
|
SECTION = "x11/libs"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7"
|
|
|
|
SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.xz \
|
|
file://0001-use-_Alignof-to-avoid-UB-in-ALIGNOF.patch"
|
|
|
|
SRC_URI[sha256sum] = "4348566aa0fbf196db5e0a576321c65966189210cb51328ea2bb2be39c711d71"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
DEPENDS = "xcb-proto xorgproto libxau libpthread-stubs libxdmcp"
|
|
|
|
PACKAGES_DYNAMIC = "^${PN}-.*"
|
|
|
|
FILES:${PN} = "${libdir}/libxcb.so.*"
|
|
|
|
inherit autotools pkgconfig features_check
|
|
|
|
# The libxau and others requires x11 in DISTRO_FEATURES
|
|
REQUIRED_DISTRO_FEATURES = "x11"
|
|
|
|
export PYTHON = "python3"
|
|
|
|
do_install:append () {
|
|
chown root.root ${D}${datadir}/doc/${BPN}/tutorial -R
|
|
}
|
|
|
|
python populate_packages:prepend () {
|
|
do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', '${PN}-%s', 'XCB library module for %s', allow_links=True)
|
|
}
|