summaryrefslogtreecommitdiff
path: root/graphics/mesa-demos/Makefile
blob: b880aeeb1e37beb1cb17f6db12599f381359b32f (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
COMMENT = the mesa demo programs, glxinfo and glxgears

V = 8.5.0
DISTNAME = mesa-demos-${V}

CATEGORIES = graphics

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

MAINTAINER = xenocara@openbsd.org

# MIT
PERMIT_PACKAGE = Yes

WANTLIB = GL GLU OSMesa glut X11 Xext c m pthread

MODULES = devel/meson  xenocara

MASTER_SITES =          https://archive.mesa3d.org//demos/${V}/

EXTRACT_SUFX = .tar.gz

LIB_DEPENDS = graphics/mesa \
	      graphics/freeglut \
	      graphics/libGLU

SEPARATE_BUILD =        Yes

CONFIGURE_ARGS = \
	-Dwith-glut=/usr/local \
	-Degl=disabled \
	-Dgles1=disabled \
	-Dgles2=disabled \
	-Dlibdrm=enabled \
	-Dx11=enabled \
	-Dwayland=disabled

.include <bsd.port.mk>