1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Update `games/openbve' to version 1.7.2.1

- Add a nice piece of advice to pkg-message

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2020-11-27 08:44:07 +00:00
parent 73531cf53f
commit a532d665cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556430
5 changed files with 18 additions and 21 deletions

View File

@ -2,12 +2,9 @@
# $FreeBSD$
PORTNAME= openbve
PORTVERSION= 1.7.2.0
PORTVERSION= 1.7.2.1
CATEGORIES= games
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= e8c81970ea0e3b9bee1192d85cf67ef3aa31d971.diff:-p1
MAINTAINER= danfe@FreeBSD.org
COMMENT= Realistic 3D train/railway simulator
@ -33,7 +30,7 @@ NUGET_DEPENDS= CS-Script.lib=3.30.3 \
NLayer=1.12.0 \
NVorbis=0.10.1 \
OpenTK.GLControl=3.1.0 \
OpenTK=3.2.0 \
OpenTK=3.3.1 \
Prism.Core=7.2.0.1422 \
ReactiveProperty.Core=7.1.0 \
ReactiveProperty=7.1.0 \
@ -53,9 +50,6 @@ PORTDOCS= changelog.md credits.md routes-and-trains.txt
OPTIONS_DEFINE= DOCS
post-extract:
@${LN} -sf OpenTK.3.2.0 ${_NUGET_PACKAGEDIR}/OpenTK.3.2
post-patch:
@${REINPLACE_CMD} -e '/Unix/s,bash,sh,' \
${WRKSRC}/source/OpenBVE/OpenBve.csproj

View File

@ -1,4 +1,4 @@
TIMESTAMP = 1600722713
TIMESTAMP = 1605724526
SHA256 (cs-script.lib.3.30.3.nupkg) = 783ebcee59e0fb9d0c6fde41097f695feebb829ac467c60501c237e262eca964
SIZE (cs-script.lib.3.30.3.nupkg) = 182751
SHA256 (dotnetzip.1.13.8.nupkg) = 668b03e673afc17b47198dd341259e14164e0fd294d009aaa1c602bbf942c1d9
@ -15,8 +15,8 @@ SHA256 (nvorbis.0.10.1.nupkg) = de6c356568e1f4ed58844e504a79dafc1cecc9776814da43
SIZE (nvorbis.0.10.1.nupkg) = 102060
SHA256 (opentk.glcontrol.3.1.0.nupkg) = d5b2035e15a617c491998490a8f414090ebd43b937116dd2689745fe71423049
SIZE (opentk.glcontrol.3.1.0.nupkg) = 48178
SHA256 (opentk.3.2.0.nupkg) = e621431e891efff8d820fa87e824c550d5780796d3244ce363e4c86564dc00cd
SIZE (opentk.3.2.0.nupkg) = 4417518
SHA256 (opentk.3.3.1.nupkg) = 5ccdc0c9ef6d2f01377c015ad760cea5e3b3e34d12378dcfe224746a535b695c
SIZE (opentk.3.3.1.nupkg) = 4420653
SHA256 (prism.core.7.2.0.1422.nupkg) = 1bf073a613d75af3f0ed44f63c641194eb7d7b4169ddb0aaad2f6f50707c37cb
SIZE (prism.core.7.2.0.1422.nupkg) = 345774
SHA256 (reactiveproperty.core.7.1.0.nupkg) = c073b57786ca38c4d95ac88ac3cc472ac6fc75be4a52c230d86979717a3be47c
@ -43,7 +43,5 @@ SHA256 (system.valuetuple.4.5.0.nupkg) = 9e21fa9767d4e76bc0cee065c1d40cc34384a11
SIZE (system.valuetuple.4.5.0.nupkg) = 204904
SHA256 (ude.netstandard.1.2.0.nupkg) = f43abb504e4e8aebdc89445057c01ad777a5a25b757f30e1bc5f1cf18c739e1c
SIZE (ude.netstandard.1.2.0.nupkg) = 389990
SHA256 (leezer3-OpenBVE-1.7.2.0_GH0.tar.gz) = ed82ad4e162fb867646ce046fd8f01ed7375c9c2e4764889dc8d7ee154edaebe
SIZE (leezer3-OpenBVE-1.7.2.0_GH0.tar.gz) = 10633286
SHA256 (e8c81970ea0e3b9bee1192d85cf67ef3aa31d971.diff) = 63d307ce0748fffd0204f8d743fd69e9b254bcf8d32d8586f96c42dc1f4f7190
SIZE (e8c81970ea0e3b9bee1192d85cf67ef3aa31d971.diff) = 4802
SHA256 (leezer3-OpenBVE-1.7.2.1_GH0.tar.gz) = 0ce98363a684fd6515ab057a09ff98f26da73903eec78039a7f73ff5959bcdd9
SIZE (leezer3-OpenBVE-1.7.2.1_GH0.tar.gz) = 10079007

View File

@ -1,11 +1,11 @@
--- source/OpenBVE/System/Program.cs.orig 2020-09-21 21:11:53 UTC
--- source/OpenBVE/System/Program.cs.orig 2020-11-18 18:35:26 UTC
+++ source/OpenBVE/System/Program.cs
@@ -92,6 +92,8 @@ namespace OpenBve {
//Doesn't appear to, but Mono have fixed the button appearance bug
CurrentlyRunningOnWindows = Environment.OSVersion.Platform == PlatformID.Win32S | Environment.OSVersion.Platform == PlatformID.Win32Windows | Environment.OSVersion.Platform == PlatformID.Win32NT;
@@ -78,6 +78,8 @@ namespace OpenBve {
Application.SetCompatibleTextRenderingDefault(false);
CurrentHost = new Host();
Joysticks = new JoystickManager();
+ // XXX: crashes with System.PlatformNotSupportedException on the same calls below unless we call it here first
+ Joysticks.RefreshJoysticks();
CurrentHost = new Host();
try {
FileSystem = FileSystem.FromCommandLineArgs(args);
FileSystem.CreateFileSystem();

View File

@ -9,6 +9,8 @@ comes with the original BVE software, can be downloaded from here:
Unzip the file, install it with "wine msiexec /i uchibo10.msi", and move
the `Railway' and `Train' directories to ~/.config/openBVE/LegacyContent.
Have fun, and try not to crash!
EOM
}
]

