mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 14:11:21 +00:00
zod: migrate to wxGTK32
This commit is contained in:
parent
86872d31b1
commit
022e555d67
@ -7,7 +7,7 @@
|
||||
, SDL_ttf
|
||||
, SDL_mixer
|
||||
, libmysqlclient
|
||||
, wxGTK
|
||||
, wxGTK32
|
||||
, symlinkJoin
|
||||
, runCommandLocal
|
||||
, makeWrapper
|
||||
@ -31,7 +31,7 @@ let
|
||||
SDL_ttf
|
||||
SDL_mixer
|
||||
libmysqlclient
|
||||
wxGTK
|
||||
wxGTK32
|
||||
coreutils
|
||||
];
|
||||
hardeningDisable = [ "format" ];
|
||||
@ -74,7 +74,8 @@ let
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace zod_launcher_src/zod_launcherFrm.cpp \
|
||||
--replace 'message = wxT("./zod");' 'message = wxT("zod");'
|
||||
--replace 'message = wxT("./zod");' 'message = wxT("zod");' \
|
||||
--replace "check.replace(i,1,1,'_');" "check.replace(i,1,1,(wxUniChar)'_');"
|
||||
'';
|
||||
preBuild = "cd zod_launcher_src";
|
||||
installPhase = ''
|
||||
@ -106,5 +107,6 @@ in
|
||||
homepage = "http://zod.sourceforge.net/";
|
||||
maintainers = with maintainers; [ zeri ];
|
||||
license = licenses.gpl3Plus; /* Says the website */
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user