summaryrefslogtreecommitdiff
path: root/sysutils/libdrm/Makefile
blob: 0569e1e874f787f673793befa77a949e43a1e488 (plain)
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
ONLY_FOR_ARCHS =	amd64 i386 sparc64

COMMENT =	Direct Rendering Manager library and headers

DISTNAME =	libdrm-2.4.123
EXTRACT_SUFX = 	.tar.xz

SHARED_LIBS =	drm 7.13 drm_radeon 4.0 drm_intel 5.4 \
                drm_amdgpu 1.14

CATEGORIES =	sysutils

HOMEPAGE =	https://gitlab.freedesktop.org/mesa/drm

MAINTAINER =		xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

MODULES =		devel/meson xenocara

WANTLIB	= 		pciaccess

SITES =			https://dri.freedesktop.org/libdrm/

BUILD_DEPENDS =		textproc/py-docutils

LIB_DEPENDS =		sysutils/libpciaccess

CONFIGURE_ARGS =	-Detnaviv=disabled \
			-Dfreedreno=disabled \
			-Dnouveau=disabled \
			-Dvalgrind=disabled \
			-Dcairo-tests=disabled \
			-Dtests=false

SEPARATE_BUILD =	Yes

.include <bsd.port.mk>