summaryrefslogtreecommitdiffstats
path: root/games/supertux
diff options
context:
space:
mode:
author Matteo Bernardini2019-02-17 19:00:23 +0100
committer Matteo Bernardini2019-02-17 19:00:23 +0100
commit728d1f98285ca36c6f63c48b4a9f3125ef7396ff (patch)
treeb9f9d2618fd06436d8eb61488edebac987197d5e /games/supertux
parent77c0f4770537aea300fccd3189b723bfada95f22 (diff)
downloadslackbuilds-current-20190217.1.tar.gz
20190217.1 global branch merge.current-20190217.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/supertux')
-rw-r--r--games/supertux/README2
-rw-r--r--games/supertux/supertux.SlackBuild13
-rw-r--r--games/supertux/supertux.info6
3 files changed, 12 insertions, 9 deletions
diff --git a/games/supertux/README b/games/supertux/README
index ca35bccc4c..da66a7726f 100644
--- a/games/supertux/README
+++ b/games/supertux/README
@@ -3,3 +3,5 @@ similar to the original SuperMario games.
If you get slow performance, disable the use of OpenGL in the
"Options" menu after SuperTux is started.
+
+libraqm is an optional dependency.
diff --git a/games/supertux/supertux.SlackBuild b/games/supertux/supertux.SlackBuild
index 72e00c5c77..97de41b229 100644
--- a/games/supertux/supertux.SlackBuild
+++ b/games/supertux/supertux.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=supertux
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-20181120_776a61d}
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
@@ -40,8 +40,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"
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,7 +78,8 @@ cd build
-DINSTALL_SUBDIR_BIN=bin \
-DINSTALL_SUBDIR_SHARE=share/$PRGNAM \
-DINSTALL_SUBDIR_DOC=doc/$PRGNAM-$VERSION \
- -DLIB_SUBDIR=lib${LIBDIRSUFFIX} \
+ -DLIB_SUFFIX=lib${LIBDIRSUFFIX} \
+ -DENABLE_BOOST_STATIC_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/games/supertux/supertux.info b/games/supertux/supertux.info
index 299d644b04..33c52d93c7 100644
--- a/games/supertux/supertux.info
+++ b/games/supertux/supertux.info
@@ -1,8 +1,8 @@
PRGNAM="supertux"
-VERSION="0.4.0"
+VERSION="20181120_776a61d"
HOMEPAGE="https://github.com/SuperTux/supertux"
-DOWNLOAD="https://github.com/SuperTux/supertux/releases/download/v0.4.0/supertux-0.4.0.tar.bz2"
-MD5SUM="8acc3aa1077f0da95c99fdd5f4925088"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/supertux-20181120_776a61d.tar.xz"
+MD5SUM="f1621a1caf5513084a80261f4ebe66fd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_image OpenAL physfs"