blob: 1d8077a60075bfbb6755e5792623c349adea3db8 [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 \
Andrew Geissler635e0e42020-08-21 15:58:33 -050018 file://0001-i810-Avoid-duplicate-definition-of-I810PatternROP.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050019"
Brad Bishop19323692019-04-05 15:28:33 -040020
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060022
23DEPENDS += "virtual/libx11 drm libpciaccess pixman"
24
Brad Bishop19323692019-04-05 15:28:33 -040025PACKAGECONFIG ??= "sna xvmc uxa udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 dri3', '', d)}"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060026
27PACKAGECONFIG[dri] = "--enable-dri,--disable-dri"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080028PACKAGECONFIG[dri1] = "--enable-dri1,--disable-dri1"
29PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2"
30PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060031PACKAGECONFIG[sna] = "--enable-sna,--disable-sna"
32PACKAGECONFIG[uxa] = "--enable-uxa,--disable-uxa"
33PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
34PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc xcb-util"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080035PACKAGECONFIG[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 -060036
37# --enable-kms-only option is required by ROOTLESS_X
Brad Bishop316dfdd2018-06-25 12:45:53 -040038EXTRA_OECONF += '${@oe.utils.conditional( "ROOTLESS_X", "1", " --enable-kms-only", "", d )}'
Patrick Williamsc0f7c042017-02-23 20:41:17 -060039
40COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
41
Patrick Williams213cb262021-08-07 19:21:33 -050042FILES:${PN} += "${datadir}/polkit-1"