blob: 7ab22362371266273ad76906042093ad86148275 [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
Andrew Geissler82c905d2020-04-13 13:39:40 -050012SRCREV = "f66d39544bb8339130c96d282a80f87ca1606caf"
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 \
Andrew Geissler82c905d2020-04-13 13:39:40 -050017 file://0001-Sync-i915_pciids-upto-8717c6b7414f.patch \
18"
Brad Bishop19323692019-04-05 15:28:33 -040019
Brad Bishop6e60e8b2018-02-01 10:27:11 -050020UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060021
22DEPENDS += "virtual/libx11 drm libpciaccess pixman"
23
Brad Bishop19323692019-04-05 15:28:33 -040024PACKAGECONFIG ??= "sna xvmc uxa udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 dri3', '', d)}"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060025
26PACKAGECONFIG[dri] = "--enable-dri,--disable-dri"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027PACKAGECONFIG[dri1] = "--enable-dri1,--disable-dri1"
28PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2"
29PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060030PACKAGECONFIG[sna] = "--enable-sna,--disable-sna"
31PACKAGECONFIG[uxa] = "--enable-uxa,--disable-uxa"
32PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
33PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc xcb-util"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080034PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,libxinerama libxrandr libxdamage libxfixes libxcursor libxtst libxrender libxscrnsaver libxext libx11 pixman libxcb libxshmfence"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060035
36# --enable-kms-only option is required by ROOTLESS_X
Brad Bishop316dfdd2018-06-25 12:45:53 -040037EXTRA_OECONF += '${@oe.utils.conditional( "ROOTLESS_X", "1", " --enable-kms-only", "", d )}'
Patrick Williamsc0f7c042017-02-23 20:41:17 -060038
39COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
40
41FILES_${PN} += "${datadir}/polkit-1"