summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-02-08 11:52:28 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:49 +0700
commit8e82ac6e332adc0fc9da95e3449aabda4df52e73 (patch)
treef08df0f10a1290e24767e447e0546edc31e089fd /games
parent63bc8a45fcbd800853ef2efb07c5b966d3763985 (diff)
downloadslackbuilds-8e82ac6e332adc0fc9da95e3449aabda4df52e73.tar.gz
games/unknown-horizons: Updated for version 2017.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/unknown-horizons/coloroverlaycomponent.patch24
-rw-r--r--games/unknown-horizons/unknown-horizons.SlackBuild8
-rw-r--r--games/unknown-horizons/unknown-horizons.info6
3 files changed, 6 insertions, 32 deletions
diff --git a/games/unknown-horizons/coloroverlaycomponent.patch b/games/unknown-horizons/coloroverlaycomponent.patch
deleted file mode 100644
index 98d862609d..0000000000
--- a/games/unknown-horizons/coloroverlaycomponent.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 405c514eab9e2abffe8d1a8912646447e6a29cfa Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Kilian=20K=C3=B6ppchen?= <kiliankoeppchen@googlemail.com>
-Date: Fri, 2 Jan 2015 22:52:54 +0100
-Subject: [PATCH] Use animationloader instead of imagemanager to
-
-retrieve images. The imagemanager isn't necessarily aware of
-the files available as animations.
----
- horizons/component/coloroverlaycomponent.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/horizons/component/coloroverlaycomponent.py b/horizons/component/coloroverlaycomponent.py
-index 23d138b..41bbbff 100644
---- a/horizons/component/coloroverlaycomponent.py
-+++ b/horizons/component/coloroverlaycomponent.py
-@@ -166,7 +166,7 @@ def add_overlay(self, overlay_name, z_order):
- except TypeError:
- # not using atlases
- frame_length = frame_data
-- pic = horizons.globals.fife.imagemanager.load(frame_img)
-+ pic = horizons.globals.fife.animationloader.load_image(frame_img, self.action_set, overlay_name, rotation)
- frame_milliseconds = int(frame_length * 1000)
- ov_anim.addFrame(pic, frame_milliseconds)
- overlay = fife.OverlayColors(ov_anim)
diff --git a/games/unknown-horizons/unknown-horizons.SlackBuild b/games/unknown-horizons/unknown-horizons.SlackBuild
index b901d99cb8..eabb28524d 100644
--- a/games/unknown-horizons/unknown-horizons.SlackBuild
+++ b/games/unknown-horizons/unknown-horizons.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for unknown-horizons
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=unknown-horizons
-VERSION=${VERSION:-2014.1}
+VERSION=${VERSION:-2017.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,8 +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 {} \;
-patch -p1 < $CWD/coloroverlaycomponent.patch
-
python setup.py install --root=$PKG
mkdir -p $PKG/usr/share/applications
@@ -90,7 +88,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 CONTRIBUTING.md README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/unknown-horizons/unknown-horizons.info b/games/unknown-horizons/unknown-horizons.info
index 919730fd6b..e8e4609330 100644
--- a/games/unknown-horizons/unknown-horizons.info
+++ b/games/unknown-horizons/unknown-horizons.info
@@ -1,8 +1,8 @@
PRGNAM="unknown-horizons"
-VERSION="2014.1"
+VERSION="2017.2"
HOMEPAGE="http://www.unknown-horizons.org"
-DOWNLOAD="https://github.com/unknown-horizons/unknown-horizons/archive/2014.1.tar.gz"
-MD5SUM="e308539649c7c42da34a463af7f6c946"
+DOWNLOAD="https://github.com/unknown-horizons/unknown-horizons/archive/2017.2.tar.gz"
+MD5SUM="c0ae0b064ea4d7f5fd12b985042c5495"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fifengine PyYAML"