Merge pull request #101633 from karolchmist/devilutionx-1.1.0-432fbc8e-fixed-dynamic-sdl2
devilutionx: 1.0.1 -> 1.1.0 @ 1432fbc8e
This commit is contained in:
commit
60d4ac8280
1 changed files with 11 additions and 5 deletions
|
@ -1,13 +1,13 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, SDL2_ttf, libsodium, pkg-config }:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.1";
|
||||
pname = "devilutionx";
|
||||
version = "2020-10-20";
|
||||
pname = "devilutionx-unstable";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "diasurgical";
|
||||
repo = "devilutionX";
|
||||
rev = version;
|
||||
sha256 = "1jvjlch9ql5s5jx9g5y5pkc2xn62199qylsmzpqzx1jc3k2vmw5i";
|
||||
rev = "432fbc8ef7b98e567b08e44ce91b198374a5ff01";
|
||||
sha256 = "03w3bgmzwsbycx3fzvn47fsmabl069gw77yn2fqg89wlgaw1yrr9";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
|
@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
|
|||
''-DTTF_FONT_PATH="${placeholder "out"}/share/fonts/truetype/CharisSILB.ttf"''
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBINARY_RELEASE=ON"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
buildInputs = [ libsodium SDL2 SDL2_mixer SDL2_ttf ];
|
||||
|
||||
|
@ -40,6 +46,6 @@ stdenv.mkDerivation rec {
|
|||
longDescription = "In order to play this game a copy of diabdat.mpq is required. Place a copy of diabdat.mpq in ~/.local/share/diasurgical/devilution before executing the game.";
|
||||
license = licenses.unlicense;
|
||||
maintainers = [ maintainers.karolchmist ];
|
||||
platforms = platforms.linux ++ platforms.darwin ++ platforms.windows;
|
||||
platforms = platforms.linux ++ platforms.windows;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue