1 ################################################################################
5 ################################################################################
7 XLIB_LIBX11_VERSION
= 1.6.5
8 XLIB_LIBX11_SOURCE
= libX11-
$(XLIB_LIBX11_VERSION
).
tar.bz2
9 XLIB_LIBX11_SITE
= https
://xorg.freedesktop.org
/archive
/individual
/lib
10 XLIB_LIBX11_LICENSE
= MIT
11 XLIB_LIBX11_LICENSE_FILES
= COPYING
12 XLIB_LIBX11_INSTALL_STAGING
= YES
13 XLIB_LIBX11_DEPENDENCIES
= \
23 xproto_xf86bigfontproto \
26 HOST_XLIB_LIBX11_DEPENDENCIES
= \
28 host-xutil_util-macros \
34 host-xproto_xextproto \
35 host-xproto_inputproto \
36 host-xproto_xf86bigfontproto
38 XLIB_LIBX11_CONF_OPTS
= \
39 --disable-malloc0returnsnull \
44 HOST_XLIB_LIBX11_CONF_OPTS
= \
48 # src/util/makekeys is executed at build time to generate ks_tables.h, so
49 # it should get compiled for the host. The libX11 makefile unfortunately
50 # doesn't have X11_CFLAGS_FOR_BUILD so this doesn't work. For buildroot,
51 # we know the X11 includes are in $(HOST_DIR)/usr/include, which are already
52 # in the CFLAGS_FOR_BUILD, so we can just remove the X11_CFLAGS
53 define XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
54 $(SED
) '/X11_CFLAGS/d' $(@D
)/src
/util
/Makefile
*
57 XLIB_LIBX11_POST_PATCH_HOOKS
+= XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
58 HOST_XLIB_LIBX11_POST_PATCH_HOOKS
+= XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
60 $(eval
$(autotools-package
))
61 $(eval
$(host-autotools-package
))