forked from Lainports/freebsd-ports
Changes: https://gitlab.freedesktop.org/glvnd/libglvnd/-/releases/v1.4.0 PR: 260538 Exp-run by: antoine Approved by: manu
39 lines
800 B
Makefile
39 lines
800 B
Makefile
PORTNAME= libglvnd
|
|
DISTVERSION= 1.4.0
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= GL Vendor-Neutral Dispatch library
|
|
|
|
LICENSE= APACHE20 MIT
|
|
LICENSE_COMB= multi
|
|
|
|
USES= localbase meson pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITLAB= yes
|
|
GL_SITE= https://gitlab.freedesktop.org
|
|
GL_ACCOUNT= glvnd
|
|
GL_COMMIT= 8f3c5b17a21e2222ab3e5fd38870b915815aca49
|
|
|
|
OPTIONS_DEFINE= X11
|
|
OPTIONS_DEFAULT=X11
|
|
OPTIONS_SUB= yes
|
|
|
|
X11_USES= xorg
|
|
X11_USE= XORG=x11,xext,xorgproto
|
|
X11_MESON_ENABLED= x11 glx
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH:Mpowerpc64*}
|
|
USES+= compiler:gcc-c++11-lib
|
|
.else
|
|
USES+= compiler:c++11-lib
|
|
.endif
|
|
|
|
# Lots of software expects gl.pc even when it can build with EGL only
|
|
post-install-X11-off:
|
|
${LN} -s opengl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc
|
|
|
|
.include <bsd.port.mk>
|