require xorg-lib-common.inc DESCRIPTION = "Base X libs." DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ libxdmcp xf86bigfontproto kbproto inputproto xproto-native" PROVIDES = "virtual/libx11" PE = "1" PR = "r7" XORG_PN = "libX11" SRC_URI += "file://x11_disable_makekeys.patch \ file://dolt-fix.patch \ ${@['file://keysymdef_include.patch', ''][(bb.data.inherits_class('native', d))]} \ " # --with-keysymdef has intentionally no effect in native build without without keysymdef_include.patch EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h" # Below option is added to overcome the GCC bug on ARM # see http://gcc.gnu.org/PR42981 for further details. # We could potentially take it off when its fixed in gcc 4.5 CFLAGS_append_arm = " -fforward-propagate " do_compile() { ( unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS cd src/util; mv makekeys.c.orig makekeys.c || true touch makekeys-makekeys.o ; ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} 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" SRC_URI[archive.md5sum] = "f65c9c7ecbfb64c19dbd7927160d63fd" SRC_URI[archive.sha256sum] = "88d7238ce5f7cd123450567de7a3b56a43556e4ccc45df38b8324147c889a844"