aboutsummaryrefslogtreecommitdiff
path: root/games/devilutionx/devilutionx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/devilutionx/devilutionx.SlackBuild')
-rw-r--r--games/devilutionx/devilutionx.SlackBuild20
1 files changed, 3 insertions, 17 deletions
diff --git a/games/devilutionx/devilutionx.SlackBuild b/games/devilutionx/devilutionx.SlackBuild
index 862b46a14ec29..2ff203617097c 100644
--- a/games/devilutionx/devilutionx.SlackBuild
+++ b/games/devilutionx/devilutionx.SlackBuild
@@ -26,13 +26,10 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=devilutionx
SRCNAM=devilutionX
-VERSION=${VERSION:-1.4.0}
-ASIO=${ASIO:-ebeff99f539da23d27c2e8d4bdbc1ee011968644}
+VERSION=${VERSION:-1.4.1}
LIBMPQ=${LIBMPQ:-0f10bd1600f406b13932bf5351ba713361262184}
LIBSMACKERDEC=${LIBSMACKERDEC:-2997ee0e41e91bb723003bc09234be553b190e38}
-SIMPLEINI=${SIMPLEINI:-9b3ed7ec815997bc8c5b9edf140d6bde653e1458}
-SDLAUDIOLIB=${SDLAUDIOLIB:-1a69135313c79817b38a3a99826d4ac28d627fdf}
-LIBZT=${LIBZT:-a34ba7f1cc2e41b05badd25d1b01fdc5fd2f4e02}
+LIBZT=${LIBZT:-37a2efb0b925df632299ef07dc78c0af5f6b4756}
ZEROTIERONE=${ZEROTIERONE:-7f026edea747525189da8d5a58b3a6ff59190246}
LWIP=${LWIP:-32708c0a8b140efb545cc35101ee5fdeca6d6489}
LWIPCONTRIB=${LWIPCONTRIB:-a57a8a213067912168baf978864a6f1adaacc042}
@@ -80,25 +77,16 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-mkdir -p $DEPS/asio-subbuild/asio-populate-prefix/src
mkdir -p $DEPS/libmpq-subbuild/libmpq-populate-prefix/src
mkdir -p $DEPS/libsmackerdec-subbuild/libsmackerdec-populate-prefix/src
-mkdir -p $DEPS/simpleini-subbuild/simpleini-populate-prefix/src
-mkdir -p $DEPS/sdl_audiolib-subbuild/sdl_audiolib-populate-prefix/src
mkdir -p $DEPS/libzt-src/ext/ZeroTierOne
mkdir -p $DEPS/libzt-src/ext/lwip
mkdir -p $DEPS/libzt-src/ext/lwip-contrib
-tar xvf $CWD/asio-$ASIO.tar.gz -C \
- $DEPS/asio-subbuild/asio-populate-prefix/src --strip-components 1
tar xvf $CWD/libmpq-$LIBMPQ.tar.gz -C \
$DEPS/libmpq-subbuild/libmpq-populate-prefix/src --strip-components 1
tar xvf $CWD/libsmackerdec-$LIBSMACKERDEC.tar.gz -C \
$DEPS/libsmackerdec-subbuild/libsmackerdec-populate-prefix/src --strip-components 1
-tar xvf $CWD/simpleini-$SIMPLEINI.tar.gz -C \
- $DEPS/simpleini-subbuild/simpleini-populate-prefix/src --strip-components 1
-tar xvf $CWD/SDL_audiolib-$SDLAUDIOLIB.tar.gz -C \
- $DEPS/sdl_audiolib-subbuild/sdl_audiolib-populate-prefix/src --strip-components 1
tar xvf $CWD/libzt-$LIBZT.tar.gz -C \
$DEPS/libzt-src --strip-components 1
tar xvf $CWD/ZeroTierOne-$ZEROTIERONE.tar.gz -C \
@@ -121,15 +109,13 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_ASSETS_MPQ=ON \
-DBUILD_TESTING=OFF \
-DFETCHCONTENT_FULLY_DISCONNECTED=ON \
-DFETCHCONTENT_QUIET=OFF \
- -DFETCHCONTENT_SOURCE_DIR_ASIO=$DEPS/asio-subbuild/asio-populate-prefix/src \
-DFETCHCONTENT_SOURCE_DIR_LIBMPQ=$DEPS/libmpq-subbuild/libmpq-populate-prefix/src \
-DFETCHCONTENT_SOURCE_DIR_LIBSMACKERDEC=$DEPS/libsmackerdec-subbuild/libsmackerdec-populate-prefix/src \
-DFETCHCONTENT_SOURCE_DIR_LIBZT=$DEPS/libzt-src \
- -DFETCHCONTENT_SOURCE_DIR_SDL_AUDIOLIB=$DEPS/sdl_audiolib-subbuild/sdl_audiolib-populate-prefix/src \
- -DFETCHCONTENT_SOURCE_DIR_SIMPLEINI=$DEPS/simpleini-subbuild/simpleini-populate-prefix/src \
-DVERSION_NUM=${VERSION} \
-DCMAKE_BUILD_TYPE=Release ..
make