Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Xlib: C Language X Interface library" |
| 2 | |
| 3 | DESCRIPTION = "This package provides a client interface to the X Window \ |
| 4 | System, otherwise known as 'Xlib'. It provides a complete API for the \ |
| 5 | basic functions of the window system." |
| 6 | |
| 7 | require xorg-lib-common.inc |
| 8 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/libx11:" |
| 10 | |
| 11 | PE = "1" |
| 12 | |
Brad Bishop | 08902b0 | 2019-08-20 09:16:51 -0400 | [diff] [blame] | 13 | SRC_URI += "file://Fix-hanging-issue-in-_XReply.patch \ |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 14 | file://disable_tests.patch \ |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 15 | file://keysym.patch \ |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 16 | " |
Brad Bishop | 08902b0 | 2019-08-20 09:16:51 -0400 | [diff] [blame] | 17 | |
Andrew Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame] | 18 | SRC_URI[sha256sum] = "1cfa35e37aaabbe4792e9bb690468efefbfbf6b147d9c69d6f90d13c3092ea6c" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 19 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | PROVIDES = "virtual/libx11" |
| 21 | |
| 22 | XORG_PN = "libX11" |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 23 | LICENSE = "MIT & MIT-style & BSD-4-Clause & BSD-2-Clause" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7" |
| 25 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | DEPENDS += "xorgproto xtrans libxcb" |
| 27 | DEPENDS += "xorgproto-native" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | |
| 29 | EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont" |
| 30 | EXTRA_OEMAKE += 'CWARNFLAGS=""' |
| 31 | |
| 32 | PACKAGECONFIG ??= "xcms" |
| 33 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" |
| 34 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 35 | PACKAGES =+ "${PN}-xcb" |
| 36 | |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame] | 37 | inherit gettext |
| 38 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 39 | FILES:${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt" |
| 40 | FILES:${PN}-xcb += "${libdir}/libX11-xcb.so.*" |
| 41 | FILES:${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame] | 42 | |
| 43 | BBCLASSEXTEND = "native nativesdk" |