mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
openrct2: 0.2.4 -> 0.2.6
This commit is contained in:
parent
9b20a24d4d
commit
790748c249
@ -4,21 +4,20 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
name = "openrct2-${version}";
|
version = "0.2.6";
|
||||||
version = "0.2.4";
|
|
||||||
|
|
||||||
openrct2-src = fetchFromGitHub {
|
openrct2-src = fetchFromGitHub {
|
||||||
owner = "OpenRCT2";
|
owner = "OpenRCT2";
|
||||||
repo = "OpenRCT2";
|
repo = "OpenRCT2";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1rlw3w20llg36sj3bk50g661qw766ng8ma3p42sdkj8br9dw800h";
|
sha256 = "1vikbkg3wh5ngzdfilb6irbh6nqinf138qpdz8wz9izlvl8s36k4";
|
||||||
};
|
};
|
||||||
|
|
||||||
objects-src = fetchFromGitHub {
|
objects-src = fetchFromGitHub {
|
||||||
owner = "OpenRCT2";
|
owner = "OpenRCT2";
|
||||||
repo = "objects";
|
repo = "objects";
|
||||||
rev = "v1.0.12";
|
rev = "v1.0.14";
|
||||||
sha256 = "0vfhyldc8nfvkg4d9kry669haxz2165walbxzgza7pqpnd7aqgrf";
|
sha256 = "1bqbia5y73v4r0sv5cvi5729jh2ns7cxn557blh715yxswk91590";
|
||||||
};
|
};
|
||||||
|
|
||||||
title-sequences-src = fetchFromGitHub {
|
title-sequences-src = fetchFromGitHub {
|
||||||
@ -29,7 +28,8 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit version;
|
||||||
|
pname = "openrct2";
|
||||||
|
|
||||||
src = openrct2-src;
|
src = openrct2-src;
|
||||||
|
|
||||||
@ -61,12 +61,11 @@ stdenv.mkDerivation {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=RELWITHDEBINFO"
|
|
||||||
"-DDOWNLOAD_OBJECTS=OFF"
|
"-DDOWNLOAD_OBJECTS=OFF"
|
||||||
"-DDOWNLOAD_TITLE_SEQUENCES=OFF"
|
"-DDOWNLOAD_TITLE_SEQUENCES=OFF"
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = ["all" "g2"];
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preFixup = "ln -s $out/share/openrct2 $out/bin/data";
|
preFixup = "ln -s $out/share/openrct2 $out/bin/data";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user