blob: 8c2a57c6744855f3bdc3f47834acf65bd37f2be0 [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 Bishop08902b02019-08-20 09:16:51 -040013SRC_URI += "file://Fix-hanging-issue-in-_XReply.patch \
Brad Bishop64c979e2019-11-04 13:55:29 -050014 file://disable_tests.patch"
Brad Bishop08902b02019-08-20 09:16:51 -040015
Brad Bishop64c979e2019-11-04 13:55:29 -050016SRC_URI[md5sum] = "55adbfb6d4370ecac5e70598c4e7eed2"
17SRC_URI[sha256sum] = "9cc7e8d000d6193fa5af580d50d689380b8287052270f5bb26a5fb6b58b2bed1"
Brad Bishop19323692019-04-05 15:28:33 -040018
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019PROVIDES = "virtual/libx11"
20
21XORG_PN = "libX11"
22LICENSE = "MIT & MIT-style & BSD"
23LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
24
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080025DEPENDS += "xorgproto xtrans libxcb"
26DEPENDS += "xorgproto-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027
28EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont"
29EXTRA_OEMAKE += 'CWARNFLAGS=""'
30
31PACKAGECONFIG ??= "xcms"
32PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
33
34# src/util/makekeys is built natively but needs -D_GNU_SOURCE defined.
35CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
36
37PACKAGES =+ "${PN}-xcb"
38
Brad Bishop64c979e2019-11-04 13:55:29 -050039inherit gettext
40
Patrick Williamsc124f4f2015-09-15 14:41:29 -050041FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
42FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*"
43FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
Brad Bishop64c979e2019-11-04 13:55:29 -050044
45BBCLASSEXTEND = "native nativesdk"