From cd5b4b6ceb36b2ce7e49ccb29e39b034bf2ec7e6 Mon Sep 17 00:00:00 2001 From: Brad Hermanson Date: Fri, 4 May 2012 20:02:52 -0400 Subject: games/quakeforge: Updated for version 0.6.2. Signed-off-by: dsomero --- games/quakeforge/README | 27 +++++++++++++++++++++++---- games/quakeforge/quakeforge.SlackBuild | 25 ++++++++++++++++--------- games/quakeforge/quakeforge.info | 8 ++++---- 3 files changed, 43 insertions(+), 17 deletions(-) (limited to 'games/quakeforge') diff --git a/games/quakeforge/README b/games/quakeforge/README index a577900d61..2d6da6fe9d 100644 --- a/games/quakeforge/README +++ b/games/quakeforge/README @@ -1,8 +1,27 @@ QuakeForge is a source port of id Software's Quake I. -You will need at least pak0.pak to play the shareware version, and pak1.pak -to play the full game. These can be added to either ~/.quakeforge/id1 or +You will need at least pak0.pak to play the shareware version, and pak1.pak to +play the full game. These can be added to either ~/.quakeforge/id1 or /usr/share/games/quakeforge/id1/. -The binaries to run QuakeForge are as follows: nq-glx (for OpenGL client), -nq-sdl (for SDL client), qw-client-glx (for QuakeWorld OpenGL client), etc. +Note: You may have to manually specify the resolution for OpenGL clients +e.g. nq-glx -width 1024 -height 768 -fullscreen + +The binaries to run QuakeForge are as follows (not all are listed): + +Quake +---------------------------------------------------- +nq-glslx: (New) OpenGL/Software client +nq-glx: OpenGL client +nq-sdl: SDL client + +QuakeWorld +---------------------------------------------------- +qw-client-glslx: (New) OpenGL/Software client +qw-client-glx: OpenGL client +qw-client-sdl: SDL client + +Servers +---------------------------------------------------- +nq-server: Quake server +qw-server: QuakeWorld server diff --git a/games/quakeforge/quakeforge.SlackBuild b/games/quakeforge/quakeforge.SlackBuild index e6e93bce50..1e688d1b1b 100644 --- a/games/quakeforge/quakeforge.SlackBuild +++ b/games/quakeforge/quakeforge.SlackBuild @@ -3,7 +3,7 @@ # Brad Hermanson PRGNAM=quakeforge -VERSION=0.6.1 +VERSION=0.6.2 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,32 +42,39 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION - chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CPPFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ --mandir=/usr/man \ - --libdir=/usr/lib${LIBDIRSUFFIX} + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ COPYING ChangeLog INSTALL NEWS TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/games/quakeforge/quakeforge.info b/games/quakeforge/quakeforge.info index 69727da8da..28055f6dea 100644 --- a/games/quakeforge/quakeforge.info +++ b/games/quakeforge/quakeforge.info @@ -1,10 +1,10 @@ PRGNAM="quakeforge" -VERSION="0.6.1" +VERSION="0.6.2" HOMEPAGE="http://quakeforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/quake/quakeforge-0.6.1.tar.bz2" -MD5SUM="8e8318dfe2c6fdcd0906ce6f6cf32a7b" +DOWNLOAD="http://prdownloads.sourceforge.net/quake/quakeforge-0.6.2.tar.bz2" +MD5SUM="11c771eee086138fa76c468380743bdd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Brad Hermanson" EMAIL="apeitheo@gmail.com" -APPROVED="Niels Horn" +APPROVED="dsomero" -- cgit v1.2.3