-
-
Notifications
You must be signed in to change notification settings - Fork 15.6k
openclonk: fix build #403871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openclonk: fix build #403871
Conversation
cmake complained about not finding X11_LIBRARIES, which is fixed by providing libXrandr. Adding ninja fixes the installPhase which fails randomly. There is a hack in upstream's CMakeLists.txt file that reads: USES_TERMINAL # Hack: prevent parallel execution (for ninja), c4group tends to fail otherwise This only works with ninja, though. Also enable parallel install phase again, since this seems to work with ninja now. This also fixes the build for aarch64-linux.
This fixes the game at run-time.
Works without them, too.
The ISC license always applies, the unfree part only is added additionally.
@@ -82,6 +83,7 @@ stdenv.mkDerivation { | |||
libogg | |||
libpng | |||
libvorbis | |||
libXrandr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding libXrandr here, #403479 could possibly fix it as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will still wait for #403479 and then see what that does for us.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works on my machine.
ZHF: #403336
Things done
./result/bin/
)Add a 👍 reaction to pull requests you find important.