diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11_1.6.11.bb')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11_1.6.11.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.6.11.bb b/meta/recipes-graphics/xorg-lib/libx11_1.6.11.bb new file mode 100644 index 0000000000..da47a6d9ec --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libx11_1.6.11.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | SUMMARY = "Xlib: C Language X Interface library" | ||
2 | |||
3 | DESCRIPTION = "This package provides a client interface to the X Window \ | ||
4 | System, otherwise known as 'Xlib'. It provides a complete API for the \ | ||
5 | basic functions of the window system." | ||
6 | |||
7 | require xorg-lib-common.inc | ||
8 | |||
9 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/libx11:" | ||
10 | |||
11 | PE = "1" | ||
12 | |||
13 | SRC_URI += "file://Fix-hanging-issue-in-_XReply.patch \ | ||
14 | file://disable_tests.patch \ | ||
15 | file://libx11-whitespace.patch" | ||
16 | |||
17 | SRC_URI[sha256sum] = "b1cc4b802058be7e3fb438ee2490f66fcc52ac3b2a14f47a22cbf77638e33606" | ||
18 | |||
19 | PROVIDES = "virtual/libx11" | ||
20 | |||
21 | XORG_PN = "libX11" | ||
22 | LICENSE = "MIT & MIT-style & BSD" | ||
23 | LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7" | ||
24 | |||
25 | DEPENDS += "xorgproto xtrans libxcb" | ||
26 | DEPENDS += "xorgproto-native" | ||
27 | |||
28 | EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont" | ||
29 | EXTRA_OEMAKE += 'CWARNFLAGS=""' | ||
30 | |||
31 | PACKAGECONFIG ??= "xcms" | ||
32 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" | ||
33 | |||
34 | # src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. | ||
35 | CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" | ||
36 | |||
37 | PACKAGES =+ "${PN}-xcb" | ||
38 | |||
39 | inherit gettext | ||
40 | |||
41 | FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt" | ||
42 | FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" | ||
43 | FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" | ||
44 | |||
45 | BBCLASSEXTEND = "native nativesdk" | ||