1PORTNAME= libglvnd 2DISTVERSION= 1.7.0 3CATEGORIES= graphics 4MASTER_SITES= https://gitlab.freedesktop.org/glvnd/${PORTNAME}/uploads/c24806c283070dc70700234ca8ffacf8/ 5 6MAINTAINER= ports@MidnightBSD.org 7COMMENT= GL Vendor-Neutral Dispatch library 8WWW= https://gitlab.freedesktop.org/glvnd/libglvnd 9 10LICENSE= Apache-2.0 mit 11LICENSE_COMB= multi 12 13USES= compiler:c++11-lib localbase meson pkgconfig 14USE_LDCONFIG= yes 15 16OPTIONS_DEFINE= X11 17OPTIONS_DEFAULT=X11 18OPTIONS_SUB= yes 19 20X11_USES= xorg 21X11_USE= XORG=x11,xext,xorgproto 22X11_MESON_ENABLED= x11 glx 23 24NO_TEST= yes 25TESTING_UNSAFE= requires X11 running 26#MESON_DISABLED= tests 27 28.include <bsd.mport.options.mk> 29 30.if ${ARCH} == powerpc || ${ARCH} == riscv64 31MESON_ARGS+= -Dasm=disabled 32.endif 33 34.if ${ARCH} == powerpc 35MESON_ARGS+= -Dtls=false 36.endif 37 38# Lots of software expects gl.pc even when it can build with EGL only 39post-install-X11-off: 40 ${LN} -s opengl.pc ${FAKE_DESTDIR}${PREFIX}/libdata/pkgconfig/gl.pc 41 42.include <bsd.port.mk> 43