diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2016-08-10 05:32:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-10 05:32:54 +0700 |
commit | 024cd43632b30e92bfce53cd13033daece99ec4d (patch) | |
tree | 1c0a4b807fb0b16cb916dba778a0ae5bdeababbd /games | |
parent | 834f25d46a309861fc6d478686c45a9bca1afaae (diff) | |
download | slackbuilds-024cd43632b30e92bfce53cd13033daece99ec4d.tar.gz |
games/dhewm3: Updated for version 1.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/dhewm3/README | 10 | ||||
-rw-r--r-- | games/dhewm3/dhewm3.SlackBuild | 13 | ||||
-rw-r--r-- | games/dhewm3/dhewm3.info | 10 |
3 files changed, 21 insertions, 12 deletions
diff --git a/games/dhewm3/README b/games/dhewm3/README index f6951ef694..17c308311e 100644 --- a/games/dhewm3/README +++ b/games/dhewm3/README @@ -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* diff --git a/games/dhewm3/dhewm3.SlackBuild b/games/dhewm3/dhewm3.SlackBuild index 480f7cf0ce..922448127d 100644 --- a/games/dhewm3/dhewm3.SlackBuild +++ b/games/dhewm3/dhewm3.SlackBuild @@ -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 diff --git a/games/dhewm3/dhewm3.info b/games/dhewm3/dhewm3.info index 740f948e41..4f2dcf3479 100644 --- a/games/dhewm3/dhewm3.info +++ b/games/dhewm3/dhewm3.info @@ -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"
\ No newline at end of file +EMAIL="ovariegata@yahoo.com" |