1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

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
This commit is contained in:
Dmitry Marakasov 2022-03-31 18:28:58 +03:00
parent 30d6863ee2
commit 022937601d
5 changed files with 10 additions and 33 deletions

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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;
}

View File

@ -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