diff options
author | Jeremy Hansen <jebrhansen+SBo@gmail.com> | 2017-12-14 17:09:43 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-16 07:32:08 +0700 |
commit | b54fb1ad1bd64b5cb301b84e2ceef82c86f70e5f (patch) | |
tree | 3036c3d9a24eff9f6a2ff47be18eb74cada3f9c0 | |
parent | d4cd1416216013e9128216be42adf220158c4c08 (diff) |
games/supertuxkart: Updated for version 0.9.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | games/supertuxkart/README | 3 | ||||
-rw-r--r-- | games/supertuxkart/doinst.sh | 6 | ||||
-rw-r--r-- | games/supertuxkart/supertuxkart.SlackBuild | 19 | ||||
-rw-r--r-- | games/supertuxkart/supertuxkart.info | 6 |
4 files changed, 24 insertions, 10 deletions
diff --git a/games/supertuxkart/README b/games/supertuxkart/README index 477ccd13d30c..0676a9a8bffe 100644 --- a/games/supertuxkart/README +++ b/games/supertuxkart/README @@ -5,3 +5,6 @@ on one PC, racing against each other or just try to beat the computer. Extra karts and tracks can be downloaded from within the game. NOTE: It requires OpenGL 3.1 support and above to play the game. + +To enable in-game recording, pass RECORDER=yes to the script. This requires +libopenglrecorder as an optional dependency. diff --git a/games/supertuxkart/doinst.sh b/games/supertuxkart/doinst.sh index 5fb28930db0b..65c7e2eeb9aa 100644 --- a/games/supertuxkart/doinst.sh +++ b/games/supertuxkart/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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild index 22b195d2505e..049a41e9ba1b 100644 --- a/games/supertuxkart/supertuxkart.SlackBuild +++ b/games/supertuxkart/supertuxkart.SlackBuild @@ -1,10 +1,11 @@ #!/bin/sh # Slackware build script for supertuxkart -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org # Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com> # Copyright 2011-2013 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2014-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=supertuxkart -VERSION=${VERSION:-0.9.2} +VERSION=${VERSION:-0.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,7 +43,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS CHANGELOG.md COPYING INSTALL.md README.md SVN-CONFIG TODO.md" +DOCS="CHANGELOG.md COPYING README.md" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -58,6 +59,12 @@ else LIBDIRSUFFIX="" fi +if [ "${RECORDER:-no}" != "no" ]; then + recorder="-DBUILD_RECORDER=1" +else + recorder="-DBUILD_RECORDER=0" +fi + set -e rm -rf $PKG @@ -73,16 +80,14 @@ 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 {} \; -## as of v0.9+ the irrclicht library can now be passed as a -## flag to cmake, instead of being built separately ;-) mkdir -p build cd build cmake \ - -DIRRLICHT_DIR="lib/irrlicht" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release .. + -DCMAKE_BUILD_TYPE=Release \ + $recorder .. make VERBOSE=1 make install DESTDIR=$PKG cd .. diff --git a/games/supertuxkart/supertuxkart.info b/games/supertuxkart/supertuxkart.info index a5c7f9ad0899..a541d0321555 100644 --- a/games/supertuxkart/supertuxkart.info +++ b/games/supertuxkart/supertuxkart.info @@ -1,8 +1,8 @@ PRGNAM="supertuxkart" -VERSION="0.9.2" +VERSION="0.9.3" HOMEPAGE="http://supertuxkart.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.9.2/supertuxkart-0.9.2-src.tar.xz" -MD5SUM="f1f5081fd41b8eeb310b4edc07b9ee12" +DOWNLOAD="http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.9.3/supertuxkart-0.9.3-src.tar.xz" +MD5SUM="8de5455b8fdbb92679e302b76c9041cf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="OpenAL" |