Update to 0.8.1

* Non-OpenGL drawing is not supported anymore
* Disable wiimote support
* I have tested on Fedora 22 with xf86-video-nv

Changelog:
SuperTuxkart 0.8.1
~~~~~~~~~~~~~~~~~~
* New track STK Enterprise
* Updated track The old mines
* Updated Lighthouse track
* Updated Zen Garden track
* New Soccer mode
* New Egg Hunt mode
* New karts Xue and Sara
* Updated Beastie kart
* Added Tutorial
* Added new Supertux difficulty
* New bubblegum shield weapon
* New Speeodmeter and nitro meter
* Add ability to filter addons
* Updated nitro models
* Add ability to save and resume Grand Prix
* Improve skid marks and nitro effects
* Wiimote support
This commit is contained in:
ryoon 2014-01-01 02:46:49 +00:00
parent 55d43d7dbc
commit 4b9b723f3d
8 changed files with 575 additions and 180 deletions

View file

@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.7 2013/02/16 11:21:28 wiz Exp $
# $NetBSD: Makefile,v 1.8 2014/01/01 02:46:49 ryoon Exp $
#
DISTNAME= supertuxkart-0.8-src
DISTNAME= supertuxkart-0.8.1-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=supertuxkart/}
EXTRACT_SUFX= .tar.bz2
@ -13,13 +12,12 @@ HOMEPAGE= http://supertuxkart.sourceforge.net/
COMMENT= Free 3D kart racing game
#LICENSE= gnu-gpl-v3 AND Creative-Commons-Attribution AND Creative-Commons-BY-SA AND Creative-Commons-Sampling+ AND FreeArt License AND SoundSnap license AND Public Domain AND Image*After terms
WRKSRC= ${WRKDIR}/SuperTuxKart-0.8
WRKSRC= ${WRKDIR}/SuperTuxKart-0.8.1
USE_CMAKE= yes
#USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
CXXFLAGS+= -DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_JPEG_LIB_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_LIB_PNG_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_ZLIB_=1
@ -34,8 +32,19 @@ SUBST_STAGE.dos_eol= post-extract
SUBST_FILES.dos_eol= lib/irrlicht/source/Irrlicht/Makefile
SUBST_FILES.dos_eol+= lib/irrlicht/source/Irrlicht/os.cpp
SUBST_FILES.dos_eol+= lib/irrlicht/source/Irrlicht/COSOperator.cpp
SUBST_FILES.dos_eol+= lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp
SUBST_FILTER_CMD.dos_eol= ${TR} -d '\r'
CMAKE_ARGS+= -DUSE_WIIUSE=OFF
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
SUBST_CLASSES+= js
SUBST_STAGE.js= pre-configure
SUBST_MESSAGE.js= Disable Linux joystick support.
SUBST_FILES.js+= lib/irrlicht/include/IrrCompileConfig.h
SUBST_SED.js+= -e '/define.*_IRR_COMPILE_WITH_JOYSTICK_EVENTS_/d'
.endif
# for irrlicht debugging
#pre-build:
# cd ${WRKSRC}/lib/irrlicht/source/Irrlicht && \

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,11 @@
$NetBSD: distinfo,v 1.4 2013/06/26 21:23:52 joerg Exp $
$NetBSD: distinfo,v 1.5 2014/01/01 02:46:49 ryoon Exp $
SHA1 (supertuxkart-0.8-src.tar.bz2) = 8765a21bcbab8ca7f43643f15eac1e9bad57fba4
RMD160 (supertuxkart-0.8-src.tar.bz2) = 5a097ac858c65c824e38211dc6b15e1264e83e1b
Size (supertuxkart-0.8-src.tar.bz2) = 171184279 bytes
SHA1 (patch-CMakeLists.txt) = 80a47aed94c2e8f7903e54236e555ea54c40fa32
SHA1 (patch-lib_irrlicht_source_Irrlicht_COSOperator.cpp) = ea676a820bf480bc07b5e6ee600991ced604fd7b
SHA1 (patch-lib_irrlicht_source_Irrlicht_Makefile) = 58471ab996053ff2b4305a372e9d7c19451d30c5
SHA1 (patch-lib_irrlicht_source_Irrlicht_os.cpp) = 776ee9b3878816fd2dd0c2235cba68c5fc24c218
SHA1 (patch-src_utils_random__generator.hpp) = 69c0d346e11d98619a6370c11035d95a983289cc
SHA1 (supertuxkart-0.8.1-src.tar.bz2) = ceb414a0ac3dabd524770cd9068e364a90cbee66
RMD160 (supertuxkart-0.8.1-src.tar.bz2) = caf076bedcc162fef67f8154c6217a1846076860
Size (supertuxkart-0.8.1-src.tar.bz2) = 229944480 bytes
SHA1 (patch-CMakeLists.txt) = 7c175b5b43db50c8cb350a2eee49b9d478b40da6
SHA1 (patch-lib_irrlicht_source_Irrlicht_COSOperator.cpp) = 4cd76ed94444e677e770b30ad6a5287b9dbc3b01
SHA1 (patch-lib_irrlicht_source_Irrlicht_Makefile) = 8e69ff0f94fa6438414a449b09b731caf5d65794
SHA1 (patch-lib_irrlicht_source_Irrlicht_os.cpp) = ed0767f73b8f74a8c21ec83c41fd09c70de9872e
SHA1 (patch-src_utils_log.hpp) = 3a3ff1f331da387dcfa0bc621b765904c4afc1d3
SHA1 (patch-src_utils_random__generator.hpp) = 77e2d737808bf3830b1ce19e37ecf1c436981dca

