blob: 74ec57aa666fb449b7743c23c70af8ee8f4d8dfe [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 Geissler595f6302022-01-24 19:11:47 +000012SRCREV = "31486f40f8e8f8923ca0799aea84b58799754564"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013PV = "2.99.917+git${SRCPV}"
14S = "${WORKDIR}/git"
15
Andrew Geissler595f6302022-01-24 19:11:47 +000016SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-intel;branch=master \
Andrew Geissler82c905d2020-04-13 13:39:40 -050017"
Brad Bishop19323692019-04-05 15:28:33 -040018
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020
Andrew Geissler9aee5002022-03-30 16:27:02 +000021DEPENDS += "virtual/libx11 drm libpciaccess pixman cairo libpng libxcb libxcomposite libxdamage libxrender libxrandr libxext libxfixes"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060022
Andrew Geissler9aee5002022-03-30 16:27:02 +000023PACKAGECONFIG ??= "sna xvmc uxa udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri2 dri3', '', d)}"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060024
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080025PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2"
26PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027PACKAGECONFIG[sna] = "--enable-sna,--disable-sna"
28PACKAGECONFIG[uxa] = "--enable-uxa,--disable-uxa"
29PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
30PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc xcb-util"
Andrew Geissler9aee5002022-03-30 16:27:02 +000031PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,libxinerama libxcursor libxtst libxscrnsaver libxshmfence"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060032
33# --enable-kms-only option is required by ROOTLESS_X
Brad Bishop316dfdd2018-06-25 12:45:53 -040034EXTRA_OECONF += '${@oe.utils.conditional( "ROOTLESS_X", "1", " --enable-kms-only", "", d )}'
Patrick Williamsc0f7c042017-02-23 20:41:17 -060035
36COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
37
Patrick Williams213cb262021-08-07 19:21:33 -050038FILES:${PN} += "${datadir}/polkit-1"