mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/dhewm3: Updated for version 1.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
834f25d46a
commit
024cd43632
3 changed files with 21 additions and 12 deletions
|
@ -17,5 +17,11 @@ game code use: BASE="no" CORE="no" D3XP="no" SERVER="yes" ./dhewm3.SlackBuild
|
|||
|
||||
Doom 3 and the Resurrection of Evil expansion pack data are not included with dhewm 3 and are
|
||||
still covered by the original EULA. They must be acquired separately such as from the retail
|
||||
DVDs or with SteamCMD. The data pak00*.pk4 files need to be placed in /usr/share/dhewm3/base
|
||||
for Doom 3 and /usr/share/dhewm3/d3xp for RoE, symbolic links to the data directories will work.
|
||||
DVDs or with SteamCMD. The data pak00*.pk4 files need to be placed in the Doom 3 data directory
|
||||
(/usr/share/games/dhewm3/base) and for RoE (/usr/share/games/dhewm3/d3xp), symbolic links to the
|
||||
data directories will work.
|
||||
|
||||
For those using the CDs/DVD to obtain the game data, the official 1.3.1 patch for Linux will also
|
||||
be needed. For example:
|
||||
|
||||
sh /path/to/doom3-linux-1.3.1.1304.x86.run --tar xvf --wildcards base/pak* d3xp/pak*
|
||||
|
|
|
@ -23,13 +23,13 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=dhewm3
|
||||
VERSION=${VERSION:-1.4.0}
|
||||
VERSION=${VERSION:-1.4.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -81,14 +81,15 @@ cd neo/build
|
|||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_BINDIR=/usr/games \
|
||||
-DCMAKE_INSTALL_BINDIR=games \
|
||||
-DCMAKE_INSTALL_DATAROOTDIR=share/games \
|
||||
$base $core $d3xp $server \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
cd ../..
|
||||
|
||||
mkdir -p $PKG/usr/share/$PRGNAM
|
||||
mkdir -p $PKG/usr/share/games/$PRGNAM
|
||||
|
||||
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
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
PRGNAM="dhewm3"
|
||||
VERSION="1.4.0"
|
||||
VERSION="1.4.1"
|
||||
HOMEPAGE="https://github.com/dhewm/dhewm3"
|
||||
DOWNLOAD="https://github.com/dhewm/dhewm3/archive/1.4.0.tar.gz"
|
||||
MD5SUM="6cabb092cf7a428ac248d700ad3c0212"
|
||||
DOWNLOAD="https://github.com/dhewm/dhewm3/archive/1.4.1.tar.gz \
|
||||
http://files.holarse-linuxgaming.de/native/Spiele/Doom%203/doom3-linux-1.3.1.1304.x86.run"
|
||||
MD5SUM="cf5ccd169accd324d3916e2f9d7a9e0d \
|
||||
6325f0936f59420d33668754032141cb"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="OpenAL SDL2"
|
||||
MAINTAINER="Hunter Sezen"
|
||||
EMAIL="ovariegata@yahoo.com"
|
||||
EMAIL="ovariegata@yahoo.com"
|
||||
|
|
Loading…
Reference in a new issue