2007-08-10 21:07:51 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# xlib_libX11
|
2007-08-10 21:07:51 +02:00
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-03-15 12:19:11 +01:00
|
|
|
XLIB_LIBX11_VERSION = 1.6.3
|
2007-08-10 21:07:51 +02:00
|
|
|
XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.bz2
|
|
|
|
XLIB_LIBX11_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
2013-05-09 07:50:59 +02:00
|
|
|
XLIB_LIBX11_LICENSE = MIT
|
|
|
|
XLIB_LIBX11_LICENSE_FILES = COPYING
|
2007-08-10 21:07:51 +02:00
|
|
|
XLIB_LIBX11_INSTALL_STAGING = YES
|
2013-01-06 12:29:22 +01:00
|
|
|
XLIB_LIBX11_DEPENDENCIES = \
|
|
|
|
libxcb \
|
|
|
|
xutil_util-macros \
|
|
|
|
xlib_xtrans \
|
|
|
|
xlib_libXau \
|
|
|
|
xlib_libXdmcp \
|
|
|
|
xproto_kbproto \
|
|
|
|
xproto_xproto \
|
|
|
|
xproto_xextproto \
|
|
|
|
xproto_inputproto \
|
|
|
|
xproto_xf86bigfontproto \
|
|
|
|
host-xproto_xproto
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
XLIB_LIBX11_CONF_OPTS = \
|
2010-03-31 12:13:51 +02:00
|
|
|
--disable-malloc0returnsnull \
|
|
|
|
--with-xcb \
|
2012-12-04 07:55:02 +01:00
|
|
|
--disable-specs \
|
|
|
|
--without-perl
|
2007-08-10 21:07:51 +02:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
HOST_XLIB_LIBX11_CONF_OPTS = \
|
2012-12-04 07:55:02 +01:00
|
|
|
--disable-specs \
|
|
|
|
--without-perl
|
2011-05-16 17:10:48 +02:00
|
|
|
|
2009-03-29 21:10:30 +02:00
|
|
|
# src/util/makekeys is executed at build time to generate ks_tables.h, so
|
|
|
|
# it should get compiled for the host. The libX11 makefile unfortunately
|
2012-11-04 02:30:06 +01:00
|
|
|
# doesn't have X11_CFLAGS_FOR_BUILD so this doesn't work. For buildroot,
|
|
|
|
# we know the X11 includes are in $(HOST_DIR)/usr/include, which are already
|
|
|
|
# in the CFLAGS_FOR_BUILD, so we can just remove the X11_CFLAGS
|
|
|
|
define XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
|
|
|
|
$(SED) '/X11_CFLAGS/d' $(@D)/src/util/Makefile*
|
2010-09-01 22:55:03 +02:00
|
|
|
endef
|
|
|
|
|
2012-11-04 02:30:06 +01:00
|
|
|
XLIB_LIBX11_POST_PATCH_HOOKS += XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
|
2013-05-27 15:01:04 +02:00
|
|
|
HOST_XLIB_LIBX11_POST_PATCH_HOOKS += XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
|
2010-09-01 22:55:03 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|