aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/vcmi/vcmi.SlackBuild13
-rw-r--r--games/vcmi/vcmi.info8
-rw-r--r--games/vcmi/vcmi_share.patch11
3 files changed, 13 insertions, 19 deletions
diff --git a/games/vcmi/vcmi.SlackBuild b/games/vcmi/vcmi.SlackBuild
index 37a4dc2e426c7..47ff676777fcb 100644
--- a/games/vcmi/vcmi.SlackBuild
+++ b/games/vcmi/vcmi.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vcmi
-VERSION=${VERSION:-0.96}
+VERSION=${VERSION:-0.97}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,9 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# install vcmi engine in /usr/share/games
-patch -p1 < $CWD/vcmi_share.patch
-
mkdir -p build
cd build
cmake \
@@ -86,6 +83,14 @@ cd ..
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
+# remove static library
+rm $PKG/usr/lib/libfuzzylite-static.a
+
+# fix lib path
+if [ "$ARCH" = "x86_64" ]; then
+ mv $PKG/usr/lib/ $PKG/usr/lib64
+fi
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/vcmi/vcmi.info b/games/vcmi/vcmi.info
index 387d701935c17..bd5efa75d5848 100644
--- a/games/vcmi/vcmi.info
+++ b/games/vcmi/vcmi.info
@@ -1,10 +1,10 @@
PRGNAM="vcmi"
-VERSION="0.96"
+VERSION="0.97"
HOMEPAGE="http://forum.vcmi.eu/portal.php"
-DOWNLOAD="http://download.vcmi.eu/vcmi-0.96.tar.gz"
-MD5SUM="e1eb668cdd6863046bd2aa9a88fb33e8"
+DOWNLOAD="http://download.vcmi.eu/releases/097/vcmi-0.97.tar.gz"
+MD5SUM="11f2000244622706773ce37ca2366ebb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 ffmpeg"
+REQUIRES="qt5 ffmpeg SDL2_image SDL2_mixer SDL2_ttf"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/games/vcmi/vcmi_share.patch b/games/vcmi/vcmi_share.patch
deleted file mode 100644
index e8548fbb4afa6..0000000000000
--- a/games/vcmi/vcmi_share.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- vcmi-0.95/CMakeLists.txt 2014-02-26 16:19:14.000000000 +0200
-+++ vcmi-0.95/CMakeLists.original 2014-03-16 15:34:08.244278825 +0200
-@@ -127,7 +127,7 @@
- set(LIB_DIR "${CMAKE_INSTALL_LIBDIR}/vcmi" CACHE STRING "Where to install main library")
- endif()
- if (NOT DATA_DIR)
-- set(DATA_DIR "share/vcmi" CACHE STRING "Where to install data files")
-+ set(DATA_DIR "share/games/vcmi" CACHE STRING "Where to install data files")
- endif()
- endif()
-