1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

games/supertux-devel:

- Update to 0.3.5. In this release, dedicated to SuperTux’s 15 year
  anniversary, among major changes are switch to SDL2 for graphics
  rendering, performance improvements, lots of bugfixes, new tiles and
  sounds, new bonuses and powerups, new badguys, massive improvements
  to localization.
This commit is contained in:
Max Brazhnikov 2015-05-16 10:06:43 +00:00
parent 295d7a1a80
commit dbbbc26ae8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386512
6 changed files with 599 additions and 73 deletions

View File

@ -1,10 +1,9 @@
# $FreeBSD$
PORTNAME= supertux
PORTVERSION= 0.3.4
PORTREVISION= 2
PORTVERSION= 0.3.5
CATEGORIES= games
MASTER_SITES= GOOGLE_CODE
MASTER_SITES= https://github.com/SuperTux/supertux/releases/download/v${PORTVERSION}/
PKGNAMESUFFIX= -devel
MAINTAINER= makc@FreeBSD.org
@ -15,10 +14,14 @@ LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs \
libcurl.so:${PORTSDIR}/ftp/curl \
libvorbis.so:${PORTSDIR}/audio/libvorbis
USE_SDL= image
USE_SDL= sdl2 image2
USE_GL= glew
USES= cmake:outsource iconv openal:al tar:bzip2
USES= cmake:outsource compiler:c++11-lib iconv openal:al pkgconfig tar:bzip2
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
# Unhide std::to_string() to fix build with GCC (see ports/193528 for details)
CFLAGS+= -D_GLIBCXX_USE_C99
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e '/^Icon=/s,supertux.png,supertux2.png,' \

View File

@ -1,2 +1,2 @@
SHA256 (supertux-0.3.4.tar.bz2) = 741d7aa83ec84e3f19e90459236457baa2b8b87f1c494251d315a44b3599e7b6
SIZE (supertux-0.3.4.tar.bz2) = 69266076
SHA256 (supertux-0.3.5.tar.bz2) = cdc6c937323e24ad510c5a5488518f283d0f3543253d55b9d0614b5220375b0f
SIZE (supertux-0.3.5.tar.bz2) = 72977597

View File

@ -1,6 +1,6 @@
--- ./CMakeLists.txt.orig 2010-03-01 12:40:55.000000000 +0000
+++ ./CMakeLists.txt 2012-09-10 22:29:07.183039461 +0000
@@ -379,13 +379,15 @@
--- CMakeLists.txt.orig 2015-04-11 13:49:50 UTC
+++ CMakeLists.txt
@@ -421,13 +421,15 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin"
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
@ -18,3 +18,11 @@
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
ENDIF(WIN32 AND NOT UNIX)
@@ -438,7 +440,6 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/credits.txt DESTINATION ${INSTALL_SUBDIR_SHARE})
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/supertux2.appdata.xml DESTINATION "share/appdata" )
INSTALL(DIRECTORY data/images
data/fonts

View File

@ -1,10 +0,0 @@
--- src/audio/sound_error.hpp.orig 2013-07-09 01:03:45.000000000 +0200
+++ src/audio/sound_error.hpp 2013-09-13 17:09:14.252645154 +0200
@@ -18,6 +18,7 @@
#define HEADER_SUPERTUX_AUDIO_SOUND_ERROR_HPP
#include <stdexcept>
+#include <string>
class SoundError : public std::exception
{

View File

@ -1,10 +0,0 @@
--- src/scripting/squirrel_error.hpp.orig 2013-07-09 01:03:45.000000000 +0200
+++ src/scripting/squirrel_error.hpp 2013-09-13 14:48:42.828225953 +0200
@@ -19,6 +19,7 @@
#include <squirrel.h>
#include <stdexcept>
+#include <string>
namespace scripting {

File diff suppressed because it is too large Load Diff