diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libxt_1.1.3.bb')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libxt_1.1.3.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxt_1.1.3.bb b/meta/recipes-graphics/xorg-lib/libxt_1.1.3.bb new file mode 100644 index 0000000000..8249e7805f --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libxt_1.1.3.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | SUMMARY = "Xt: X Toolkit Intrinsics library" | ||
2 | |||
3 | DESCRIPTION = "The Intrinsics are a programming library tailored to the \ | ||
4 | special requirements of user interface construction within a network \ | ||
5 | window system, specifically the X Window System. The Intrinsics and a \ | ||
6 | widget set make up an X Toolkit. The Intrinsics provide the base \ | ||
7 | mechanism necessary to build a wide variety of interoperating widget \ | ||
8 | sets and application environments. The Intrinsics are a layer on top of \ | ||
9 | Xlib, the C Library X Interface. They extend the fundamental \ | ||
10 | abstractions provided by the X Window System while still remaining \ | ||
11 | independent of any particular user interface policy or style." | ||
12 | |||
13 | require xorg-lib-common.inc | ||
14 | |||
15 | LICENSE = "MIT & MIT-style" | ||
16 | LIC_FILES_CHKSUM = "file://COPYING;md5=3239170e81427c5948287df07691f03f" | ||
17 | |||
18 | |||
19 | DEPENDS += "util-linux libxcb libsm virtual/libx11 kbproto libxdmcp" | ||
20 | PROVIDES = "xt" | ||
21 | |||
22 | PR = "r0" | ||
23 | PE = "1" | ||
24 | |||
25 | XORG_PN = "libXt" | ||
26 | |||
27 | SRC_URI += "file://libxt_fix_for_x32.patch" | ||
28 | |||
29 | BBCLASSEXTEND = "native" | ||
30 | |||
31 | EXTRA_OECONF += "--disable-install-makestrs --disable-xkb" | ||
32 | |||
33 | do_compile() { | ||
34 | ( | ||
35 | unset CC LD CXX CCLD CFLAGS | ||
36 | 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 | ||
37 | ) | ||
38 | if [ "$?" != "0" ]; then | ||
39 | exit 1 | ||
40 | fi | ||
41 | oe_runmake | ||
42 | } | ||
43 | |||
44 | SRC_URI[md5sum] = "a6f137ae100e74ebe3b71eb4a38c40b3" | ||
45 | SRC_URI[sha256sum] = "8db593c3fc5ffc4e9cd854ba50af1eac9b90d66521ba17802b8f1e0d2d7f05bd" | ||