summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-intel/Makefile
blob: 609b84d7f5d7945fbefe38f6677e6fc914a3bf7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Created by: lesi@FreeBSD.org
# $FreeBSD$

PORTNAME=	xf86-video-intel
PORTVERSION=	2.99.917.20180512
PORTREVISION=	2
CATEGORIES=	x11-drivers
MASTER_SITES=	http://cgit.freedesktop.org/xorg/${XORG_CAT}/${PORTNAME}/snapshot/
DISTNAME=	${PORTNAME}-${COMMIT_ID}

MAINTAINER=	x11@FreeBSD.org
COMMENT=	Driver for Intel integrated graphics chipsets

LICENSE=	MIT	# various
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libxcb-util.so:x11/xcb-util \
		libdrm.so:graphics/libdrm

COMMIT_ID=	359477215092ac1b602ad1e2f17a28963d9224c2

ONLY_FOR_ARCHS=	amd64 i386
ONLY_FOR_ARCHS_REASON=	Intel integrated GPU only exists in Intel x86 processors/chipsets

USE_GL=		gl

USE_LDCONFIG=	yes
XORG_CAT=	driver
USE_XORG=	pciaccess pixman x11 xcb xext xrender xv xvmc

USES+=		cpe autoreconf
CPE_VENDOR=	x

OPTIONS_SINGLE=	ACCEL
OPTIONS_SINGLE_ACCEL=	SNA UXA
OPTIONS_DEFAULT=	UXA

ACCEL_DESC=	Default AccelMethod (if not specified in xorg.conf)
SNA_DESC=	SandyBridge's New Acceleration
UXA_DESC=	Unified Acceleration Architecture

CONFIGURE_ARGS+=	--disable-udev

SNA_CONFIGURE_ON=	--with-default-accel=sna
UXA_CONFIGURE_ON=	--with-default-accel=uxa

.include <bsd.port.mk>