aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-03-31 15:28:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-01 14:37:33 +0000
commit022937601db49e8bcc95d2e0637a4d6ca3d4d234 (patch)
treed8445c2305b8aad2bb972db72bde5c9f213cdd02
parent30d6863ee25a496dda621c40bf3e393135fe760c (diff)
downloadports-022937601db49e8bcc95d2e0637a4d6ca3d4d234.tar.gz
ports-022937601db49e8bcc95d2e0637a4d6ca3d4d234.zip
games/stuntrally: update 2.6.1 → 2.6.2
- Add missing USES=sdl for some options combinations Notes: - It still requires ogre3d9 (builds with recent ogre3d but doesn't run properly) - It still doesn't build with mygui 3.4.1
-rw-r--r--games/stuntrally/Makefile9
-rw-r--r--games/stuntrally/distinfo10
-rw-r--r--games/stuntrally/files/patch-source_editor_CApp.h11
-rw-r--r--games/stuntrally/files/patch-source_vdrift_cartire.cpp11
-rw-r--r--games/stuntrally/pkg-plist2
5 files changed, 10 insertions, 33 deletions
diff --git a/games/stuntrally/Makefile b/games/stuntrally/Makefile
index 798dfe0f214e..c30ef677be33 100644
--- a/games/stuntrally/Makefile
+++ b/games/stuntrally/Makefile
@@ -1,6 +1,5 @@
PORTNAME= stuntrally
-PORTVERSION= 2.6.1
-PORTREVISION= 4
+PORTVERSION= 2.6.2
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
@@ -14,8 +13,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USE_GITHUB= yes
GH_TUPLE= stuntrally:tracks:${PORTVERSION}:tracks/data/tracks
-USES= compiler:c++11-lib cmake dos2unix pkgconfig sdl
-USE_CXXSTD= gnu++11
+USES= compiler:c++14-lang cmake dos2unix pkgconfig
DOS2UNIX_FILES= source/ogre/BaseApp_Create.cpp
CMAKE_ARGS= -DSHARE_INSTALL="${DATADIR_REL}" \
-DBULLET_ROOT="${LOCALBASE}"
@@ -39,7 +37,7 @@ GAME_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d19 \
libenet.so:net/enet
GAME_BUILD_DEPENDS= ${LOCALBASE}/include/MYGUI/MyGUI_OgreTexture.h:x11-toolkits/mygui-ogre
GAME_USE= SDL=sdl2
-GAME_USES= openal
+GAME_USES= openal sdl
EDITOR_DESC= Build the track editor
EDITOR_CMAKE_BOOL= BUILD_EDITOR
@@ -49,6 +47,7 @@ EDITOR_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d19 \
libogg.so:audio/libogg \
libvorbisfile.so:audio/libvorbis
EDITOR_USE= SDL=sdl2
+EDITOR_USES= sdl
EDITOR_BUILD_DEPENDS= ${LOCALBASE}/include/MYGUI/MyGUI_OgreTexture.h:x11-toolkits/mygui-ogre
MASTER_SERVER_CMAKE_BOOL= BUILD_MASTER_SERVER
diff --git a/games/stuntrally/distinfo b/games/stuntrally/distinfo
index 914b5fc98d81..3f2f7f68a533 100644
--- a/games/stuntrally/distinfo
+++ b/games/stuntrally/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1555952779
-SHA256 (stuntrally-stuntrally-2.6.1_GH0.tar.gz) = 9bf0507c4235ffaeee019a852124b6cffc311afe3275ae8472eadff4441fb8ff
-SIZE (stuntrally-stuntrally-2.6.1_GH0.tar.gz) = 651581700
-SHA256 (stuntrally-tracks-2.6.1_GH0.tar.gz) = fa83ecf6dcc6e906542f3bd07677ad4369cfe4d12c639837a0f90946d47dd474
-SIZE (stuntrally-tracks-2.6.1_GH0.tar.gz) = 355800929
+TIMESTAMP = 1648667237
+SHA256 (stuntrally-stuntrally-2.6.2_GH0.tar.gz) = a63550d5d13d20dca678c2cd8e30332cd41ca5380d14720c15549e6b0387bd55
+SIZE (stuntrally-stuntrally-2.6.2_GH0.tar.gz) = 651633552
+SHA256 (stuntrally-tracks-2.6.2_GH0.tar.gz) = 4fd587cf6cfe72e78530bb051bd423f9d0d0e38ca258e8254a4fdd6e60db5bcc
+SIZE (stuntrally-tracks-2.6.2_GH0.tar.gz) = 357438076
diff --git a/games/stuntrally/files/patch-source_editor_CApp.h b/games/stuntrally/files/patch-source_editor_CApp.h
deleted file mode 100644
index 529a0d3ea207..000000000000
--- a/games/stuntrally/files/patch-source_editor_CApp.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/editor/CApp.h.orig 2019-11-27 17:44:26 UTC
-+++ source/editor/CApp.h
-@@ -137,7 +137,7 @@ class App : public BaseApp, (public)
- float Size,Intens,Pow,Fq,NOf;
- int Oct; EBrShape shape;
- float Filter,HSet;
-- char newLine; Ogre::String name;
-+ signed char newLine; Ogre::String name;
- };
-
- const static int brSetsNum = 87;
diff --git a/games/stuntrally/files/patch-source_vdrift_cartire.cpp b/games/stuntrally/files/patch-source_vdrift_cartire.cpp
deleted file mode 100644
index f9e31db234d9..000000000000
--- a/games/stuntrally/files/patch-source_vdrift_cartire.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/vdrift/cartire.cpp.orig 2019-03-16 14:58:09 UTC
-+++ source/vdrift/cartire.cpp
-@@ -280,7 +280,7 @@ Dbl CARTIRE::Pacejka_Fx (Dbl sigma, Dbl Fz, Dbl fricti
-
- maxforce_output = D;
-
-- assert(!std::isnan(Fx));
-+ assert(!isnan(Fx));
- return Fx;
- }
-
diff --git a/games/stuntrally/pkg-plist b/games/stuntrally/pkg-plist
index 10d5b81b7691..bc7cbb99e7db 100644
--- a/games/stuntrally/pkg-plist
+++ b/games/stuntrally/pkg-plist
@@ -4,4 +4,4 @@
%%EDITOR%%share/applications/sr-editor.desktop
%%GAME%%share/applications/stuntrally.desktop
%%EDITOR%%share/icons/hicolor/64x64/apps/sr-editor.png
-%%GAME%%share/icons/hicolor/64x64/apps/stuntrally.png
+%%GAME%%share/icons/hicolor/256x256/apps/stuntrally.png