Package Details: openrct2-git r14178.bdc75a4d3-1

Git Clone URL: https://aur.archlinux.org/openrct2-git.git (read-only)
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: grahamedgecombe
Last Packager: grahamedgecombe
Votes: 22
Popularity: 0.213391
First Submitted: 2014-05-27 09:56
Last Updated: 2018-03-19 19:19

Latest Comments

grahamedgecombe commented on 2018-04-16 16:35

imho it's good practice to run the unit tests where available, especially in a project like this as C/C++ have a lot of system-dependent behaviour - and fwiw I think building the main OpenRCT2 executable outweighs the time spent running the tests.

That said, you should be able to pass --nocheck to makepkg to skip running the tests if you want to (although it'll still build them - idk if there's a way we can detect --nocheck in the PKGBUILD).

Enverex commented on 2018-04-16 11:25

Is there any point in "WITH_TESTS=on"? Seems like it's just going to increase the build time and provide no real benefit for users. It's mainly for the devs to test with.

janisozaur commented on 2018-03-06 16:12

We are aware of this and will have a fix soonish.

Upstream discord-rpc changed file name in one of their latest commits (discord-rpc.h -> discord_rpc.h) and to fix it you simply need to rename the relevant include. We have not changed the file name upstream yet because we are updating Windows' libraries at the same time.

Note that you can also choose to not use discord-rpc at all if you don't want to or use slightly older commit of it.

wyre commented on 2018-03-06 16:05

I've got issues with discord_register.h after your fix:

[  8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/DiscordService.cpp.o
/home/wyre/AUR/openrct2-git/src/openrct2-git/src/openrct2/network/DiscordService.cpp:19:10: fatal error: discord-rpc.h: No such file or directory
 #include <discord-rpc.h>
          ^~~~~~~~~~~~~~~

grahamedgecombe commented on 2018-02-10 22:22

thanks, fixed

janisozaur commented on 2018-02-10 21:57

The PKGBUILD seems to be broken: rmdir: failed to remove '/home/janisozaur/.cache/pacaur/openrct2-git/pkg/openrct2-git/usr/include': Directory not empty

Indeed, there is a lone file discord_register.h.

grahamedgecombe commented on 2017-11-17 10:23

thanks, I've added discord-rpc

janisozaur commented on 2017-11-15 21:37

https://github.com/OpenRCT2/OpenRCT2/pull/6658 adds optional support for Discord Rich Presence. To enable clone https://github.com/discordapp/discord-rpc into the root directory, it will get detected automatically.

I have not seen it stated explicitly anywhere, but it looks like running a discord client is required for this feature to work.

Synthead commented on 2017-10-04 04:19

OpenRCT2 segfaults after upgrading sdl2 to 2.0.6-1. It works fine with sdl2 version 2.0.5-4. I filed an issue for this here (https://github.com/OpenRCT2/OpenRCT2/issues/6364) and thought I'd drop a note here, too.

janisozaur commented on 2017-08-09 21:35

The already merged https://github.com/OpenRCT2/OpenRCT2/pull/6145 changes the build process a little. You can now use CMake-standard option "BUILD_SHARED_LIBS" to request libraries (just the ones added with add_library() – in our case only libopenrct2) to be linked in a shared way. By default it is off, which results in static library.

I will also be making a 0.1.1 release momentarily.

All comments