summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/eduke32/eduke32.SlackBuild26
-rw-r--r--games/eduke32/eduke32.info6
2 files changed, 20 insertions, 12 deletions
diff --git a/games/eduke32/eduke32.SlackBuild b/games/eduke32/eduke32.SlackBuild
index 846b2b9c69..8bf86474af 100644
--- a/games/eduke32/eduke32.SlackBuild
+++ b/games/eduke32/eduke32.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=eduke32
-VERSION=${VERSION:-20110325_1856}
+VERSION=${VERSION:-20130620_3893}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,13 +48,19 @@ cd ${PRGNAM}_${SRCVER}
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
-# Latest src is only available as a diff against the previous
-# release, it came from here:
-# http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff
-#zcat $CWD/${PRGNAM}_src_${VERSION}.diff.gz | patch -p1
+if [ "${VPX:-no}" != "yes" ]; then
+ VPXFLAG="USE_LIBVPX=0"
+fi
+
+# On some systems, the game spits out tons of warnings:
+# Error: glGetTexLevelParameteriv returned GL_FALSE!
+# These don't seem to actually hurt anything (the game looks
+# and plays fine), so let's get rid of them to clean up
+# the log output.
+sed -i '/"Error: glGetTexLevelParameteriv/d' build/src/texcache.c
# Mildly confusing: the Makefile uses ARCH for arch-specific cflags
-make ARCH="$SLKCFLAGS"
+make ARCH="$SLKCFLAGS" $VPXFLAG
# Build the utilities, if requested.
if [ "${BUILD_UTILS:-yes}" = "yes" ]; then
@@ -82,8 +88,10 @@ install -D -m0755 $CWD/$PRGNAM.wrapper $PKG/usr/games/$PRGNAM
# Mapster help files
mkdir -p $PKG/usr/share/games/$PRGNAM
-cp *.hlp *.HLP names.h samples/tiles.cfg $PKG/usr/share/games/$PRGNAM
+cd package
+cp *.hlp *.HLP names.h tiles.cfg $PKG/usr/share/games/$PRGNAM
cp -r samples $PKG/usr/share/games/$PRGNAM/samples
+cd -
mkdir -p $PKG/usr/share/applications
cp $CWD/mapster32.desktop $CWD/$PRGNAM.desktop $PKG/usr/share/applications
@@ -92,8 +100,8 @@ mkdir -p $PKG/usr/share/pixmaps
cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp ChangeLog* *.txt *.TXT $CWD/README_game_data.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+#cp ChangeLog* *.txt *.TXT $CWD/README_game_data.txt \
+#$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/share/games/$PRGNAM
diff --git a/games/eduke32/eduke32.info b/games/eduke32/eduke32.info
index f44b512004..ec8e620f8b 100644
--- a/games/eduke32/eduke32.info
+++ b/games/eduke32/eduke32.info
@@ -1,8 +1,8 @@
PRGNAM="eduke32"
-VERSION="20110325_1856"
+VERSION="20130620_3893"
HOMEPAGE="http://www.eduke32.com/"
-DOWNLOAD="http://dukeworld.duke4.net/eduke32/synthesis/20110325-1856/eduke32_src_20110325-1856.tar.bz2"
-MD5SUM="8cb6024fd5fe04bbcf9036641b6332da"
+DOWNLOAD="http://dukeworld.duke4.net/eduke32/synthesis/20130620-3893/eduke32_src_20130620-3893.tar.bz2"
+MD5SUM="2e8072c5a67ec758fa4a7fbfd78b1016"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""