diff options
author | Arn0 <yth@ythogtha.org> | 2023-12-08 22:49:08 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-09 07:50:08 +0700 |
commit | 1c8f3151bf8902c81713206832f97a9c2a5dde3a (patch) | |
tree | a6d1e7afa8c5b4c0ce88da3fec0810ae1992c359 /games | |
parent | 3c2cd8e4202c202bc07c91279a8059ce963bde11 (diff) |
games/vcmi: Updated for version 1.4.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/vcmi/vcmi.SlackBuild | 8 | ||||
-rw-r--r-- | games/vcmi/vcmi.info | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/games/vcmi/vcmi.SlackBuild b/games/vcmi/vcmi.SlackBuild index 14f81865a7793..8f91d1526fe01 100644 --- a/games/vcmi/vcmi.SlackBuild +++ b/games/vcmi/vcmi.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vcmi -VERSION=${VERSION:-1.3.2} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -60,6 +60,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -92,6 +95,7 @@ cd build -DLIB_DIR=lib${LIBDIRSUFFIX} \ -DFORCE_BUNDLED_FL=FALSE \ -DENABLE_TEST=OFF \ + -Wno-dev \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -101,7 +105,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog* docs license* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog* docs license* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.GameData > $PKG/usr/doc/$PRGNAM-$VERSION/README.GameData diff --git a/games/vcmi/vcmi.info b/games/vcmi/vcmi.info index 476ee3aad72d5..9803090c9643a 100644 --- a/games/vcmi/vcmi.info +++ b/games/vcmi/vcmi.info @@ -1,8 +1,8 @@ PRGNAM="vcmi" -VERSION="1.3.2" +VERSION="1.4.0" HOMEPAGE="http://forum.vcmi.eu/portal.php" -DOWNLOAD="https://github.com/vcmi/vcmi/archive/1.3.2/vcmi-1.3.2.tar.gz" -MD5SUM="f77ce2533a5f0e6cdd3fc9309c45692d" +DOWNLOAD="https://github.com/vcmi/vcmi/archive/1.4.0/vcmi-1.4.0.tar.gz" +MD5SUM="b2804d5b541dd65fb12e4994a6ee3085" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="fuzzylite libminizip tbb luajit" |