Changeset View
Changeset View
Standalone View
Standalone View
graphics/libglvnd/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= libglvnd | PORTNAME= libglvnd | ||||
DISTVERSION= 1.3.1 | DISTVERSION= 1.3.1 | ||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
MAINTAINER= greg@unrelenting.technology | MAINTAINER= x11@FreeBSD.org | ||||
zeising: Since libglvnd will be an integral part to the graphics stack, we feel that it should be… | |||||
Done Inline ActionsSure. @greg_unrelenting.technology, do you object? jbeich: Sure. @greg_unrelenting.technology, do you object? | |||||
Done Inline ActionsI don't care who maintains ports, happy when it's not me :) val_packett.cool: I don't care who maintains ports, happy when it's not me :) | |||||
COMMENT= GL Vendor-Neutral Dispatch library | COMMENT= GL Vendor-Neutral Dispatch library | ||||
LICENSE= APACHE20 MIT | LICENSE= APACHE20 MIT | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
CONFLICTS_INSTALL= mesa-libs # include/GL/gl.h | |||||
USES= compiler:c++11-lib localbase meson pkgconfig | USES= compiler:c++11-lib localbase meson pkgconfig | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_GITLAB= yes | USE_GITLAB= yes | ||||
GL_SITE= https://gitlab.freedesktop.org | GL_SITE= https://gitlab.freedesktop.org | ||||
GL_ACCOUNT= glvnd | GL_ACCOUNT= glvnd | ||||
GL_COMMIT= 1c32de07074fee8edcb274899948b6551081ed54 | GL_COMMIT= 1c32de07074fee8edcb274899948b6551081ed54 | ||||
Done Inline ActionsWhat is the reason behind using a git commit hash instead of a release tarball for libglvnd? zeising: What is the reason behind using a git commit hash instead of a release tarball for libglvnd? | |||||
Done Inline ActionsGL_COMMIT is currently mandatory for USE_GITLAB ports. jbeich: GL_COMMIT is currently mandatory for USE_GITLAB ports.
See also https://bugs.freebsd. | |||||
OPTIONS_DEFINE= X11 | OPTIONS_DEFINE= X11 | ||||
OPTIONS_DEFAULT=X11 | OPTIONS_DEFAULT=X11 | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
X11_USES= xorg | X11_USES= xorg | ||||
X11_USE= XORG=x11,xext,xorgproto | X11_USE= XORG=x11,xext,xorgproto | ||||
X11_MESON_ENABLED= x11 glx | X11_MESON_ENABLED= x11 glx | ||||
# Lots of software expects gl.pc even when it can build with EGL only | # Lots of software expects gl.pc even when it can build with EGL only | ||||
post-install-X11-off: | post-install-X11-off: | ||||
${LN} -s opengl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc | ${LN} -s opengl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc | ||||
${REINPLACE_CMD} -e '/Cflags:/s/$$/ -DEGL_NO_X11/' \ | ${REINPLACE_CMD} -e '/Cflags:/s/$$/ -DEGL_NO_X11/' \ | ||||
${STAGEDIR}${PREFIX}/libdata/pkgconfig/egl.pc | ${STAGEDIR}${PREFIX}/libdata/pkgconfig/egl.pc | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Since libglvnd will be an integral part to the graphics stack, we feel that it should be maintained by x11@. This ensures that updates and releases can be coordinated to try to avoid breakage. This also ensures that any issues and PRs will be easily noticed since they are also sent to the mailing list.