diff options
author | Dugan Chen <thedoogster@gmail.com> | 2014-01-14 23:04:50 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-29 23:21:01 -0600 |
commit | f7b3f20275c30754cf048fcbf727cdc61e66f715 (patch) | |
tree | 28d673aba92c7f9913725ee13c0704e73749c868 /games/yamagi-quake2 | |
parent | 481f31ce718ebfde2f0da9ced2ec5136204b4362 (diff) |
games/yamagi-quake2: Updated for version 5.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/yamagi-quake2')
-rw-r--r-- | games/yamagi-quake2/README | 14 | ||||
-rw-r--r-- | games/yamagi-quake2/yamagi-quake2.SlackBuild | 7 | ||||
-rw-r--r-- | games/yamagi-quake2/yamagi-quake2.info | 8 |
3 files changed, 18 insertions, 11 deletions
diff --git a/games/yamagi-quake2/README b/games/yamagi-quake2/README index 1e273c018aa80..d811e7d092ec7 100644 --- a/games/yamagi-quake2/README +++ b/games/yamagi-quake2/README @@ -1,10 +1,14 @@ This is an enhanced client for Id Software's legendary Quake II. It focuses on single-player. Features include rock-solid stability and AMD64 support. -This only installs the Yamagi-Quake2 source port. Before playing it, you need -to copy your Quake2 data files into the appropriate subdirectories of -/usr/share/quake2. Please refer to the README files in -/usr/doc/yamagi-quake2-5.11/ for details. +OpenAL and SDL2 are recommended optional dependencies. Install them first, then +do: + + WITH_OPENAL=yes WITH_SDL2=yes ./yamagi-quake2.SlackBuild + +Before playing, copy your Quake2 data files into the appropriate subdirectories +of /usr/share/quake2. Please refer to the README files in +/usr/doc/yamagi-quake2-5.21/ for details. To get a reasonable default configuration, copy -/usr/doc/yamagi-quake2-5.11/yq2.cfg to your baseq2 directory. +/usr/doc/yamagi-quake2-5.21/yq2.cfg to your baseq2 directory. diff --git a/games/yamagi-quake2/yamagi-quake2.SlackBuild b/games/yamagi-quake2/yamagi-quake2.SlackBuild index cd66ede8168b5..70a96c06c5ddb 100644 --- a/games/yamagi-quake2/yamagi-quake2.SlackBuild +++ b/games/yamagi-quake2/yamagi-quake2.SlackBuild @@ -25,7 +25,7 @@ # Includes components from the Arch Linux AUR builds. PRGNAM=yamagi-quake2 -VERSION=${VERSION:-5.11} +VERSION=${VERSION:-5.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,6 +33,9 @@ CTFVER=${CTFVER:-1.02} XATRIXVER=${XATRIXVER:-2.00} ROGUEVER=${ROGUEVER:-1.07} +WITH_SDL2=${WITH_SDL2:-no} +WITH_OPENAL=${WITH_OPENAL:-no} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -80,7 +83,7 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ - make + make WITH_SDL2=$WITH_SDL2 WITH_OPENAL=$WITH_OPENAL mkdir -p $PKG/usr/{bin,share/quake2/{ctf,xatrix,rogue}} cp -r release/* $PKG/usr/share/quake2 diff --git a/games/yamagi-quake2/yamagi-quake2.info b/games/yamagi-quake2/yamagi-quake2.info index e47c16666db48..d25b42bf2aad2 100644 --- a/games/yamagi-quake2/yamagi-quake2.info +++ b/games/yamagi-quake2/yamagi-quake2.info @@ -1,16 +1,16 @@ PRGNAM="yamagi-quake2" -VERSION="5.11" +VERSION="5.21" HOMEPAGE="http://www.yamagi.org/quake2/" -DOWNLOAD="http://deponie.yamagi.org/quake2/quake2-5.11.tar.xz \ +DOWNLOAD="http://deponie.yamagi.org/quake2/quake2-5.21.tar.xz \ http://deponie.yamagi.org/quake2/quake2-ctf-1.02.tar.xz \ http://deponie.yamagi.org/quake2/quake2-xatrix-2.00.tar.xz \ http://deponie.yamagi.org/quake2/quake2-rogue-1.07.tar.xz" -MD5SUM="243e3a077983195cadb884b9ce4de17e \ +MD5SUM="b1c490a8a4cd0ed7b5f93f9635856284 \ cb54db38b0216d04f27b6ccb605679d0 \ 728199ad0038024dd8e20750bc9eb55d \ d696bbac1e408062ff7885f67965c4a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="OpenAL" +REQUIRES="%README%" MAINTAINER="Dugan Chen" EMAIL="thedoogster [at] gmail [dot] com" |