View file

@ -1,11 +1,20 @@
$NetBSD: patch-CMakeLists.txt,v 1.1 2013/01/06 15:16:20 ryoon Exp $
$NetBSD: patch-CMakeLists.txt,v 1.2 2014/01/01 02:46:49 ryoon Exp $
* Link to system libraries
--- CMakeLists.txt.orig 2012-12-10 23:21:40.000000000 +0000
--- CMakeLists.txt.orig 2013-11-24 21:54:13.000000000 +0000
+++ CMakeLists.txt
@@ -196,7 +196,11 @@ target_link_libraries(supertuxkart
${IRRLICHT_LIBRARY}
@@ -3,7 +3,7 @@ project(SuperTuxKart)
set(PROJECT_VERSION "0.8.1")
cmake_minimum_required(VERSION 2.8.1)
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
+set (CMAKE_MODULE_PATH "/usr/tmp/pkgsrc/games/supertuxkart/work/.buildlink/cmake-Modules" ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
include(BuildTypeSTKRelease)
if (NOT CMAKE_BUILD_TYPE)
@@ -231,7 +231,11 @@ target_link_libraries(supertuxkart
${OGGVORBIS_LIBRARIES}
${IRRLICHT_XF86VM_LIBRARY}
${OPENAL_LIBRARY}
- ${OPENGL_LIBRARIES})
@ -15,5 +24,5 @@ $NetBSD: patch-CMakeLists.txt,v 1.1 2013/01/06 15:16:20 ryoon Exp $
+ bz2
+ z)
if(USE_FRIBIDI)
target_link_libraries(supertuxkart ${FRIBIDI_LIBRARIES})
if(APPLE)
# In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has

View file

@ -1,8 +1,8 @@
$NetBSD: patch-lib_irrlicht_source_Irrlicht_COSOperator.cpp,v 1.1 2013/01/06 15:16:20 ryoon Exp $
$NetBSD: patch-lib_irrlicht_source_Irrlicht_COSOperator.cpp,v 1.2 2014/01/01 02:46:49 ryoon Exp $
* Fix build on OpenBSD/amd64 5.2 at least
--- lib/irrlicht/source/Irrlicht/COSOperator.cpp.orig Sun Jan 6 09:39:08 2013
--- lib/irrlicht/source/Irrlicht/COSOperator.cpp.orig 2013-12-31 07:04:37.000000000 +0000
+++ lib/irrlicht/source/Irrlicht/COSOperator.cpp
@@ -12,6 +12,7 @@
#include <string.h>

View file

@ -1,9 +1,9 @@
$NetBSD: patch-lib_irrlicht_source_Irrlicht_Makefile,v 1.1 2013/01/06 15:16:20 ryoon Exp $
$NetBSD: patch-lib_irrlicht_source_Irrlicht_Makefile,v 1.2 2014/01/01 02:46:49 ryoon Exp $
* Use system libraries
* Remove optimization options
--- lib/irrlicht/source/Irrlicht/Makefile.orig 2013-01-03 12:37:18.000000000 +0000
--- lib/irrlicht/source/Irrlicht/Makefile.orig 2013-12-31 07:04:37.000000000 +0000
+++ lib/irrlicht/source/Irrlicht/Makefile
@@ -46,11 +46,7 @@ IRRSWRENDEROBJ = CSoftwareDriver.o CSoft
IRRIOOBJ = CFileList.o CFileSystem.o CLimitReadFile.o CMemoryFile.o CReadFile.o CWriteFile.o CXMLReader.o CXMLWriter.o CWADReader.o CZipReader.o CPakReader.o CNPKReader.o CTarReader.o CMountPointReader.o irrXML.o CAttributes.o lzma/LzmaDec.o

View file

@ -1,8 +1,8 @@
$NetBSD: patch-lib_irrlicht_source_Irrlicht_os.cpp,v 1.1 2013/01/06 15:16:20 ryoon Exp $
$NetBSD: patch-lib_irrlicht_source_Irrlicht_os.cpp,v 1.2 2014/01/01 02:46:49 ryoon Exp $
* Fix build on NetBSD and OpenBSD
--- lib/irrlicht/source/Irrlicht/os.cpp.orig Sun Jan 6 09:39:08 2013
--- lib/irrlicht/source/Irrlicht/os.cpp.orig 2013-12-31 07:04:37.000000000 +0000
+++ lib/irrlicht/source/Irrlicht/os.cpp
@@ -22,10 +22,14 @@
#include <libkern/OSByteOrder.h>

View file

@ -1,6 +1,6 @@
$NetBSD: patch-src_utils_random__generator.hpp,v 1.1 2013/06/26 21:23:52 joerg Exp $
$NetBSD: patch-src_utils_random__generator.hpp,v 1.2 2014/01/01 02:46:49 ryoon Exp $
--- src/utils/random_generator.hpp.orig 2013-06-26 20:47:27.000000000 +0000
--- src/utils/random_generator.hpp.orig 2013-11-15 11:43:21.000000000 +0000
+++ src/utils/random_generator.hpp
@@ -19,6 +19,7 @@
#ifndef HEADER_RANDOM_GENERATOR_HPP
@ -9,4 +9,4 @@ $NetBSD: patch-src_utils_random__generator.hpp,v 1.1 2013/06/26 21:23:52 joerg E
+#include <cstdlib>
#include <algorithm>
#include <vector>
#include <stdlib.h>