python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / x11r7 / xdriver_xf86-video-intel / xdriver_xf86-video-intel.mk
blob29228bbf778bef7c9d54592ff17565c158a8f8f4
1 ################################################################################
3 # xdriver_xf86-video-intel
5 ################################################################################
7 XDRIVER_XF86_VIDEO_INTEL_VERSION = 9ac7a3370ab265d4cbdbbf3dc588af88c37048e1
8 XDRIVER_XF86_VIDEO_INTEL_SITE = git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
9 XDRIVER_XF86_VIDEO_INTEL_LICENSE = MIT
10 XDRIVER_XF86_VIDEO_INTEL_LICENSE_FILES = COPYING
11 XDRIVER_XF86_VIDEO_INTEL_AUTORECONF = YES
13 # -D_GNU_SOURCE fixes a getline-related compile error in src/sna/kgem.c
14 # We force -O2 regardless of the optimization level chosen by the user,
15 # as compiling this package is known to be broken with -Os.
16 XDRIVER_XF86_VIDEO_INTEL_CONF_ENV = \
17 CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -O2"
19 XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS = \
20 --disable-xvmc \
21 --enable-sna \
22 --disable-glamor \
23 --disable-xaa \
24 --disable-dga \
25 --disable-async-swap
27 XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \
28 libdrm \
29 libpciaccess \
30 xlib_libXrandr \
31 xproto_fontsproto \
32 xproto_xproto \
33 xserver_xorg-server
35 # X.org server support for DRI depends on a Mesa3D DRI driver
36 ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
37 XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri --enable-dri1
38 # quote from configure.ac: "UXA doesn't build without DRI2 headers"
39 ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y)
40 XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri2 --enable-uxa
41 else
42 XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri2 --disable-uxa
43 endif
44 ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
45 XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --enable-dri3
46 else
47 XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri3
48 endif
49 else
50 XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += --disable-dri
51 endif
53 $(eval $(autotools-package))