require xorg-lib-common.inc DESCRIPTION = "X11 protocol and utility library" DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto" #FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11" #SRC_URI += "file://X18NCMSstubs.diff;patch=1 " PROVIDES = "virtual/libx11" PE = "1" PR = "r1" XORG_PN = "libX11" LEAD_SONAME = "libX11.so" SRC_URI += "file://include_fix.patch;patch=1 \ file://makekeys-update.patch;patch=1" EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h" #EXTRA_OECONF += "--disable-xlocale --disable-xcms --with-xcb" EXTRA_OECONF += "--disable-xcms --with-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 cd ../../ ) || exit 1 oe_runmake } FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB " SRC_URI[archive.md5sum] = "d1512d65dadd4f48c779d4749e7753a8" SRC_URI[archive.sha256sum] = "da9272900e41615e9c5dc25d84730b8966da6f5c8f4c40418dca2ad040fc8b82"