cataclysm-dda-git: remove obsolete lua dependency
This commit is contained in:
parent
c2987f1ba8
commit
f7dacc3ae2
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, gettext, lua, ncurses, CoreFoundation
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, gettext, ncurses, CoreFoundation
|
||||
, tiles, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, freetype, Cocoa
|
||||
, debug, runtimeShell
|
||||
}:
|
||||
@ -6,7 +6,7 @@
|
||||
let
|
||||
inherit (stdenv.lib) optionals optionalString;
|
||||
|
||||
cursesDeps = [ gettext lua ncurses ]
|
||||
cursesDeps = [ gettext ncurses ]
|
||||
++ optionals stdenv.isDarwin [ CoreFoundation ];
|
||||
|
||||
tilesDeps = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf freetype ]
|
||||
@ -22,7 +22,7 @@ let
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)" "LUA=1" "USE_HOME_DIR=1" "LANGUAGES=all"
|
||||
"PREFIX=$(out)" "USE_HOME_DIR=1" "LANGUAGES=all"
|
||||
] ++ optionals (!debug) [
|
||||
"RELEASE=1"
|
||||
] ++ optionals tiles [
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, callPackage, CoreFoundation
|
||||
{ stdenv, callPackage, lua, CoreFoundation
|
||||
, tiles ? true, Cocoa
|
||||
, debug ? false
|
||||
}:
|
||||
@ -17,12 +17,18 @@ stdenv.mkDerivation (common // rec {
|
||||
sha256 = "00zzhx1mh1qjq668cga5nbrxp2qk6b82j5ak65skhgnlr6ii4ysc";
|
||||
};
|
||||
|
||||
buildInputs = common.buildInputs ++ [ lua ];
|
||||
|
||||
patches = [ ./patches/fix_locale_dir.patch ];
|
||||
|
||||
postPatch = common.postPatch + ''
|
||||
substituteInPlace lua/autoexec.lua --replace "/usr/share" "$out/share"
|
||||
'';
|
||||
|
||||
makeFlags = common.makeFlags ++ [
|
||||
"LUA=1"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib.maintainers; common.meta // {
|
||||
maintainers = common.meta.maintainers ++ [ skeidel ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user