* [PR PATCH] OpenRCT2: update to 0.4.17.
@ 2024-12-12 2:28 TinfoilSubmarine
2024-12-24 19:07 ` [PR PATCH] [Closed]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: TinfoilSubmarine @ 2024-12-12 2:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]
There is a new pull request by TinfoilSubmarine against master on the void-packages repository
https://github.com/TinfoilSubmarine/void-packages update/OpenRCT2
https://github.com/void-linux/void-packages/pull/53484
OpenRCT2: update to 0.4.17.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/53484.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/OpenRCT2-53484.patch --]
[-- Type: text/x-diff, Size: 3315 bytes --]
From d41d9f3fe86e65728b5cb461ca8683a3cc5eac7a Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 11 Dec 2024 19:27:00 -0500
Subject: [PATCH] OpenRCT2: update to 0.4.17.
---
srcpkgs/OpenRCT2/template | 41 +++++++++++++++++++++++++++++++++------
1 file changed, 35 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/OpenRCT2/template b/srcpkgs/OpenRCT2/template
index e2260fec506190..d637004ba38c03 100644
--- a/srcpkgs/OpenRCT2/template
+++ b/srcpkgs/OpenRCT2/template
@@ -2,12 +2,12 @@
# based on https://raw.githubusercontent.com/AluisioASG/void-packages/openrct2/srcpkgs/OpenRCT2/template
# and https://github.com/void-linux/void-packages/issues/1014#issuecomment-417372421
pkgname=OpenRCT2
-version=0.4.16
+version=0.4.17
revision=1
# versions pulled from https://raw.githubusercontent.com/OpenRCT2/OpenRCT2/v${version}/CMakeLists.txt
-_objects_version=1.4.10
+_objects_version=1.4.11
_titles_version=0.4.14
-_replays_version=0.0.83
+_replays_version=0.0.84
_opensfx_version=1.0.5
_openmsx_version=1.6
build_style=cmake
@@ -40,11 +40,11 @@ distfiles="https://github.com/OpenRCT2/OpenRCT2/archive/v${version}.tar.gz
https://github.com/OpenRCT2/OpenMusic/releases/download/v${_openmsx_version}/openmusic.zip>openmusic-${_openmsx_version}.zip
https://github.com/OpenRCT2/replays/releases/download/v${_replays_version}/replays.zip>replays-${_replays_version}.zip
https://github.com/OpenRCT2/title-sequences/releases/download/v${_titles_version}/title-sequences.zip>title-sequences-${_titles_version}.zip"
-checksum="798b2f37577060d62497a0260dcabf446d06fb11deeb255d0478af37b9dc176e
- 186a05c91b9a6c328ad0994454033434fe864a8606c1d126485f7469a8e5539c
+checksum="991c4a3eb599439e09715bd36ea0de42a11215edff4e5576304dc38524a6ab8d
+ fd0fed611565710f79b136958100362a8c37211467f74b85126a3a2ea35e4f78
a952148be164c128e4fd3aea96822e5f051edd9a0b1f2c84de7f7628ce3b2e18
f097d3a4ccd39f7546f97db3ecb1b8be73648f53b7a7595b86cccbdc1a7557e4
- c0b3e33874e43d963b780bcae3eb19ce902364c861e47f1be025248251beb5ed
+ de798331dfee60dbd12c01adb70dc12d01271365dfbe84ce529bf341b7b2f0f8
140df714e806fed411cc49763e7f16b0fcf2a487a57001d1e50fce8f9148a9f3"
skip_extraction="objects-${_objects_version}.zip
opensound-${_opensfx_version}.zip
@@ -105,6 +105,35 @@ post_patch() {
fi
}
+_check_versions() {
+ local version_var="$1"
+ local expected_version="$2"
+
+ local actual_version=$(grep "set(${version_var}" CMakeLists.txt | sed -E 's/.*"([0-9.]+)".*/\1/')
+
+ if [ "$actual_version" != "$expected_version" ]; then
+ echo "Warning: ${version_var} mismatch"
+ echo "Expected: $expected_version"
+ echo "Actual: $actual_version"
+ return 1
+ fi
+ return 0
+}
+
+pre_configure() {
+ local mismatch=0
+ _check_versions "OBJECTS_VERSION" "$_objects_version" || mismatch=1
+ _check_versions "TITLE_SEQUENCE_VERSION" "$_titles_version" || mismatch=1
+ _check_versions "REPLAYS_VERSION" "$_replays_version" || mismatch=1
+ _check_versions "OPENSFX_VERSION" "$_opensfx_version" || mismatch=1
+ _check_versions "OPENMSX_VERSION" "$_openmsx_version" || mismatch=1
+
+ if [ $mismatch -eq 1 ]; then
+ echo "Version mismatch detected. Please update the template with the correct versions."
+ return 1
+ fi
+}
+
post_install() {
# remove useless static lib
rm "${DESTDIR}/usr/lib/libopenrct2.a"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: OpenRCT2: update to 0.4.17.
2024-12-12 2:28 [PR PATCH] OpenRCT2: update to 0.4.17 TinfoilSubmarine
@ 2024-12-24 19:07 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2024-12-24 19:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]
There's a closed pull request on the void-packages repository
OpenRCT2: update to 0.4.17.
https://github.com/void-linux/void-packages/pull/53484
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-24 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-12 2:28 [PR PATCH] OpenRCT2: update to 0.4.17 TinfoilSubmarine
2024-12-24 19:07 ` [PR PATCH] [Closed]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).