* [PR PATCH] New package: OpenRCT2-0.2.4
@ 2020-01-26 9:05 voidlinux-github
2020-01-26 20:12 ` [PR PATCH] [Closed]: " voidlinux-github
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: voidlinux-github @ 2020-01-26 9:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 519 bytes --]
There is a new pull request by klardotsh against master on the void-packages repository
https://github.com/klardotsh/void-packages klardotsh-openrct2
https://github.com/void-linux/void-packages/pull/18562
New package: OpenRCT2-0.2.4
Builds upon and resolves #1014
Tested by playing the game on `x86_64-musl`, and tested building for (but not running on - my arm64 machine is currently offline) `aarch64-musl` successfully.
A patch file from https://github.com/void-linux/void-packages/pull/18562.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-klardotsh-openrct2-18562.patch --]
[-- Type: text/x-diff, Size: 2941 bytes --]
From a96843221b461c0bf88e45da1f41e5ed579c631d Mon Sep 17 00:00:00 2001
From: Josh Klar <josh@klar.sh>
Date: Sun, 26 Jan 2020 01:04:26 -0800
Subject: [PATCH] New package: OpenRCT2-0.2.4
---
srcpkgs/OpenRCT2/INSTALL.msg | 5 ++++
srcpkgs/OpenRCT2/template | 47 ++++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
create mode 100644 srcpkgs/OpenRCT2/INSTALL.msg
create mode 100644 srcpkgs/OpenRCT2/template
diff --git a/srcpkgs/OpenRCT2/INSTALL.msg b/srcpkgs/OpenRCT2/INSTALL.msg
new file mode 100644
index 00000000000..70817138b9d
--- /dev/null
+++ b/srcpkgs/OpenRCT2/INSTALL.msg
@@ -0,0 +1,5 @@
+You must install a package that provides either the zenity or kdialog binaries:
+
+- zenity
+- qarma
+- kdialog
diff --git a/srcpkgs/OpenRCT2/template b/srcpkgs/OpenRCT2/template
new file mode 100644
index 00000000000..f8bf5d65891
--- /dev/null
+++ b/srcpkgs/OpenRCT2/template
@@ -0,0 +1,47 @@
+# 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.12"
+_titles_version="0.1.2"
+version="0.2.4"
+revision=1
+build_style=cmake
+configure_args="$(vopt_if multiplayer "" "-DDISABLE_HTTP_TWITCH=1 -DDISABLE_NETWORK=1")"
+hostmakedepends="pkg-config unzip"
+makedepends="SDL2-devel fontconfig-devel freetype-devel libzip-devel
+ libpng-devel speexdsp-devel jansson-devel icu-devel zlib-devel
+ $(vopt_if multiplayer libcurl-devel) $(vopt_if multiplayer libressl-devel)"
+depends="libGL"
+short_desc="Open source re-implementation of RollerCoaster Tycoon 2"
+maintainer="klardotsh <josh@klar.sh>"
+license="GPL-3.0-or-later"
+homepage="https://openrct2.io"
+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-sequence-v${_titles_version}.zip"
+checksum="@2fd45177c3946a89bfa254e1722d3a861b35758765fd7e64ec27798553d4f3f2
+ 95b4648712f986e0219d43bb5400357b4bcf9e045b04dba561fc5be3e25e081b
+ dcb1648739b351e857e2d19fed1626bec561d5e9f4b49201568f42c475ee7e61"
+skip_extraction="objects.zip title-sequence-v${_titles_version}.zip"
+
+build_options="multiplayer"
+build_options_default="multiplayer"
+desc_option_multiplayer="Enable multiplayer support"
+
+if [ "$CROSS_BUILD" ]; then
+ hostmakedepends+=" OpenRCT2"
+ CXXFLAGS="-DHAVE_IMMINTRIN_H=false -DSDL_DISABLE_IMMINTRIN_H=1"
+fi
+
+pre_configure() {
+ if [ "$CROSS_BUILD" ]; then
+ sed -i -e 's#COMMAND ./openrct2#COMMAND openrct2#g' CMakeLists.txt
+ fi
+}
+
+post_extract() {
+ _srcdir="${XBPS_SRCDISTDIR}/${pkgname}-${version}"
+ mkdir -p data/object data/title
+ unzip -qd data/object "${_srcdir}/objects.zip"
+ unzip -qd data/title "${_srcdir}/title-sequence-v${_titles_version}.zip"
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-01-26 20:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 9:05 [PR PATCH] New package: OpenRCT2-0.2.4 voidlinux-github
2020-01-26 20:12 ` [PR PATCH] [Closed]: " voidlinux-github
2020-01-26 20:18 ` voidlinux-github
2020-01-26 20:21 ` voidlinux-github
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).