OpenRCT2: update to 0.4.2.

This commit is contained in:
Joel Beckmeyer 2022-10-10 09:27:05 -04:00 committed by classabbyamp
parent cb9c3fa9d2
commit 0c7abb49f1

View file

@ -2,10 +2,10 @@
# 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.3.2
_objects_version=1.3.5
_titles_version=0.4.0
_replays_version=0.0.67
version=0.4.1
_replays_version=0.0.69
version=0.4.2
revision=1
build_style=cmake
configure_args="
@ -34,8 +34,8 @@ changelog="https://openrct2.org/changelog"
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="a7ef1995aca7d19d2167ae68ef3a167157582f29c1606bf90878fbb5ba9f14d6
b87ab1e343930e6263cc7ae803ff35059d53be1d7b5a37a34577c5107c8bbdea
checksum="e313f29ad757d8c4870c166e7342accd642d1e6e7b245385d60e161ef4a0028f
4859b7a443d0969cb1c639202fe70f40ac4c2625830657c72645d987912258ff
6e7c7b554717072bfc7acb96fd0101dc8e7f0ea0ea316367a05c2e92950c9029"
skip_extraction="objects.zip title-sequences.zip replays.zip"
@ -53,10 +53,10 @@ if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
fi
case "$XBPS_TARGET_MACHINE" in
ppc*)
CFLAGS+=" -mlong-double-64"
CXXFLAGS+=" -mlong-double-64"
;;
ppc*)
CFLAGS+=" -mlong-double-64"
CXXFLAGS+=" -mlong-double-64"
;;
esac
if [ "$CROSS_BUILD" ]; then
@ -71,7 +71,7 @@ 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+=" 6afe66640aff400398019124a5bbf8db1fea7dd43d4e4670a3a0692f1ecef9e1"
checksum+=" bf2184cc6ace156402a26d3e4693b6363b888fe3038daa59e33b202ce0efe0d9"
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then