diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/xorg-lib/libx11.inc | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11.inc')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11.inc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc new file mode 100644 index 0000000000..b04eafbdf2 --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libx11.inc | |||
@@ -0,0 +1,41 @@ | |||
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 | inherit siteinfo | ||
10 | |||
11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/libx11:" | ||
12 | |||
13 | PE = "1" | ||
14 | |||
15 | PROVIDES = "virtual/libx11" | ||
16 | |||
17 | XORG_PN = "libX11" | ||
18 | LICENSE = "MIT & MIT-style & BSD" | ||
19 | LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7" | ||
20 | |||
21 | DEPENDS += "xproto xextproto xtrans libxcb kbproto inputproto" | ||
22 | DEPENDS += "xproto-native" | ||
23 | |||
24 | EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont" | ||
25 | EXTRA_OEMAKE += 'CWARNFLAGS=""' | ||
26 | |||
27 | PACKAGECONFIG ??= "xcms" | ||
28 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" | ||
29 | |||
30 | # src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. | ||
31 | CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" | ||
32 | |||
33 | PACKAGES =+ "${PN}-xcb" | ||
34 | |||
35 | FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt" | ||
36 | FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" | ||
37 | FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" | ||
38 | |||
39 | # Multiple libx11 derivatives from from this file and are selected by virtual/libx11 | ||
40 | # A world build should only build the correct version, not all of them. | ||
41 | EXCLUDE_FROM_WORLD = "1" | ||