From bef3721bd75b8016382f78016081dfdd3cbb42a9 Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Thu, 15 Mar 2012 21:00:09 +0800 Subject: libxt: upgrade to 1.1.2 (From OE-Core rev: b61972beebab8cef38d68aca11c0d960e601f744) Signed-off-by: Shane Wang Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-lib/libxt_1.1.2.bb | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 meta/recipes-graphics/xorg-lib/libxt_1.1.2.bb (limited to 'meta/recipes-graphics/xorg-lib/libxt_1.1.2.bb') diff --git a/meta/recipes-graphics/xorg-lib/libxt_1.1.2.bb b/meta/recipes-graphics/xorg-lib/libxt_1.1.2.bb new file mode 100644 index 0000000000..04fd59d9ed --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libxt_1.1.2.bb @@ -0,0 +1,45 @@ +SUMMARY = "Xt: X Toolkit Intrinsics library" + +DESCRIPTION = "The Intrinsics are a programming library tailored to the \ +special requirements of user interface construction within a network \ +window system, specifically the X Window System. The Intrinsics and a \ +widget set make up an X Toolkit. The Intrinsics provide the base \ +mechanism necessary to build a wide variety of interoperating widget \ +sets and application environments. The Intrinsics are a layer on top of \ +Xlib, the C Library X Interface. They extend the fundamental \ +abstractions provided by the X Window System while still remaining \ +independent of any particular user interface policy or style." + +require xorg-lib-common.inc + +LICENSE = "MIT & MIT-style" +LIC_FILES_CHKSUM = "file://COPYING;md5=3239170e81427c5948287df07691f03f" + + +DEPENDS += "util-linux libxcb libsm virtual/libx11 kbproto libxdmcp" +PROVIDES = "xt" + +PR = "r0" +PE = "1" + +XORG_PN = "libXt" + +SRC_URI += "file://libxt_fix_for_x32.patch" + +BBCLASSEXTEND = "native" + +EXTRA_OECONF += "--disable-install-makestrs --disable-xkb" + +do_compile() { + ( + unset CC LD CXX CCLD CFLAGS + oe_runmake -C util 'XT_CFLAGS=' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE -I${STAGING_INCDIR_NATIVE} ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makestrs + ) + if [ "$?" != "0" ]; then + exit 1 + fi + oe_runmake +} + +SRC_URI[md5sum] = "c4f7f149559320f378d93b835d38ad6f" +SRC_URI[sha256sum] = "f041a7802b13630348072f5a609e0cc0e3df2382c0ddaae41d2769422eacc347" -- cgit v1.2.3-54-g00ecf