git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2537 311d38ba-8fff-0310-9ca6-ca027cbcb966
30 lines
824 B
BlitzBasic
30 lines
824 B
BlitzBasic
require xorg-lib-common.inc
|
|
|
|
DESCRIPTION = "Base X libs."
|
|
DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
|
|
libxdmcp xf86bigfontproto kbproto inputproto"
|
|
PROVIDES = "virtual/libx11"
|
|
PE = "1"
|
|
PR = "r2"
|
|
|
|
XORG_PN = "libX11"
|
|
|
|
SRC_URI += "file://x11_disable_makekeys.patch;patch=1"
|
|
|
|
|
|
EXTRA_OECONF += "--without-xcb"
|
|
|
|
do_compile() {
|
|
(
|
|
unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
|
|
cd src/util; touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} makekeys.c -o makekeys
|
|
# mv to stop it getting rebuilt
|
|
mv makekeys.c makekeys.c.orig
|
|
cd ../../
|
|
) || exit 1
|
|
oe_runmake
|
|
}
|
|
|
|
FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt"
|
|
FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
|