blob: bf9009bda0303ec2e105ad43ae7ba56fb37471e2 [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 Bishop19323692019-04-05 15:28:33 -040012SRCREV = "33ee0c3b21ea279e08d0863fcb2e874f0974b00e"
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 \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060017 "
18
Brad Bishop19323692019-04-05 15:28:33 -040019SRC_URI_append_qemux86 = "file://01_Fix-build-on-i686.patch"
20
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
42FILES_${PN} += "${datadir}/polkit-1"