aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/alienarena/README31
-rw-r--r--games/alienarena/alienarena-7.66-no-qglBlitFramebufferEXT.patch19
-rw-r--r--games/alienarena/alienarena.SlackBuild63
-rw-r--r--games/alienarena/alienarena.desktop9
-rw-r--r--games/alienarena/alienarena.info8
-rw-r--r--games/alienarena/checkout_code.sh6
-rw-r--r--games/alienarena/slack-desc16
7 files changed, 56 insertions, 96 deletions
diff --git a/games/alienarena/README b/games/alienarena/README
index 61177c74001ef..c3a257269bf4c 100644
--- a/games/alienarena/README
+++ b/games/alienarena/README
@@ -1,13 +1,18 @@
-The goal of Alien Arena was to create the perfect marriage between
-Quake and Unreal Tournament, between retro sci-fi and futuristic tech,
-and between casual gamer and advanced expert, and wrap it up in a
-package with quality that could rival that of commercial games. The
-game has a weapon set that is unique and fun, and deviates a bit
-away from the standard Q3 or UT2k4 weapons. Gameplay can be altered
-easily in the menu by choosing between the various game types, such
-as Deathmatch, Team Core Assault, All Out Assault, Capture the Flag,
-Duel, and Cattle Prod. Users can also apply a number of different
-mutators to the game rules as well, creating some pretty interesting
-scenarios. Players can join others on servers using the in-game
-browser, or use the Galaxy client, which also serves as a way to
-communicate with the large, and friendly Alien Arena community.
+ALIEN ARENA is a fast paced arena FPS game with multiple modes,
+mutators and level, wrapped in a macabre sci-fi theme that harkens back
+to the classic themes of the 1950's.
+
+The game features 23 levels, which can be played competitively online
+against other players, or practice offline against the built in AI
+(bots).
+
+Alien Arena offers Capture The Flag, All Out Assault(players can climb
+into randomly spawned jetpacks to do battle), and Tactical (Alien Vs
+Human in a battle to destroy the other's base by planting bombs and
+other means). Simply go into the multiplayer menu to start a server,
+change the game rules , and choose a map to play on. You can also
+select from a large variety of different mutators(instagib, rocket
+arena, excessive, low grav, regen, vampire, etc) to further customize
+your game experience.
+
+Alien Arena : Many are called, only one will reign supreme.
diff --git a/games/alienarena/alienarena-7.66-no-qglBlitFramebufferEXT.patch b/games/alienarena/alienarena-7.66-no-qglBlitFramebufferEXT.patch
deleted file mode 100644
index 981a4769a35f4..0000000000000
--- a/games/alienarena/alienarena-7.66-no-qglBlitFramebufferEXT.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur alienarena-7.66-svn4307/source/ref_gl/r_shadowmaps.c alienarena-7.66-svn4307.patched/source/ref_gl/r_shadowmaps.c
---- alienarena-7.66-svn4307/source/ref_gl/r_shadowmaps.c 2017-08-02 05:34:56.000000000 -0400
-+++ alienarena-7.66-svn4307.patched/source/ref_gl/r_shadowmaps.c 2022-02-22 23:27:40.462295225 -0500
-@@ -92,15 +92,6 @@
- {
- Com_Printf("...GL_EXT_framebuffer_blit not found\n");
- }
--
-- //must check for ability to blit(Many old ATI drivers do not support)
-- //TODO: redundant with previous check?
-- if(gl_state.hasFBOblit) {
-- if(!qglBlitFramebufferEXT) {
-- Com_Printf("glBlitFramebufferEXT not found...\n");
-- gl_state.hasFBOblit = false;
-- }
-- }
- }
-
-
diff --git a/games/alienarena/alienarena.SlackBuild b/games/alienarena/alienarena.SlackBuild
index fa690a79c99b8..8e1377451f00f 100644
--- a/games/alienarena/alienarena.SlackBuild
+++ b/games/alienarena/alienarena.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for alienarena
# Copyright 2010-2013 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,16 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2:
-# - remove empty dirs and INSTALL from doc dir.
-
-# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=alienarena
-VERSION=${VERSION:-7.66}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-7.71.6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,8 +68,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION-svn4307
-tar -xvf $CWD/$PRGNAM-$VERSION-svn4307.tar.xz
-cd $PRGNAM-$VERSION-svn4307
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,47 +77,40 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# 20220222 bkw: this patch wouldn't apply. WTF? reworked it by hand.
-# Not really sure it's necessary, but someone thought it was, so...
-patch -p1 < $CWD/alienarena-7.66-no-qglBlitFramebufferEXT.patch
-
-rm -rf source/unix/ode
-
-sed -i -e "s|crx|$PRGNAM|g" -e "s|\.codred|\.${PRGNAM}|g" Tools/LinuxScripts/*
+# Change Makefile.ni to not include INSTALL as docs to keep sbolint happy
+sed -i '/unix_dist\/INSTALL \\/d' Makefile.in
-SLKCFLAGS+=" -fcommon"
-
-ALIENARENA_HOMEDIR=".${PRGNAM}" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --bindir=/usr/games \
- --disable-silent-rules \
- --disable-dependency-tracking \
- --with-x \
- --with-zlib \
- --enable-ansi-color \
- --with-system-libode \
- --without-xf86dga \
- --with-icondir=/usr/share/pixmaps \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+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
+# Move .desktop from docs to correct folder
mkdir -p $PKG/usr/share/applications
-install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
+mv $PKG/usr/doc/$PRGNAM-$VERSION/alien-arena.desktop $PKG/usr/share/applications/
-PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Tools/* $PKGDOC
-rm -rf $PKGDOC/INSTALL
-cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+# Fix .desktop compliance issue to remove extension from icon entry
+sed -i 's|.png||' $PKG/usr/share/applications/alien-arena.desktop
-# doc permissions are bad, plus empty directories.
-find $PKGDOC -type f -exec chmod 0644 '{}' \+
-find $PKGDOC -depth -empty -exec rm -rf {} \+
+cp -a \
+ docs/README.txt docs/license.txt docs/sha2_license.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/games/alienarena/alienarena.desktop b/games/alienarena/alienarena.desktop
deleted file mode 100644
index f73347fc8ba68..0000000000000
--- a/games/alienarena/alienarena.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Alien Arena
-Comment=Multiplayer retro sci-fi deathmatch with Friggin' Aliens
-Exec=alienarena
-Icon=alienarena
-Categories=Game;ActionGame;
-Terminal=false
-StartupNotify=false
diff --git a/games/alienarena/alienarena.info b/games/alienarena/alienarena.info
index 65802ec3ab2a8..cc11f50479ad8 100644
--- a/games/alienarena/alienarena.info
+++ b/games/alienarena/alienarena.info
@@ -1,8 +1,8 @@
PRGNAM="alienarena"
-VERSION="7.66"
-HOMEPAGE="http://icculus.org/alienarena/rpa/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/alienarena-7.66-svn4307.tar.xz"
-MD5SUM="bdaa12739a196df9fc1abc18a9ccfbbe"
+VERSION="7.71.6"
+HOMEPAGE="https://www.alienarena.org/"
+DOWNLOAD="https://github.com/alienarena/alienarena/archive/refs/tags/7.71.6/alienarena-7.71.6.tar.gz"
+MD5SUM="2c5b49ce167f405db7f26754e765d2df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ode"
diff --git a/games/alienarena/checkout_code.sh b/games/alienarena/checkout_code.sh
deleted file mode 100644
index d78a5c0e1a90f..0000000000000
--- a/games/alienarena/checkout_code.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-svn co svn://svn.icculus.org/alienarena/trunk
-cd trunk
-svn update -r 4307
-cd ..
-mv trunk alienarena-7.66-svn4307
-tar --exclude-vcs -cJf alienarena-7.66-svn4307.tar.xz alienarena-7.66-svn4307
diff --git a/games/alienarena/slack-desc b/games/alienarena/slack-desc
index c684d0341094f..2f9afe3f96b9f 100644
--- a/games/alienarena/slack-desc
+++ b/games/alienarena/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-alienarena: alienarena (First Person Shooter)
-alienarena:
-alienarena: Alienarena is a First Person Shooter (FPS) that is similar to
-alienarena: Quake and Unreal Tournament.
-alienarena:
-alienarena: Homepage: http://icculus.org/alienarena/rpa/
-alienarena:
-alienarena:
+alienarena: alienarena (Ultra fast-paced arena FPS game)
alienarena:
+alienarena: ALIEN ARENA is a fast paced arena FPS game with multiple modes,
+alienarena: mutators and level, wrapped in a macabre sci-fi theme that harkens
+alienarena: back to the classic themes of the 1950's.
alienarena:
+alienarena: The game features 23 levels, which can be played competitively online
+alienarena: against other players, or practice offline against the built in
+alienarena: AI(bots).
alienarena:
+alienarena: Homepage: https://www.alienarena.org/