summaryrefslogtreecommitdiff
path: root/recipes/xorg-lib/libxt_1.0.4.bb
blob: 7dd98632aec9ff179fd048790b70b0acb5cde1e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require xorg-lib-common.inc
DESCRIPTION = "X Toolkit Intrinsics"
PRIORITY = "optional"
DEPENDS += " libsm virtual/libx11 xproto kbproto"
PE = "1"
PR = "${INC_PR}.0"

SRC_URI += "file://pr10970-header-fix.patch"
SRC_URI[archive.md5sum] = "937735f342c046db239852fec0413f6c"
SRC_URI[archive.sha256sum] = "ec7088b2ffe8f56c177525283601fb048decaf6f175d9ee5db01e12810a4d345"

EXTRA_OECONF = "--enable-malloc0returnsnull --disable-install-makestrs --disable-xkb"

do_compile() {
        (
                unset CC LD CXX CCLD
                oe_runmake -C util 'XT_CFLAGS=' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makestrs
        ) || exit 1
        oe_runmake
}

BBCLASSEXTEND = "native"

XORG_PN = "libXt"