pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/glx-utils Import glx-utils. I chose the graph...
details: https://anonhg.NetBSD.org/pkgsrc/rev/05971a056657
branches: trunk
changeset: 514541:05971a056657
user: reed <reed%pkgsrc.org@localhost>
date: Tue Jun 13 23:44:09 2006 +0000
description:
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:
graphics/glx-utils/DESCR | 7 +++++++
graphics/glx-utils/Makefile | 34 ++++++++++++++++++++++++++++++++++
graphics/glx-utils/PLIST | 3 +++
graphics/glx-utils/distinfo | 5 +++++
4 files changed, 49 insertions(+), 0 deletions(-)
diffs (65 lines):
diff -r f473e7fc9f20 -r 05971a056657 graphics/glx-utils/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glx-utils/DESCR Tue Jun 13 23:44:09 2006 +0000
@@ -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 -r f473e7fc9f20 -r 05971a056657 graphics/glx-utils/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glx-utils/Makefile Tue Jun 13 23:44:09 2006 +0000
@@ -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 -r f473e7fc9f20 -r 05971a056657 graphics/glx-utils/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glx-utils/PLIST Tue Jun 13 23:44:09 2006 +0000
@@ -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 -r f473e7fc9f20 -r 05971a056657 graphics/glx-utils/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glx-utils/distinfo Tue Jun 13 23:44:09 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index