The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / x11r7 / xlib_libX11 / xlib_libX11.mk
1 ################################################################################
2 #
3 # xlib_libX11
4 #
5 ################################################################################
6
7 XLIB_LIBX11_VERSION = 1.6.3
8 XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.bz2
9 XLIB_LIBX11_SITE = http://xorg.freedesktop.org/releases/individual/lib
10 XLIB_LIBX11_LICENSE = MIT
11 XLIB_LIBX11_LICENSE_FILES = COPYING
12 XLIB_LIBX11_INSTALL_STAGING = YES
13 XLIB_LIBX11_DEPENDENCIES = \
14         libxcb \
15         xutil_util-macros \
16         xlib_xtrans \
17         xlib_libXau \
18         xlib_libXdmcp \
19         xproto_kbproto \
20         xproto_xproto \
21         xproto_xextproto \
22         xproto_inputproto \
23         xproto_xf86bigfontproto \
24         host-xproto_xproto
25
26 XLIB_LIBX11_CONF_OPTS = \
27         --disable-malloc0returnsnull \
28         --with-xcb \
29         --disable-specs \
30         --without-perl
31
32 HOST_XLIB_LIBX11_CONF_OPTS = \
33         --disable-specs \
34         --without-perl
35
36 # src/util/makekeys is executed at build time to generate ks_tables.h, so
37 # it should get compiled for the host. The libX11 makefile unfortunately
38 # doesn't have X11_CFLAGS_FOR_BUILD so this doesn't work.  For buildroot,
39 # we know the X11 includes are in $(HOST_DIR)/usr/include, which are already
40 # in the CFLAGS_FOR_BUILD, so we can just remove the X11_CFLAGS
41 define XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
42         $(SED) '/X11_CFLAGS/d' $(@D)/src/util/Makefile*
43 endef
44
45 XLIB_LIBX11_POST_PATCH_HOOKS += XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
46 HOST_XLIB_LIBX11_POST_PATCH_HOOKS += XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS
47
48 $(eval $(autotools-package))
49 $(eval $(host-autotools-package))