View File

@ -47,6 +47,7 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Compatibility/RoutePatches/Brazil.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Germany.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Holland.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/HongKong.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Hungary.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Italy.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Japan.xml
@ -468,7 +469,6 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Cursors/nm.png
%%DATADIR%%/Data/Cursors/nr.png
%%DATADIR%%/Data/Cursors/ny.png
%%DATADIR%%/Data/Dependencies/Win32/oalinst.exe
%%DATADIR%%/Data/Flags/AT.png
%%DATADIR%%/Data/Flags/BE.png
%%DATADIR%%/Data/Flags/BR.png
@ -558,6 +558,9 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/InputDevicePlugins/DefaultDisplayPlugin.dll
%%DATADIR%%/Data/InputDevicePlugins/DefaultDisplayPlugin.dll.config
%%DATADIR%%/Data/InputDevicePlugins/DefaultDisplayPlugin.pdb
%%DATADIR%%/Data/InputDevicePlugins/DenshaDeGoInput.dll
%%DATADIR%%/Data/InputDevicePlugins/DenshaDeGoInput.dll.config
%%DATADIR%%/Data/InputDevicePlugins/DenshaDeGoInput.pdb
%%DATADIR%%/Data/InputDevicePlugins/SanYingInput.dll
%%DATADIR%%/Data/InputDevicePlugins/SanYingInput.dll.config
%%DATADIR%%/Data/InputDevicePlugins/SanYingInput.pdb