summaryrefslogtreecommitdiffstats
path: root/games/alephone
diff options
context:
space:
mode:
Diffstat (limited to 'games/alephone')
-rw-r--r--games/alephone/README8
-rw-r--r--games/alephone/alephone.SlackBuild28
-rw-r--r--games/alephone/alephone.info10
-rw-r--r--games/alephone/doinst.sh6
4 files changed, 32 insertions, 20 deletions
diff --git a/games/alephone/README b/games/alephone/README
index c35b1801a2..2afc0c2c53 100644
--- a/games/alephone/README
+++ b/games/alephone/README
@@ -1,3 +1,5 @@
+alephone (open-source continuation of Marathon 2 engine)
+
Aleph One is the open source continuation of Bungie's Marathon 2 game
engine. Available for Mac OS X, Windows, and Linux, Aleph One supports
Marathon 2 and Marathon Infinity natively, and Marathon through a
@@ -12,9 +14,3 @@ the Marathon series is required to play. Install one or more of
marathon-data, marathon2-data, and/or marathon-infinite-data.
See the READMEs for the game data packages for more information.
-
-Although ffmpeg is listed as a dependency, it's possible to build
-without it by setting FFMPEG=no in the script's environment (which will
-disable in-game movie playback/recording). This option is provided as a
-desperation measure only, since ffmpeg's API is a moving target. Please
-contact the maintainer if you have ffmpeg-related build issues.
diff --git a/games/alephone/alephone.SlackBuild b/games/alephone/alephone.SlackBuild
index 24f2781fd1..cc44600a50 100644
--- a/games/alephone/alephone.SlackBuild
+++ b/games/alephone/alephone.SlackBuild
@@ -1,21 +1,29 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for alephone
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240320 bkw: update for 20240119
+# 20230716 bkw: update for 20230529
+# 20230108 bkw: update for 20221126
+# 20211010 bkw: update for 20210408
+# 20201026 bkw: update for 20201026
# 20191209 bkw: update for 20190331
# 20150915 bkw:
# - update for 20150620 release
# - ffmpeg patches no longer needed
# - move binary to /usr/games
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=alephone
-VERSION=${VERSION:-20190331}
+VERSION=${VERSION:-20240119}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -25,7 +33,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,8 +72,6 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
[ "${FFMPEG:-yes}" = "no" ] && EXTRAOPT=--without-ffmpeg
-#patch -Np1 < $CWD/ffmpeg3.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
@@ -88,8 +98,8 @@ mkdir -p $PKG/usr/share/pixmaps
cat Source_Files/Misc/$PRGNAM.xpm > $PKG/usr/share/pixmaps/$PRGNAM.xpm
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-# ChangeLog is 0 bytes in 20140104, ignore it
-cp -a AUTHORS COPYING README THANKS examples docs/*.html \
+# ChangeLog was 0 bytes in 20140104, gone in 20201026.
+cp -a AUTHORS* COPYING* README* THANKS* examples docs/*.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -98,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/alephone/alephone.info b/games/alephone/alephone.info
index ee945db9a2..c352b1c174 100644
--- a/games/alephone/alephone.info
+++ b/games/alephone/alephone.info
@@ -1,10 +1,10 @@
PRGNAM="alephone"
-VERSION="20190331"
+VERSION="20240119"
HOMEPAGE="https://alephone.lhowon.org/"
-DOWNLOAD="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20190331/AlephOne-20190331.tar.bz2"
-MD5SUM="2a09e74a136213d479e4eae9e882a682"
+DOWNLOAD="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20240119/AlephOne-20240119.tar.bz2"
+MD5SUM="a4ff8cd07f052190f02982d7773ca3b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua speex zziplib ffmpeg SDL2_net"
+REQUIRES="lua zziplib"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/games/alephone/doinst.sh b/games/alephone/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/games/alephone/doinst.sh
+++ b/games/alephone/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi