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 | |
| 13 | PROVIDES = "virtual/libx11" |
| 14 | |
| 15 | XORG_PN = "libX11" |
| 16 | LICENSE = "MIT & MIT-style & BSD" |
| 17 | LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7" |
| 18 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | DEPENDS += "xorgproto xtrans libxcb" |
| 20 | DEPENDS += "xorgproto-native" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 21 | |
| 22 | EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont" |
| 23 | EXTRA_OEMAKE += 'CWARNFLAGS=""' |
| 24 | |
| 25 | PACKAGECONFIG ??= "xcms" |
| 26 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" |
| 27 | |
| 28 | # src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. |
| 29 | CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" |
| 30 | |
| 31 | PACKAGES =+ "${PN}-xcb" |
| 32 | |
| 33 | FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt" |
| 34 | FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" |
| 35 | FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" |