Package Details: openrct2-git 0.4.4.r18.g1174063c27-1

Git Clone URL: https://aur.archlinux.org/openrct2-git.git (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: https://openrct2.io
Licenses: GPL3
Conflicts: openrct2
Provides: openrct2
Submitter: grahamedgecombe
Maintainer: rctdude2
Last Packager: rctdude2
Votes: 30
Popularity: 0.24
First Submitted: 2014-05-27 09:56 (UTC)
Last Updated: 2023-04-01 20:12 (UTC)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 14 Next › Last »

IntelOrca commented on 2022-06-09 23:23 (UTC) (edited on 2022-06-09 23:23 (UTC) by IntelOrca)

duktape is no longer required

libflac, libogg, and libvorbis are now required (unless disabled via cmake option)

colejohnson66 commented on 2021-04-23 19:57 (UTC) (edited on 2021-04-23 19:59 (UTC) by colejohnson66)

To fix the error, I just opened up PKGBUILD in a text editor and removed the 4 rm lines and 2 rmdir lines inside package() (unified diff below). These should probably be changed to conditional removals ala [[ -f FILE ]] && rm FILE.

--- PKGBUILD    2021-04-22 17:39:41.671454399 -0400
+++ PKGBUILD    2021-04-23 15:56:07.402117749 -0400
@@ -49,12 +49,4 @@
   cd "$srcdir/$pkgname/build"

   make DESTDIR="$pkgdir" install
-
-  rm "$pkgdir/usr/lib/libopenrct2.a"
-  rm "$pkgdir/usr/lib/libdiscord-rpc.a"
-  rmdir "$pkgdir/usr/lib"
-
-  rm "$pkgdir/usr/include/discord_rpc.h"
-  rm "$pkgdir/usr/include/discord_register.h"
-  rmdir "$pkgdir/usr/include"
 }

MrAureliusR commented on 2021-04-04 16:21 (UTC) (edited on 2021-04-04 16:23 (UTC) by MrAureliusR)

Since commit 818b2a5239 on Jan 11 for implementing https://github.com/OpenRCT2/OpenRCT2/pull/13658, 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.```

I am having this error and I cannot figure out how to get it to build. Do I need to remove Discord first? I tried added discord-rpc-api to both depends and/or makedepends before building, had no effect. Any tips would be greatly appreciated!

JudgeManganese commented on 2021-02-16 01:08 (UTC)

Since commit 818b2a5239 on Jan 11 for implementing https://github.com/OpenRCT2/OpenRCT2/pull/13658, 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 (UTC)

Please fill out the latest OpenRCT2 survey, you can find more info on Reddit: https://www.reddit.com/r/rct/comments/hr7dow/openrct2_user_survey/ and the survey itself: https://forms.gle/YiFKfLFXatDgwmSa7

slurpee commented on 2020-05-19 09:04 (UTC)

Building OpenRCT2 now requires the duktape Community repo package.

https://github.com/OpenRCT2/OpenRCT2/wiki/Building-OpenRCT2-on-Linux/_compare/5deb31e4ff70d3a984368a47d9913cd88ecfa22c...b52bac71e819baa0bb85fb3a001bd2b5e9e6183d#diff-5f705bbc95ee85e0d8c0bc5a3a6766f7R44

slurpee commented on 2019-10-19 03:24 (UTC)

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 (UTC)

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