summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-08-10 01:33:48 +0000
committerxtraeme <xtraeme>2005-08-10 01:33:48 +0000
commit99ccb531cf31a24c6ff723340bc173e28273e5fd (patch)
tree622ba93a319fd9b6215c7719b8d5e863c8b9f23b /games
parent2c96443970e460cec6d9f22a83a266f5d8463ce2 (diff)
downloadpkgsrc-99ccb531cf31a24c6ff723340bc173e28273e5fd.tar.gz
Update to 0.3.
Changes: * Pluggable sound driver architecture, sound output drivers configurable at runtime: oss, alsa, ao, sdl, solaris. * Fixed joystick when using softx video refresher. * ALSA and libao sound drivers added -- configurable at compile time. * Updates to fix compile errors with gcc 3.3.
Diffstat (limited to 'games')
-rw-r--r--games/quake2forge/Makefile17
-rw-r--r--games/quake2forge/PLIST6
-rw-r--r--games/quake2forge/distinfo9
-rw-r--r--games/quake2forge/patches/patch-aa44
4 files changed, 20 insertions, 56 deletions
diff --git a/games/quake2forge/Makefile b/games/quake2forge/Makefile
index 450b29a9afd..29dc1bd177a 100644
--- a/games/quake2forge/Makefile
+++ b/games/quake2forge/Makefile
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.15 2005/06/01 18:02:52 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2005/08/10 01:33:48 xtraeme Exp $
#
-DISTNAME= quake2-0.2.1
+DISTNAME= quake2-0.3
PKGNAME= ${DISTNAME:S/quake2/quake2forge/}
-PKGREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quake/}
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= http://www.quakeforge.net/files/quake2forge/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.quakeforge.net/
@@ -34,9 +32,16 @@ SUBST_SED.snd= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
SUBST_MESSAGE.snd= "Fixing harcoded audio device."
SUBST_STAGE.data= post-patch
SUBST_FILES.data= configure
-SUBST_SED.data= -e "s|PACKAGE=quake2|PACKAGE=${PKGBASE}|g"
+SUBST_SED.data= -e "s|PACKAGE=\'quake2\'|PACKAGE=\'${PKGBASE}\'|g"
SUBST_MESSAGE.data= "Fixing installation directories."
+.include "../../mk/bsd.prefs.mk"
+
+# Don't try to build the Sun Solaris sound module, it's broken.
+.if !empty(OPSYS:MNetBSD) || !empty(OPSYS:MOpenBSD)
+CONFIGURE_ENV+= ac_cv_header_sys_audioio_h=no
+.endif
+
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff --git a/games/quake2forge/PLIST b/games/quake2forge/PLIST
index 7f55c7987e8..bcbe9e0b2f1 100644
--- a/games/quake2forge/PLIST
+++ b/games/quake2forge/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2004/09/22 08:09:31 jlam Exp $
+@comment $NetBSD: PLIST,v 1.4 2005/08/10 01:33:48 xtraeme Exp $
bin/quake2forge
lib/quake2forge/baseq2/game.la
lib/quake2forge/ctf/game.la
@@ -6,6 +6,8 @@ lib/quake2forge/ref_glx.la
lib/quake2forge/ref_sdlgl.la
lib/quake2forge/ref_softsdl.la
lib/quake2forge/ref_softx.la
+lib/quake2forge/snd_oss.la
+lib/quake2forge/snd_sdl.la
share/doc/quake2forge/README.Solaris
share/doc/quake2forge/README.axp
share/doc/quake2forge/README.install
@@ -13,6 +15,7 @@ share/doc/quake2forge/README.joystick
share/doc/quake2forge/README.linux
share/doc/quake2forge/README.sdl
share/doc/quake2forge/README.solaris
+share/doc/quake2forge/README.sound
share/doc/quake2forge/TODO-ctf.txt
share/doc/quake2forge/changes-ctf.txt
share/doc/quake2forge/changes.txt
@@ -20,6 +23,7 @@ share/doc/quake2forge/joystick.txt
share/doc/quake2forge/readme.txt
share/quake2forge/baseq2/config.cfg
@dirrm share/quake2forge/baseq2
+@dirrm share/quake2forge
@dirrm share/doc/quake2forge
@exec ${MKDIR} %D/lib/quake2forge/xatrix
@dirrm lib/quake2forge/xatrix
diff --git a/games/quake2forge/distinfo b/games/quake2forge/distinfo
index 7d612d453d0..2a51cfc1041 100644
--- a/games/quake2forge/distinfo
+++ b/games/quake2forge/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 23:12:01 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/08/10 01:33:48 xtraeme Exp $
-SHA1 (quake2-0.2.1.tar.bz2) = 258a391f54dd58e59924f78c074e614b228ff773
-RMD160 (quake2-0.2.1.tar.bz2) = 0998bcd4ce75ebde8d16af60644a6dbbcf0ab428
-Size (quake2-0.2.1.tar.bz2) = 1286703 bytes
-SHA1 (patch-aa) = 380078cc177fcc8b7d7c5bf2fd59620d67349d55
+SHA1 (quake2-0.3.tar.gz) = 9daf646b02799de01aa77824f648ef6c5f66b3ec
+RMD160 (quake2-0.3.tar.gz) = 81b6abdf83782d1bd227df9e4511aa25c673b5bb
+Size (quake2-0.3.tar.gz) = 1757285 bytes
diff --git a/games/quake2forge/patches/patch-aa b/games/quake2forge/patches/patch-aa
deleted file mode 100644
index a6578b3cbe0..00000000000
--- a/games/quake2forge/patches/patch-aa
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/04/16 15:03:21 xtraeme Exp $
-
---- src/main.c.orig Fri Feb 7 14:25:46 2003
-+++ src/main.c Fri Feb 7 14:34:14 2003
-@@ -49,12 +49,21 @@
- #include <mntent.h>
- #elif defined(__FreeBSD__) || defined(__bsd__) || defined (__NetBSD__)
- #include <fstab.h>
-+ #include <pthread.h>
- #elif defined(__sun__)
- #include <sys/file.h>
- #endif
-
- #ifdef HAVE_DLOPEN
- # include <dlfcn.h>
-+#endif
-+
-+/* This should probably go into configure
-+ * BSDs and Linux have SIGIO, Solaris needs SIGPOLL
-+ * This should probably be changed the other way round
-+ * SIGIO as default and SIGPOLL only for Solrais */
-+#ifndef SIGPOLL
-+#define SIGPOLL SIGIO
- #endif
-
- #include "qcommon.h"
-@@ -518,7 +527,7 @@
- ret = fread(ptr, size, nitems, fp);
- err = errno;
- if (ret != nitems) {
-- printf("verify_fread(...,%d,%d,...): return value: %d\n", size, nitems, ret);
-+ printf("verify_fread(...,%lu,%lu,...): return value: %lu\n", (unsigned long)size, (unsigned long)nitems, (unsigned long)ret);
- if (ret == 0 && ferror(fp)) {
- printf(" error: %s\n", strerror(err));
- printf(" fileno=%d\n", fileno(fp));
-@@ -536,7 +545,7 @@
- ret = fwrite(ptr, size, nitems, fp);
- err = errno;
- if (ret != nitems) {
-- printf("verify_fwrite(...,%d,%d,...) = %d\n", size, nitems, ret);
-+ printf("verify_fwrite(...,%lu,%lu,...) = %lu\n", (unsigned long)size, (unsigned long)nitems, (unsigned long)ret);
- if (ret == 0 && ferror(fp)) {
- printf(" error: %s\n", strerror(err));
- printf(" fileno=%d\n", fileno(fp));