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
|
|
|
|
|
|
|
|
PROVIDES = "virtual/libx11"
|
|
|
|
|
|
|
|
XORG_PN = "libX11"
|
2008-09-29 19:22:21 +00:00
|
|
|
LEAD_SONAME = "libX11.so"
|
2006-08-15 11:58:37 +00:00
|
|
|
|
2008-09-29 19:22:21 +00:00
|
|
|
EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h"
|
2007-01-31 09:57:04 +00:00
|
|
|
|
2008-10-17 09:19:37 +00:00
|
|
|
FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt"
|
|
|
|
FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
|
|
|
|
|
2006-08-15 11:58:37 +00:00
|
|
|
do_compile() {
|
2008-09-29 21:59:09 +00:00
|
|
|
cd ${S}/src/util
|
|
|
|
mv makekeys.c.orig makekeys.c || true
|
|
|
|
touch makekeys-makekeys.o
|
2008-01-16 17:30:58 +00:00
|
|
|
(
|
|
|
|
unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
|
2008-09-29 21:59:09 +00:00
|
|
|
${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys
|
|
|
|
)
|
|
|
|
if [ "$?" != "0" ]; then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
# mv to stop it getting rebuilt
|
|
|
|
mv makekeys.c makekeys.c.orig
|
|
|
|
cd ${S}
|
2008-01-16 17:30:58 +00:00
|
|
|
oe_runmake
|
2006-08-15 11:58:37 +00:00
|
|
|
}
|
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"
|