arx-libertatis: 2018-08-26 -> 2019-02-16

This commit is contained in:
rnhmjoj 2019-02-22 18:56:07 +01:00
parent 3eda950518
commit d10f3e985a
No known key found for this signature in database
GPG Key ID: 91BE884FBA4B591A

View File

@ -1,24 +1,36 @@
{ stdenv, fetchFromGitHub, cmake, zlib, boost, { stdenv, fetchFromGitHub, cmake, zlib, boost
openal, glm, freetype, libGLU_combined, glew, SDL2, , openal, glm, freetype, libGLU, SDL2, epoxy
dejavu_fonts, inkscape, optipng, imagemagick }: , dejavu_fonts, inkscape, optipng, imagemagick
, withCrashReporter ? !stdenv.isDarwin
, qt5 ? null
, curl ? null
, gdb ? null
}:
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "arx-libertatis-${version}"; name = "arx-libertatis-${version}";
version = "2018-08-26"; version = "2019-02-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "arx"; owner = "arx";
repo = "ArxLibertatis"; repo = "ArxLibertatis";
rev = "7b551739cc22fa25dae83bcc1a2b784ddecc729c"; rev = "fbce6ccbc7f58583f33f29b838c38ef527edc267";
sha256 = "1ybv3p74rywn0ajdbw7pyk7pd7py1db9h6x2pav2d28ndkkj4z8n"; sha256 = "0qrygp09dqhpb5q6a1zl6l03qh9bi7xcahd8hy9177z1cix3k0kz";
}; };
buildInputs = [
cmake zlib boost openal glm nativeBuildInputs = [
freetype libGLU_combined glew SDL2 inkscape cmake inkscape imagemagick optipng
optipng imagemagick
]; ];
buildInputs = [
zlib boost openal glm
freetype libGLU SDL2 epoxy
] ++ optionals withCrashReporter [ qt5.qtbase curl ]
++ optionals stdenv.isLinux [ gdb ];
cmakeFlags = [ cmakeFlags = [
"-DDATA_DIR_PREFIXES=$out/share" "-DDATA_DIR_PREFIXES=$out/share"
"-DImageMagick_convert_EXECUTABLE=${imagemagick.out}/bin/convert" "-DImageMagick_convert_EXECUTABLE=${imagemagick.out}/bin/convert"
@ -33,7 +45,7 @@ stdenv.mkDerivation rec {
$out/share/games/arx/misc/dejavusansmono.ttf $out/share/games/arx/misc/dejavusansmono.ttf
''; '';
meta = with stdenv.lib; { meta = {
description = '' description = ''
A cross-platform, open source port of Arx Fatalis, a 2002 A cross-platform, open source port of Arx Fatalis, a 2002
first-person role-playing game / dungeon crawler first-person role-playing game / dungeon crawler