[openarena] Update launcher script to work with newer quake3 package + require this
Hans de Goede
jwrdegoede at fedoraproject.org
Thu Jul 28 14:08:07 UTC 2011
commit 1a0cd2c4e0742f0a3ef0ee2a341e213bf3bdad2b
Author: Hans de Goede <hdegoede at redhat.com>
Date: Thu Jul 28 16:09:38 2011 +0200
Update launcher script to work with newer quake3 package + require this
openarena.sh | 10 ++++++----
openarena.spec | 9 ++++++---
2 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/openarena.sh b/openarena.sh
index fa84e01..f1187e1 100644
--- a/openarena.sh
+++ b/openarena.sh
@@ -3,16 +3,18 @@
. /usr/share/opengl-games-utils/opengl-game-functions.sh
# we're a standalone game
-CVARS="+set com_standalone 1"
-CVARS="$CVARS +set fs_basegame baseoa"
+CVARS="+set com_basegame baseoa"
+CVARS="$CVARS +set com_homepath .openarena"
CVARS="$CVARS +set fs_basepath /usr/share/openarena"
-CVARS="$CVARS +set fs_homepath \"$HOME/.openarena\""
# OA uses a different protocol number to reflect incompatible game content
-CVARS="$CVARS +set protocol 71"
+CVARS="$CVARS +set com_protocol 71"
+CVARS="$CVARS +set com_legacyprotocol 71"
# OA's default master server is different
CVARS="$CVARS +set sv_master1 dpmaster.deathmask.net"
# update.quake3arena.com is pretty irrelevant if you're playing OA
CVARS="$CVARS +set cl_motd 0"
+# And last some openarena specific settings
+CVARS="$CVARS +set com_hunkMegs 128"
if [[ "$0" =~ "ded" ]]; then
CVARS="+set dedicated 1 $CVARS"
diff --git a/openarena.spec b/openarena.spec
index 6aa653b..84316e0 100644
--- a/openarena.spec
+++ b/openarena.spec
@@ -1,6 +1,6 @@
Name: openarena
Version: 0.8.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Open source first person shooter
Group: Amusements/Games
License: GPLv2
@@ -10,8 +10,8 @@ Source1: http://download.tuxfamily.org/openarena/rel/085/oa085p.zip
Source2: %{name}.sh
Source3: %{name}.png
Source4: %{name}.desktop
-# We need 1.36-8 or newer for the new protocol cvar
-Requires: quake3 >= 1.36-8
+# We need 1.36-11 or newer for the new standalone game and protocol cvars
+Requires: quake3 >= 1.36-11
Requires: opengl-games-utils
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
@@ -65,6 +65,9 @@ desktop-file-install --vendor="fedora" \
%changelog
+* Thu Jul 28 2011 Hans de Goede <hdegoede at redhat.com> - 0.8.5-3
+- Update launcher script to work with newer quake3 package + require this
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list