blob: 54a4c9d3e58d4021c75914388bea923dd0547dac (
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
|
PORTNAME= libglvnd
DISTVERSION= 1.7.0
CATEGORIES= graphics
MASTER_SITES= https://gitlab.freedesktop.org/glvnd/${PORTNAME}/uploads/c24806c283070dc70700234ca8ffacf8/
MAINTAINER= x11@FreeBSD.org
COMMENT= GL Vendor-Neutral Dispatch library
WWW= https://gitlab.freedesktop.org/glvnd/libglvnd
LICENSE= APACHE20 MIT
LICENSE_COMB= multi
USES= compiler:c++11-lib localbase meson pkgconfig
USE_LDCONFIG= yes
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
OPTIONS_SUB= yes
X11_USES= xorg
X11_USE= XORG=x11,xext,xorgproto
X11_MESON_ENABLED= x11 glx
TESTING_UNSAFE= requires X11 running
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc || ${ARCH} == riscv64
MESON_ARGS+= -Dasm=disabled
.endif
.if ${ARCH} == powerpc
MESON_ARGS+= -Dtls=false
.endif
# Lots of software expects gl.pc even when it can build with EGL only
post-install-X11-off:
${RLN} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/opengl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc
.include <bsd.port.mk>
|