diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libxcb_1.17.0.bb')
| -rw-r--r-- | meta/recipes-graphics/xorg-lib/libxcb_1.17.0.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.17.0.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.17.0.bb new file mode 100644 index 0000000000..fcd8aad303 --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libxcb_1.17.0.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 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 | SECTION = "x11/libs" | ||
| 8 | |||
| 9 | LICENSE = "MIT" | ||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7" | ||
| 11 | |||
| 12 | SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.xz \ | ||
| 13 | file://0001-use-_Alignof-to-avoid-UB-in-ALIGNOF.patch" | ||
| 14 | |||
| 15 | SRC_URI[sha256sum] = "599ebf9996710fea71622e6e184f3a8ad5b43d0e5fa8c4e407123c88a59a6d55" | ||
| 16 | |||
| 17 | BBCLASSEXTEND = "native nativesdk" | ||
| 18 | |||
| 19 | DEPENDS = "xcb-proto xorgproto libxau libpthread-stubs libxdmcp" | ||
| 20 | |||
| 21 | PACKAGES_DYNAMIC = "^${PN}-.*" | ||
| 22 | |||
| 23 | FILES:${PN} = "${libdir}/libxcb.so.*" | ||
| 24 | |||
| 25 | inherit autotools pkgconfig features_check | ||
| 26 | |||
| 27 | # The libxau and others requires x11 in DISTRO_FEATURES | ||
| 28 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 29 | |||
| 30 | export PYTHON = "python3" | ||
| 31 | |||
| 32 | do_install:append () { | ||
| 33 | chown root.root ${D}${datadir}/doc/${BPN}/tutorial -R | ||
| 34 | } | ||
| 35 | |||
| 36 | python populate_packages:prepend () { | ||
| 37 | do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', '${PN}-%s', 'XCB library module for %s', allow_links=True) | ||
| 38 | } | ||
