blob: 7ee2a9c16a9c9541c00f016d91cca6b31ee317a4 [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 \
Andrew Geisslerd1e89492021-02-12 15:35:20 -060014 file://disable_tests.patch \
Patrick Williams213cb262021-08-07 19:21:33 -050015 file://keysym.patch \
Andrew Geisslerd1e89492021-02-12 15:35:20 -060016 "
Brad Bishop08902b02019-08-20 09:16:51 -040017
Andrew Geissler09036742021-06-25 14:25:14 -050018SRC_URI[sha256sum] = "1cfa35e37aaabbe4792e9bb690468efefbfbf6b147d9c69d6f90d13c3092ea6c"
Brad Bishop19323692019-04-05 15:28:33 -040019
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020PROVIDES = "virtual/libx11"
21
22XORG_PN = "libX11"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050023LICENSE = "MIT & MIT-style & BSD-4-Clause & BSD-2-Clause"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
25
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080026DEPENDS += "xorgproto xtrans libxcb"
27DEPENDS += "xorgproto-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028
29EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont"
30EXTRA_OEMAKE += 'CWARNFLAGS=""'
31
32PACKAGECONFIG ??= "xcms"
33PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
34
Patrick Williamsc124f4f2015-09-15 14:41:29 -050035PACKAGES =+ "${PN}-xcb"
36
Brad Bishop64c979e2019-11-04 13:55:29 -050037inherit gettext
38
Patrick Williams213cb262021-08-07 19:21:33 -050039FILES:${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
40FILES:${PN}-xcb += "${libdir}/libX11-xcb.so.*"
41FILES:${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
Brad Bishop64c979e2019-11-04 13:55:29 -050042
43BBCLASSEXTEND = "native nativesdk"