2011-02-02 14:43:42 +00:00
|
|
|
SUMMARY = "Xlib: C Language X Interface library"
|
|
|
|
|
|
|
|
DESCRIPTION = "This package provides a client interface to the X Window \
|
|
|
|
System, otherwise known as 'Xlib'. It provides a complete API for the \
|
|
|
|
basic functions of the window system."
|
2010-07-09 05:32:10 +00:00
|
|
|
|
2006-08-15 11:58:37 +00:00
|
|
|
require xorg-lib-common.inc
|
|
|
|
|
2011-05-24 05:57:57 +00:00
|
|
|
inherit siteinfo
|
|
|
|
|
2012-09-11 19:17:58 +00:00
|
|
|
FILESPATH = "${FILE_DIRNAME}/libx11"
|
|
|
|
|
2012-03-05 07:38:32 +00:00
|
|
|
PE = "1"
|
|
|
|
|
2006-08-15 11:58:37 +00:00
|
|
|
PROVIDES = "virtual/libx11"
|
|
|
|
|
|
|
|
XORG_PN = "libX11"
|
2011-10-03 07:35:49 +00:00
|
|
|
LICENSE = "MIT & MIT-style & BSD"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
|
2006-08-15 11:58:37 +00:00
|
|
|
|
2012-09-11 19:17:59 +00:00
|
|
|
DEPENDS += "xproto xextproto xtrans libxcb kbproto inputproto"
|
2012-09-11 19:18:00 +00:00
|
|
|
DEPENDS += "xproto-native"
|
2012-09-11 19:17:59 +00:00
|
|
|
|
2012-10-22 08:31:43 +00:00
|
|
|
EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont"
|
2012-09-28 01:33:14 +00:00
|
|
|
EXTRA_OEMAKE += 'CWARNFLAGS=""'
|
2012-09-11 19:17:56 +00:00
|
|
|
|
2013-06-20 01:54:56 +00:00
|
|
|
PACKAGECONFIG ??= "xcms"
|
2012-09-11 19:17:55 +00:00
|
|
|
PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
|
|
|
|
|
2012-11-09 10:09:29 +00:00
|
|
|
# src/util/makekeys is built natively but needs -D_GNU_SOURCE defined.
|
|
|
|
CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
|
2012-09-11 19:18:06 +00:00
|
|
|
|
|
|
|
PACKAGES =+ "${PN}-xcb"
|
|
|
|
|
2013-08-21 07:26:50 +00:00
|
|
|
FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
|
2012-09-11 19:18:06 +00:00
|
|
|
FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*"
|
|
|
|
FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
|
2007-07-04 14:45:36 +00:00
|
|
|
|
2009-05-17 11:46:17 +00:00
|
|
|
# Multiple libx11 derivatives from from this file and are selected by virtual/libx11
|
|
|
|
# A world build should only build the correct version, not all of them.
|
|
|
|
EXCLUDE_FROM_WORLD = "1"
|