diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2016-11-27 16:50:20 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-03 07:17:45 +0700 |
commit | b9d3a3ba7eba15efa9df6d7fcaa447c14fe200f8 (patch) | |
tree | 6f7e1c8ffab7d9dbfe920da86bea09cbdbdf43b0 /games | |
parent | 551941e398b66addefc54988f0c309e0dbf98327 (diff) | |
download | slackbuilds-b9d3a3ba7eba15efa9df6d7fcaa447c14fe200f8.tar.gz |
games/vcmi: Updated for version 0.99.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/vcmi/doinst.sh | 6 | ||||
-rw-r--r-- | games/vcmi/github-aa00fdbd0e9.patch.gz | bin | 901 -> 0 bytes | |||
-rw-r--r-- | games/vcmi/vcmi.SlackBuild | 14 | ||||
-rw-r--r-- | games/vcmi/vcmi.info | 6 |
4 files changed, 14 insertions, 12 deletions
diff --git a/games/vcmi/doinst.sh b/games/vcmi/doinst.sh index 5fb28930db..3e5691a052 100644 --- a/games/vcmi/doinst.sh +++ b/games/vcmi/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/games/vcmi/github-aa00fdbd0e9.patch.gz b/games/vcmi/github-aa00fdbd0e9.patch.gz Binary files differdeleted file mode 100644 index 64fbf948cb..0000000000 --- a/games/vcmi/github-aa00fdbd0e9.patch.gz +++ /dev/null diff --git a/games/vcmi/vcmi.SlackBuild b/games/vcmi/vcmi.SlackBuild index 9915cd178f..46cde39a3c 100644 --- a/games/vcmi/vcmi.SlackBuild +++ b/games/vcmi/vcmi.SlackBuild @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vcmi -VERSION=${VERSION:-0.98} +VERSION=${VERSION:-0.99} 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 @@ -41,8 +41,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" @@ -61,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -70,10 +70,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 {} \; -# Fix building with boost-1.58 -# Thanks to rohit-n on github https://github.com/vcmi/vcmi/pull/102 -zcat $CWD/github-aa00fdbd0e9.patch.gz | patch -p1 - mkdir -p build cd build cmake \ diff --git a/games/vcmi/vcmi.info b/games/vcmi/vcmi.info index 84ee94c133..c44460468e 100644 --- a/games/vcmi/vcmi.info +++ b/games/vcmi/vcmi.info @@ -1,8 +1,8 @@ PRGNAM="vcmi" -VERSION="0.98" +VERSION="0.99" HOMEPAGE="http://forum.vcmi.eu/portal.php" -DOWNLOAD="https://github.com/vcmi/vcmi/archive/0.98.tar.gz" -MD5SUM="6a69e52a3380358220eba67332b097c6" +DOWNLOAD="https://github.com/vcmi/vcmi/archive/0.99/vcmi-0.99.tar.gz" +MD5SUM="686c2a0283184add785d50b447db806f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="qt5 ffmpeg SDL2_image SDL2_mixer SDL2_ttf fuzzylite" |