Package Details: openrct2-git r19968.0ae86d055-1

Git Clone URL: (read-only, click to copy)
Package Base: openrct2-git
Description: Open source re-implementation of Roller Coaster Tycoon 2 (requires full copy of the game)
Upstream URL:
Licenses: GPL3
Conflicts: openrct2
Provides: openrct2
Submitter: grahamedgecombe
Maintainer: grahamedgecombe
Last Packager: grahamedgecombe
Votes: 25
Popularity: 0.000000
First Submitted: 2014-05-27 09:56
Last Updated: 2020-09-21 18:06

Latest Comments

1 2 3 4 5 6 ... Next › Last »

JudgeManganese commented on 2021-02-16 01:08

Since commit 818b2a5239 on Jan 11 for implementing, openrct2 build will detect the system discord rpc library. Now if discord-rpc-api is installed, this openrct2-git package will fail with

rm: cannot remove '/home/will/.cache/yay/openrct2-git/pkg/openrct2-git/usr/lib/libdiscord-rpc.a': No such file or directory
==> ERROR: A failure occurred in package().

because openrct2 won't build discord rpc if there is a system one present.

Using the system library or the local discord-rpc repo both produce the same file list, so requiring discord-rpc-api as a build dependency would work here.

janisozaur commented on 2020-07-14 19:50

Please fill out the latest OpenRCT2 survey, you can find more info on Reddit: and the survey itself:

slurpee commented on 2020-05-19 09:04

Building OpenRCT2 now requires the duktape Community repo package.

slurpee commented on 2019-10-19 03:24

I've noticed in some cases that the symlink to the system's rapidjson can sometimes not clean up correctly, causing the build to fail in the prepare step trying to make another symlink. I've added a guard around the ln so that it'll only create it if it doesn't exist. Thought it might help, let me know what you think!

diff --git a/PKGBUILD b/PKGBUILD
index 18bb5dc..ecb271f 100644
@@ -31,7 +31,9 @@ prepare() {
   cd "$srcdir/$pkgname"
   ln -sf "$srcdir/discord-rpc" discord-rpc
   mkdir -p discord-rpc/thirdparty
-  ln -sf "/usr/include/rapidjson" discord-rpc/thirdparty/rapidjson
+  if [[ ! -L "$srcdir/discord-rpc/thirdparty/rapidjson" ]]; then
+    ln -sf "/usr/include/rapidjson" discord-rpc/thirdparty/rapidjson
+  fi

 build() {

Thaodan commented on 2019-01-07 05:23

Could you base the pkgver on latest tag + commits since then?

janisozaur commented on 2018-11-03 23:05

That would most likely need to be supported in our cmakelists.txt, I have only added support for building discord-rpc from source. Feel free to file an issue for that, or better yet, submit a PR.

Thaodan commented on 2018-11-03 23:02

thanks. Discord-rpc is also shared and maybe possible as an optdepend.

grahamedgecombe commented on 2018-10-31 19:12

@JudgeManganese: I haven't managed to reproduce that, including when building inside a fresh chroot.

@Thaodan: sure, done.

Thaodan commented on 2018-10-31 09:46

Can we build with distro rapidjson instead of the shared one?

JudgeManganese commented on 2018-09-29 20:33

The objects/title sequences that CMake downloads as part of package() are now causing the PKGBUILD to fail with the below error. CMake is showing the hash for an empty file because the file wasn't downloaded. It seems makepkg is not allowing CMake to download because I can manually run the commands in package() and they get downloaded.

CMake Error at cmake_install.cmake:48 (file):
  file DOWNLOAD HASH mismatch

    for file: [<path-to-cache>/openrct2-git/pkg/openrct2-git/usr/share/openrct2/title/]
      expected hash: [1136ef92bfb05cd1cba9831ba6dc4a653d87a246]
        actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
             status: [6;"Couldn't resolve host name"]