freebsd-ports/graphics/mesa-demos/Makefile
Jan Beich 7679ec76b0 graphics/glx-utils: add new port
A few popular OpenGL X11 demos from Mesa:

- glxinfo prints capabilities of OpenGL driver
- glxgears draws rotating gears and prints FPS

Inspired by:	D26077, glx-utils (CentOS, PkgSrc), glxinfo (AUR, MacPorts, Nix)
Motivated by:	testing GLX on Xwayland, avoiding cruft and extra deps
2020-09-11 17:28:43 +00:00

27 lines
668 B
Makefile

# Created by: Eric Anholt <anholt@FreeBSD.org>
# $FreeBSD$
PORTNAME= mesa-demos
PORTVERSION= 8.4.0
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/ #${PORTVERSION}/
MAINTAINER= x11@FreeBSD.org
COMMENT= OpenGL demos distributed with Mesa
LICENSE= MIT
LIB_DEPENDS= libdrm.so:graphics/libdrm
CONFLICTS_INSTALL= glx-utils
USES= gmake gl localbase pkgconfig tar:bzip2 xorg
GNU_CONFIGURE= yes
USE_GL= egl gbm gl glesv2 glew glu glut
USE_XORG= xorgproto x11 xdamage xext xfixes xi xxf86vm
CONFIGURE_ARGS+=--disable-gles1 --disable-osmesa --disable-vg --disable-wayland \
--with-system-data-files
.include <bsd.port.mk>