1PORTNAME= mesa-demos 2PORTVERSION= 8.5.0 3CATEGORIES= graphics 4MASTER_SITES= https://mesa.freedesktop.org/archive/demos/${PORTVERSION}/ \ 5 ftp://ftp.freedesktop.org/pub/mesa/demos/ #${PORTVERSION}/ 6 7MAINTAINER= ports@MidnightBSD.org 8COMMENT= OpenGL demos distributed with Mesa 9WWW= https://www.mesa3d.org/ 10 11LICENSE= mit 12 13CONFLICTS_INSTALL= glx-utils 14 15USES= gl localbase meson pkgconfig tar:bzip2 xorg 16USE_GL= egl gl glesv2 glu glut 17USE_XORG= xorgproto x11 xdamage xext xfixes xi xxf86vm 18 19MESON_ARGS+= -Dwith-glut=${LOCALBASE} \ 20 -Dgles1=disabled \ 21 -Dlibdrm=disabled \ 22 -Dosmesa=disabled \ 23 -Dwayland=disabled \ 24 -Dwith-system-data-files=true 25 26.include <bsd.mport.options.mk> 27 28 29CFLAGS+= -Wno-error=incompatible-function-pointer-types 30 31 32post-fake: 33 # bitmap program conflicts with x11/bitmap 34 ${MV} ${FAKE_DESTDIR}/${TRUE_PREFIX}/bin/bitmap ${FAKE_DESTDIR}/${TRUE_PREFIX}/bin/bitmap_demo 35 36.include <bsd.port.mk> 37