OpenRCT2: update to 0.4.1.

This commit is contained in:
Joel Beckmeyer 2022-07-12 14:49:19 -04:00 committed by classabbyamp
parent f1f6c1acb3
commit 43ccb68ff1

View file

@ -2,11 +2,11 @@
# 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
_objects_version=1.0.21
_titles_version=0.1.2c
_replays_version=0.0.43
version=0.3.4.1
revision=4
_objects_version=1.3.2
_titles_version=0.4.0
_replays_version=0.0.67
version=0.4.1
revision=1
build_style=cmake
configure_args="
-DOPENRCT2_VERSION_TAG=${version}
@ -29,13 +29,14 @@ short_desc="Open source re-implementation of RollerCoaster Tycoon 2"
maintainer="klardotsh <josh@klar.sh>"
license="GPL-3.0-or-later, CC-BY-SA-4.0"
homepage="https://openrct2.io"
changelog="https://openrct2.org/changelog"
# download objects and title sequences ourselves, instead of letting cmake do it
distfiles="https://github.com/OpenRCT2/OpenRCT2/archive/v${version}.tar.gz
https://github.com/OpenRCT2/objects/releases/download/v${_objects_version}/objects.zip
https://github.com/OpenRCT2/title-sequences/releases/download/v${_titles_version}/title-sequences.zip"
checksum="01f286dce2a9668fb87f403a0f53880936d3013fd502f32f9bb1217236c28225
b081f885311f9afebc41d9dd4a68b7db4cf736eb815c04e307e1a426f08cfa35
5284333fa501270835b5f0cf420cb52155742335f5658d7889ea35d136b52517"
checksum="a7ef1995aca7d19d2167ae68ef3a167157582f29c1606bf90878fbb5ba9f14d6
b87ab1e343930e6263cc7ae803ff35059d53be1d7b5a37a34577c5107c8bbdea
6e7c7b554717072bfc7acb96fd0101dc8e7f0ea0ea316367a05c2e92950c9029"
skip_extraction="objects.zip title-sequences.zip replays.zip"
replaces="OpenRCT2-data>=0"
@ -63,7 +64,12 @@ if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DWITH_TESTS=1 -DSYSTEM_GTEST=1"
# download replays, used in tests
distfiles+=" https://github.com/OpenRCT2/replays/releases/download/v${_replays_version}/replays.zip"
checksum+=" 43ba763ee6950a51aa96b26f3007c18b6e2ed09b6003601df6b014d5642c08d8"
checksum+=" 6afe66640aff400398019124a5bbf8db1fea7dd43d4e4670a3a0692f1ecef9e1"
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
fi
post_extract() {