blob: 2623cb2f317601198e52340ebbb482df93e4fb07 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001require xorg-driver-video.inc
2
3SUMMARY = "X.Org X server -- Intel integrated graphics chipsets driver"
4
5DESCRIPTION = "intel is an Xorg driver for Intel integrated graphics \
6chipsets. The driver supports depths 8, 15, 16 and 24. On some chipsets, \
7the driver supports hardware accelerated 3D via the Direct Rendering \
8Infrastructure (DRI)."
9
10LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e"
11
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012SRCREV = "e4fe79cf0d9a05ee3f3a027148ef0aeb2b1b34e1"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013PV = "2.99.917+git${SRCPV}"
14S = "${WORKDIR}/git"
15
16SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-intel \
17 file://disable-x11-dri3.patch \
18 file://always_include_xorg_server.h.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040019 file://0001-Add-Coffeelake-PCI-IDs-for-S-Skus.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020 "
21
22SRC_URI[md5sum] = "fa196a66e52c0c624fe5d350af7a5e7b"
23SRC_URI[sha256sum] = "00b781eea055582820a123c47b62411bdf6aabf4f03dc0568faec55faf9667c9"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060025
26DEPENDS += "virtual/libx11 drm libpciaccess pixman"
27
Brad Bishopd7bf8c12018-02-25 22:55:05 -050028PACKAGECONFIG ??= "xvmc uxa udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri1 dri2', '', d)}"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060029
30PACKAGECONFIG[dri] = "--enable-dri,--disable-dri"
31PACKAGECONFIG[dri1] = "--enable-dri1,--disable-dri1,xf86driproto"
32PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto"
33PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto"
34PACKAGECONFIG[sna] = "--enable-sna,--disable-sna"
35PACKAGECONFIG[uxa] = "--enable-uxa,--disable-uxa"
36PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
37PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc xcb-util"
38PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,libxinerama libxrandr libxdamage libxfixes libxcursor libxtst libxext libxrender"
39
40# --enable-kms-only option is required by ROOTLESS_X
Brad Bishop316dfdd2018-06-25 12:45:53 -040041EXTRA_OECONF += '${@oe.utils.conditional( "ROOTLESS_X", "1", " --enable-kms-only", "", d )}'
Patrick Williamsc0f7c042017-02-23 20:41:17 -060042
43COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
44
45FILES_${PN} += "${datadir}/polkit-1"