games/eduke32: Updated for version 20170123_6052.

This commit is contained in:
B. Watson 2017-01-28 19:11:41 -05:00 committed by Willy Sudiarto Raharjo
parent 55a7f0819c
commit 62c5e90e71
2 changed files with 15 additions and 11 deletions

View File

@ -6,6 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20170128 bkw:
# - update for 20170123_6052
# - add new utilities
# - compilefix.diff no longer needed
# 20160808 bkw: # 20160808 bkw:
# - update for 20160704_5811 # - update for 20160704_5811
# - install samples/ to the doc dir, not the game data dir # - install samples/ to the doc dir, not the game data dir
@ -20,7 +25,7 @@
# - slack-desc shows SDL version and whether or not libvpx was used. # - slack-desc shows SDL version and whether or not libvpx was used.
PRGNAM=eduke32 PRGNAM=eduke32
VERSION=${VERSION:-20160704_5811} VERSION=${VERSION:-20170123_6052}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -73,8 +78,6 @@ else
ANDVPX=" and libvpx" ANDVPX=" and libvpx"
fi fi
patch -p1 < $CWD/compilefix.diff
# On some systems, the game spits out tons of warnings: # On some systems, the game spits out tons of warnings:
# Error: glGetTexLevelParameteriv returned GL_FALSE! # Error: glGetTexLevelParameteriv returned GL_FALSE!
# These don't seem to actually hurt anything (the game looks # These don't seem to actually hurt anything (the game looks
@ -103,18 +106,18 @@ make \
# Build the utilities, if requested. # Build the utilities, if requested.
if [ "${BUILD_UTILS:-yes}" = "yes" ]; then if [ "${BUILD_UTILS:-yes}" = "yes" ]; then
make utils \ make utils sdlutils \
OPTIMIZATIONS="$SLKCFLAGS" \ OPTIMIZATIONS="$SLKCFLAGS" \
ARCH="" \ ARCH="" \
$VPXFLAG \ $VPXFLAG \
SDL_TARGET=$SDL_TARGET \ SDL_TARGET=$SDL_TARGET \
for i in kextract kgroup transpal wad2art wad2map; do for i in kextract kgroup transpal wad2art wad2map kmd2tool \
md2tool generateicon cacheinfo arttool givedepth \
mkpalette unpackssi map2stl ivfrate makesdlkeytrans
do
install -s -D -m0755 $i $PKG/usr/games/$i install -s -D -m0755 $i $PKG/usr/games/$i
done done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp build/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
fi fi
install -D -m0755 $PRGNAM $PKG/usr/libexec/$PRGNAM/$PRGNAM install -D -m0755 $PRGNAM $PKG/usr/libexec/$PRGNAM/$PRGNAM
@ -140,6 +143,7 @@ mkdir -p $PKG/usr/share/pixmaps
cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp build/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cp build/buildlic.txt source/gpl-2.0.txt $CWD/README_game_data.txt \ cp build/buildlic.txt source/gpl-2.0.txt $CWD/README_game_data.txt \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cp -r package/sdk/samples $PKG/usr/doc/$PRGNAM-$VERSION cp -r package/sdk/samples $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,8 +1,8 @@
PRGNAM="eduke32" PRGNAM="eduke32"
VERSION="20160704_5811" VERSION="20170123_6052"
HOMEPAGE="http://www.eduke32.com/" HOMEPAGE="http://www.eduke32.com/"
DOWNLOAD="http://dukeworld.duke4.net/eduke32/synthesis/20160704-5811/eduke32_src_20160704-5811.tar.xz" DOWNLOAD="http://dukeworld.duke4.net/eduke32/synthesis/20170123-6052/eduke32_src_20170123-6052.tar.xz"
MD5SUM="979df7dfbe3584f88b40cdab88e37f4a" MD5SUM="b3109ceca104bb4550ebeb58fc5b38f6"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""