summaryrefslogtreecommitdiff
path: root/packages/xorg-lib/libx11-trim_1.1.5.bb
blob: e99b2a07b08f980a351134a1ad34992421efdf1f (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
25
26
27
28
29
30
31
32
33
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"

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 "