bf02fc285e
- glxinfo now supports OpenGL 4.6 - glxinfo prints more OpenGL limits (GL 3.0 up to GL 4.6) - glxinfo gained support for GL_ATI_meminfo and GL_NVX_gpu_memory_info
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2019/01/04 01:18:14 tnn Exp $
|
|
|
|
DISTNAME= mesa-demos-8.4.0
|
|
PKGNAME= ${DISTNAME:S/mesa-demos/glx-utils/}
|
|
CATEGORIES= x11 graphics
|
|
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://cgit.freedesktop.org/mesa/demos/
|
|
COMMENT= OpenGL glxgears and glxinfo
|
|
#LICENSE= # Similar to mit but with SGI advertising clause.
|
|
|
|
NO_CONFIGURE= yes
|
|
USE_LANGUAGES= c
|
|
|
|
INSTALLATION_DIRS= bin
|
|
LDFLAGS+= -lX11 # ld 2.22 wants each library explicitly
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/src/xdemos && \
|
|
${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \
|
|
glxgears.c ${LDFLAGS} \
|
|
-L../../lib -lGLU -lGL -lm -lXext \
|
|
-o glxgears && \
|
|
${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \
|
|
glxinfo.c glinfo_common.c ${LDFLAGS} \
|
|
-L../../lib -lGLU -lGL -lm -lXext -o glxinfo
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xdemos/glxgears \
|
|
${DESTDIR}${PREFIX}/bin/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xdemos/glxinfo \
|
|
${DESTDIR}${PREFIX}/bin/
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|