games/openbve: update OpenBVE to version 1.9.2.2

Among the usual round of bug fixes and significant changes, it is
now possible to uncouple vehicles from the player train.  Whilst
(probably) not immediately useful, it is another significant step
along the path of moving away from the simple linear world model.

While here, make ALL_TARGET subject to defined(WITH_DEBUG).

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2023-09-18 11:52:56 +00:00
parent 9c899d080d
commit 3d48e47e13
4 changed files with 11 additions and 9 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= ${GH_PROJECT:tl}
PORTVERSION= 1.9.1.2
PORTVERSION= 1.9.2.2
CATEGORIES= games
MAINTAINER= danfe@FreeBSD.org
@ -18,7 +18,7 @@ GH_PROJECT= OpenBVE
USES= gmake mono:nuget openal:soft sdl
USE_SDL= sdl2
MAKEFILE= makefile
ALL_TARGET= all-release
ALL_TARGET= all-${WITH_DEBUG:?debug:release}
NUGET_DEPENDS= CS-Script.lib=3.30.3 \
DotNetZip=1.16.0 \

View file

@ -1,6 +1,6 @@
TIMESTAMP = 1691663724
SHA256 (leezer3-OpenBVE-1.9.1.2_GH0.tar.gz) = 73746211bf6bdf36b58e66e902328593e48a747683b44b3520f039a6cfc13444
SIZE (leezer3-OpenBVE-1.9.1.2_GH0.tar.gz) = 11816157
TIMESTAMP = 1694768061
SHA256 (leezer3-OpenBVE-1.9.2.2_GH0.tar.gz) = 3159cc4e5c44c9f82837d51592a2eee3fa1ad7d6249924ef31a3ceab42ac538e
SIZE (leezer3-OpenBVE-1.9.2.2_GH0.tar.gz) = 9719069
SHA256 (cs-script.lib.3.30.3.nupkg) = 783ebcee59e0fb9d0c6fde41097f695feebb829ac467c60501c237e262eca964
SIZE (cs-script.lib.3.30.3.nupkg) = 182751
SHA256 (dotnetzip.1.16.0.nupkg) = 465cc790eec3c42bd192bfa0a4cf006ecdf85dba2f9814e65df3bb2ed9c4ef91

View file

@ -1,4 +1,4 @@
--- makefile.orig 2020-09-21 21:11:53 UTC
--- makefile.orig 2023-09-15 08:54:21 UTC
+++ makefile
@@ -1,6 +1,6 @@
# Version checking
@ -8,7 +8,7 @@
MONO_VERSION:= $(shell mono --version | awk '/version/ { print $$5 }')
MIN_NUGET_VERSION:= "2.16.0"
NUGET_VERSION:= $(shell nuget help 2> /dev/null | awk '/Version:/ { print $$3; exit 0}')
@@ -55,7 +55,7 @@ reset:=$(shell tput sgr0)
@@ -56,7 +56,7 @@ reset:=$(shell tput sgr0)
.PHONY: prequisite-check
restore:
@ -17,7 +17,7 @@
debug: openbve-debug
release: openbve-release
@@ -104,45 +104,6 @@ endif
@@ -105,48 +105,6 @@ endif
debian: $(DEBIAN_BUILD_RESULT)
@ -53,6 +53,9 @@
- $(info nuget Version $(NUGET_VERSION) found.)
- ifeq "$(call GreaterVersion, $(NUGET_VERSION), $(MIN_NUGET_VERSION))" "$(NUGET_VERSION)"
- #Nothing
- else ifeq ($(strip $(NUGET_VERSION)),)
- $(info Unable to determine the nuget version installed.)
- $(info OpenBVE requires a minimum nuget version of 2.16- The build will fail with versions below this.)
- else
- $(info OpenBVE requires a minimum nuget version of 2.16)
- $(info Please run $(red)nuget update -self$(reset) with administrative priveledges.)

View file

@ -773,7 +773,6 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/TrainEditor2/undo.png
%%DATADIR%%/Data/TrainEditor2/zoomin.png
%%DATADIR%%/Data/TrainEditor2/zoomout.png
%%DATADIR%%/Data/icon.bmp
%%DATADIR%%/Data/icon.ico
%%DATADIR%%/DevTools/LBAHeader.exe
%%DATADIR%%/DevTools/LBAHeader.exe.config