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
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-03-04 20:54:54 +01:00
|
|
|
XLIB_LIBX11_VERSION = 1.6.5
|
2007-08-10 21:07:51 +02:00
|
|
|
XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.bz2
|
2017-03-04 20:54:54 +01:00
|
|
|
XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/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
|
|
|
|
|
2016-07-03 00:21:14 +02:00
|
|
|
HOST_XLIB_LIBX11_DEPENDENCIES = \
|
|
|
|
host-libxcb \
|
|
|
|
host-xutil_util-macros \
|
|
|
|
host-xlib_xtrans \
|
|
|
|
host-xlib_libXau \
|
|
|
|
host-xlib_libXdmcp \
|
|
|
|
host-xproto_kbproto \
|
|
|
|
host-xproto_xproto \
|
|
|
|
host-xproto_xextproto \
|
|
|
|
host-xproto_inputproto \
|
|
|
|
host-xproto_xf86bigfontproto
|
|
|
|
|
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,
|
2017-07-05 13:14:22 +02:00
|
|
|
# we know the X11 includes are in $(HOST_DIR)/include, which are already
|
2012-11-04 02:30:06 +01:00
|
|
|
# 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))
|