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

COMMENT =	Direct Rendering Manager library and headers

DISTNAME =	libdrm-2.4.114
EXTRACT_SUFX = 	.tar.xz

SHARED_LIBS =	drm 7.12 drm_radeon 4.0 drm_intel 5.4 \
                drm_amdgpu 1.12

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 =		graphics/cairo \
			textproc/py-docutils

LIB_DEPENDS =		sysutils/libpciaccess

CONFIGURE_ARGS =	-Detnaviv=disabled \
			-Dfreedreno=disabled \
			-Dnouveau=disabled \
			-Dvalgrind=disabled

SEPARATE_BUILD =	Yes

.include <bsd.port.mk>