diff options
author | reed <reed@pkgsrc.org> | 2006-06-13 23:44:09 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2006-06-13 23:44:09 +0000 |
commit | 8cdae3ce9d68ce22d5cf1951616ce1b2e093936b (patch) | |
tree | e403336a86eb6d7e701435959932d04f779dd959 /graphics/glx-utils | |
parent | 243a6a9b675c731bde1df231fbc15a6d4dd14a60 (diff) | |
download | pkgsrc-8cdae3ce9d68ce22d5cf1951616ce1b2e093936b.tar.gz |
Import glx-utils. I chose the graphics category since that's
where the rest of its family is.
The glxinfo program can be used to learn about your OpenGL library.
It can identify the OpenGL implementation in use and the detected
hardware.
The glxgears program is a GLX implementation of the "gears" demo.
These tools are from the MesaDemos source code.
Diffstat (limited to 'graphics/glx-utils')
-rw-r--r-- | graphics/glx-utils/DESCR | 7 | ||||
-rw-r--r-- | graphics/glx-utils/Makefile | 34 | ||||
-rw-r--r-- | graphics/glx-utils/PLIST | 3 | ||||
-rw-r--r-- | graphics/glx-utils/distinfo | 5 |
4 files changed, 49 insertions, 0 deletions
diff --git a/graphics/glx-utils/DESCR b/graphics/glx-utils/DESCR new file mode 100644 index 00000000000..88c01d869eb --- /dev/null +++ b/graphics/glx-utils/DESCR @@ -0,0 +1,7 @@ +The glxinfo program can be used to learn about your OpenGL library. +It can identify the OpenGL implementation in use and the detected +hardware. + +The glxgears program is a GLX implementation of the "gears" demo. + +These tools are from the MesaDemos source code. diff --git a/graphics/glx-utils/Makefile b/graphics/glx-utils/Makefile new file mode 100644 index 00000000000..e20af30c414 --- /dev/null +++ b/graphics/glx-utils/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/06/13 23:44:09 reed Exp $ + +PKGNAME= glx-utils-${MESA_VERSION} +CATEGORIES= x11 graphics +COMMENT= OpenGL glxgears and glxinfo + +PATCHDIR= ${.CURDIR}/patches +DISTINFO_FILE= ${.CURDIR}/distinfo + +.include "../../graphics/Mesa/Makefile.common" +DISTNAME= MesaDemos-${MESA_VERSION} +WRKSRC= ${WRKDIR}/Mesa-${MESA_VERSION} + +USE_LANGUAGES= c c++ +INSTALLATION_DIRS= bin + +do-build: + cd ${WRKSRC}/progs/xdemos && \ + ${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \ + ${PTHREAD_CFLAGS} glxgears.c ${LDFLAGS} ${PTHREAD_LDFLAGS} \ + -L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} \ + -o glxgears && \ + ${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \ + ${PTHREAD_CFLAGS} glxinfo.c ${LDFLAGS} ${PTHREAD_LDFLAGS} \ + -L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} -o glxinfo + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxgears ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxinfo ${PREFIX}/bin/ + +.include "../../graphics/glu/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/glx-utils/PLIST b/graphics/glx-utils/PLIST new file mode 100644 index 00000000000..151abb1b38f --- /dev/null +++ b/graphics/glx-utils/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/13 23:44:09 reed Exp $ +bin/glxgears +bin/glxinfo diff --git a/graphics/glx-utils/distinfo b/graphics/glx-utils/distinfo new file mode 100644 index 00000000000..a02f537583b --- /dev/null +++ b/graphics/glx-utils/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/06/13 23:44:09 reed Exp $ + +SHA1 (Mesa-6.4.2/MesaDemos-6.4.2.tar.bz2) = 35b1ff78fc1bd1c303be754ad2ff4252ad6c0258 +RMD160 (Mesa-6.4.2/MesaDemos-6.4.2.tar.bz2) = 82e1dafd39abbe1c0e1de49adcff00dec19c6c1a +Size (Mesa-6.4.2/MesaDemos-6.4.2.tar.bz2) = 814178 bytes |