blob: ea2ebfb8b9558076d31f993f23b6d502589490f8 [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
Brad Bishop19323692019-04-05 15:28:33 -040013SRC_URI[md5sum] = "034fdd6cc5393974d88aec6f5bc96162"
14SRC_URI[sha256sum] = "910e9e30efba4ad3672ca277741c2728aebffa7bc526f04dcfa74df2e52a1348"
15
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016PROVIDES = "virtual/libx11"
17
18XORG_PN = "libX11"
19LICENSE = "MIT & MIT-style & BSD"
20LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
21
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022DEPENDS += "xorgproto xtrans libxcb"
23DEPENDS += "xorgproto-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024
25EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont"
26EXTRA_OEMAKE += 'CWARNFLAGS=""'
27
28PACKAGECONFIG ??= "xcms"
29PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
30
31# src/util/makekeys is built natively but needs -D_GNU_SOURCE defined.
32CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
33
34PACKAGES =+ "${PN}-xcb"
35
36FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
37FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*"
38FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"