games/supertuxkart: Updated for version 0.7.3, new maintainer.

This now includes an add-ons system, so extra-karts and extra-tracks
are no-longer necessary.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Niels Horn 2011-12-17 11:03:56 -06:00 committed by Niels Horn
parent 8fe021c63e
commit b8d5e5893d
6 changed files with 46 additions and 29 deletions

View file

@ -1,9 +1,7 @@
SuperTuxKart is a Free 3d kart racing game; we want to make
the game fun more than we want to make it realistic. You can
play with up to 4 friends on one PC, racing against each
other or just try to beat the computer. (a network multiplayer
feature is under development).
SuperTuxKart is a Free 3d kart racing game; we want to make the game fun
more than we want to make it realistic. You can play with up to 4 friends
on one PC, racing against each other or just try to beat the computer.
SuperTuxKart requires plib and OpenAL.
Extra karts and tracks can be downloaded from within the game.
Optional: supertuxkart-extra-karts and supertuxkart-extra-tracks.
SuperTuxKart requires OpenAL and irrlicht.

View file

@ -1,4 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

View file

@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
supertuxkart: supertuxkart (A 3D Kart racing game)
supertuxkart:
supertuxkart:
supertuxkart: A new and improved version of TuxKart, a kart racing game featuring
supertuxkart: Tux and his friends.
supertuxkart:
supertuxkart:
supertuxkart: Homepage: http://supertuxkart.sourceforge.net/
supertuxkart:
supertuxkart:
supertuxkart:
supertuxkart:
supertuxkart:
supertuxkart:
supertuxkart:
supertuxkart:
supertuxkart:
supertuxkart:

View file

@ -2,10 +2,31 @@
# Slackware build script for supertuxkart
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com>
# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# revision date: 2011/12/09
PRGNAM=supertuxkart
VERSION=0.6.2a
VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -86,7 +107,7 @@ rm -f $PKG/usr/share/locale/{*.po,*.pot}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog COPYING NEWS README TODO \
AUTHORS ChangeLog COPYING INSTALL README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,10 +1,10 @@
PRGNAM="supertuxkart"
VERSION="0.6.2a"
VERSION="0.7.3"
HOMEPAGE="http://supertuxkart.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/supertuxkart/supertuxkart-0.6.2a-src.tar.bz2"
DOWNLOAD="http://downloads.sourceforge.net/supertuxkart/supertuxkart-0.7.3-src.tar.bz2"
MD5SUM="502664b2ec9ad5ab88b1882fef4c074d"
DOWNLOAD_x86_64=""
MD5SUM="1672795016cc4964506706ac3287621e"
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="dsomero"
MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com"
APPROVED="Erik Hanson"

View file

@ -1,8 +1,7 @@
diff -Naur supertuxkart-0.6.1a.orig/src/file_manager.cpp supertuxkart-0.6.1a/src/file_manager.cpp
--- supertuxkart-0.6.1a.orig/src/file_manager.cpp 2009-01-29 01:30:09.000000000 +0000
+++ supertuxkart-0.6.1a/src/file_manager.cpp 2009-06-10 13:12:03.000000000 +0000
@@ -212,7 +212,12 @@
//-----------------------------------------------------------------------------
--- supertuxkart-0.7.3/src/io/file_manager.cpp 2011-11-01 22:04:13.000000000 -0200
+++ supertuxkart-0.7.3_patched/src/io/file_manager.cpp 2011-12-09 16:54:27.000000000 -0200
@@ -442,7 +442,12 @@
*/
std::string FileManager::getTranslationDir() const
{
+#if !defined(TRANSLATION_DIR) && !defined(__APPLE__) && !defined(WIN32)