blob: 36c950ad34375167cd926645444ce97f9c5b79a4 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Xlib: C Language X Interface library"
2
3DESCRIPTION = "This package provides a client interface to the X Window \
4System, otherwise known as 'Xlib'. It provides a complete API for the \
5basic functions of the window system."
6
7require xorg-lib-common.inc
8
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009FILESEXTRAPATHS =. "${FILE_DIRNAME}/libx11:"
10
11PE = "1"
12
13PROVIDES = "virtual/libx11"
14
15XORG_PN = "libX11"
16LICENSE = "MIT & MIT-style & BSD"
17LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
18
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019DEPENDS += "xorgproto xtrans libxcb"
20DEPENDS += "xorgproto-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021
22EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont"
23EXTRA_OEMAKE += 'CWARNFLAGS=""'
24
25PACKAGECONFIG ??= "xcms"
26PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
27
28# src/util/makekeys is built natively but needs -D_GNU_SOURCE defined.
29CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
30
31PACKAGES =+ "${PN}-xcb"
32
33FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
34FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*"
35FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"