[Lunar-commits] <moonbase> alienarena: Version bump. Quite a few changes here.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Dec 16 19:22:49 CET 2010


commit 8d7da9795552fab685d8a5720a1f0d0f4c46b8b4
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Dec 16 13:22:49 2010 -0500

    alienarena: Version bump. Quite a few changes here.
---
 games/alienarena/BUILD     |   40 ++++------------------------------------
 games/alienarena/CONFIGURE |    2 ++
 games/alienarena/DEPENDS   |    5 ++++-
 games/alienarena/DETAILS   |   16 ++++++++--------
 4 files changed, 18 insertions(+), 45 deletions(-)

diff --git a/games/alienarena/BUILD b/games/alienarena/BUILD
index 5224ba4..ebd64e1 100644
--- a/games/alienarena/BUILD
+++ b/games/alienarena/BUILD
@@ -1,38 +1,6 @@
 (
 
-  sedit "s:xf86dga.h:Xxf86dga.h:" source/unix/gl_glx.c &&
-
-  DATADIR="/usr/share/games/$MODULE"  &&
-  LIBDIR="/usr/lib/$MODULE"  &&
-
-  cd source  &&
-
-# A temporary sedit to fix the jpeg-8 name space collision
-  sedit "s:jpeg_mem_src:jpeg_load_raw:g" ref_gl/r_image.c &&
-  
-  # Lunar isn't multilib
-  sedit "s:lib64:lib:" Makefile  &&
-
-  make \
-    PREFIX=/usr WITH_DATADIR=yes WITH_LIBDIR=yes ARCH="$CPU" \
-    DATADIR="$DATADIR" \
-    LIBDIR="$LIBDIR"  &&
-
-  prepare_install  &&
-
-  mkdir -p /usr/games $DATADIR $LIBDIR  &&
-
-  # OpenGL seems more stable than SDL, but may vary.
-  # These are sane executable filenames.
-  install -D -m755 release/crx   /usr/games/${MODULE}      &&
-  install -D -m755 release/crded /usr/games/${MODULE}-ded  &&
-  install -D -m755 release/arena/game.so $LIBDIR/arena/game.so   &&
-
-  # Data files (might contain spaces)
-  cd ..  &&
-  find arena botinfo data1 -type f | while read i ; do
-    install -D -m644 "$i" "${DATADIR}/$i"
-  done  &&
+  default_build &&
 
   # Desktop icon
   install -D -m644 aa.png /usr/share/pixmaps/${MODULE}.png  &&
@@ -43,13 +11,13 @@
 Type=Application
 Name=Alien Arena
 Comment=Multiplayer retro sci-fi deathmatch
-Exec=$MODULE
-Icon=$MODULE
+Exec=crx
+Icon=/usr/share/pixmaps/${MODULE}.png
 Categories=Game;ActionGame;
 EOF
 
   install -D -m644 ${MODULE}.desktop /usr/share/applications/${MODULE}.desktop  &&
 
-  mv $SOURCE_DIRECTORY/docs/{license,README}.txt .
+  install -D -m664 Tools/LinuxScripts/* /usr/share/doc/alienarena/
 
 ) > $C_FIFO 2>&1
diff --git a/games/alienarena/CONFIGURE b/games/alienarena/CONFIGURE
new file mode 100644
index 0000000..8de12b0
--- /dev/null
+++ b/games/alienarena/CONFIGURE
@@ -0,0 +1,2 @@
+mquery USE_DED "Install as a dedicated server only?" n "--disable-client" "--enable-client"
+
diff --git a/games/alienarena/DEPENDS b/games/alienarena/DEPENDS
index d70a53e..c3ec3e5 100644
--- a/games/alienarena/DEPENDS
+++ b/games/alienarena/DEPENDS
@@ -1,3 +1,6 @@
-depends libXxf86dga
 depends curl
 depends openal
+depends ode
+
+optional_depends libXxf86dga "--with-xf86dga" "--without-xf86dga" "For xf86dga support"
+optional_depends libXxf86vm  "--with-xf86vm"  "--without-xf86vm"  "For xf86vm support"
diff --git a/games/alienarena/DETAILS b/games/alienarena/DETAILS
index e3236d0..b89ed42 100644
--- a/games/alienarena/DETAILS
+++ b/games/alienarena/DETAILS
@@ -1,14 +1,14 @@
           MODULE=alienarena
-         VERSION=20100726
-             VER=7_45
-              OS=Linux
-          SOURCE=${MODULE}$VER-$OS$VERSION.zip
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/${MODULE}${VER}
-      SOURCE_URL=http://icculus.org/alienarena/Files
-      SOURCE_VFY=sha1:9c982d097d885af0cbd06bfbe6c4185936c43c4d
+         VERSION=20101214
+             VER=7_50
+              OS=linux
+          SOURCE=${MODULE}-$VER-$OS$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${MODULE}-7.50
+      SOURCE_URL=http://icculus.org/alienarena/Files/
+      SOURCE_VFY=sha1:f71c5b65060befcaa6fba5897904d558a0c96b3f
         WEB_SITE=http://red.planetarena.org
          ENTERED=20080606
-         UPDATED=20100729
+         UPDATED=20101216
            SHORT="FPS freeware online deathmatch game"
 
 cat << EOF


More information about the Lunar-commits mailing list