blob: 1b95cfb43270b3ac3738d1453074dcca5a38f329 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "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
9LICENSE = "MIT & BSD-1-Clause & HPND & HPND-sell-variant & ISC"
10LIC_FILES_CHKSUM = "file://COPYING;md5=1d49cdd2b386c5db11ec636d680b7116"
11
12DEPENDS += "xorgproto \
13 xtrans \
14 libxcb \
15 xorgproto-native \
16 autoconf-archive \
17 "
18
19PROVIDES = "virtual/libx11"
20
21FILESEXTRAPATHS =. "${FILE_DIRNAME}/libx11:"
22
23PE = "1"
24
25XORG_PN = "libX11"
26
27SRC_URI += "file://disable_tests.patch \
28 "
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060029SRC_URI[sha256sum] = "c9a287a5aefa9804ce3cfafcf516fe96ed3f7e8e45c0e2ee59e84c86757df518"
Andrew Geissler517393d2023-01-13 08:55:19 -060030
31inherit gettext
32
33EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont"
34EXTRA_OEMAKE += 'CWARNFLAGS=""'
35
36PACKAGECONFIG ??= "xcms"
37PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
38
39PACKAGES =+ "${PN}-xcb"
40
41FILES:${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"
44
45BBCLASSEXTEND = "native nativesdk"