retroarch: add NP2kai core

This commit is contained in:
Christoph Neidahl 2020-04-08 17:41:37 +02:00
parent fb93b96190
commit 98f346852b
2 changed files with 20 additions and 0 deletions

View File

@ -718,6 +718,25 @@ in with stdenv.lib.licenses;
preBuild = "cd libretro";
};
np2kai = mkLibRetroCore rec {
core = "np2kai";
src = fetchFromGitHub rec {
owner = "AZO234";
repo = "NP2kai";
rev = "4a317747724669343e4c33ebdd34783fb7043221";
sha256 = "0kxysxhx6jyk82mx30ni0ydzmwdcbnlxlnarrlq018rsnwb4md72";
};
description = "Neko Project II kai libretro port";
license = mit;
makefile = "Makefile.libretro";
preBuild = ''
cd sdl2
substituteInPlace ${makefile} \
--replace 'GIT_VERSION :=' 'GIT_VERSION ?='
export GIT_VERSION=${builtins.substring 0 7 src.rev}
'';
};
o2em = mkLibRetroCore rec {
core = "o2em";
src = fetchRetro {

View File

@ -22760,6 +22760,7 @@ in
++ optional (cfg.enableMupen64Plus or false) mupen64plus
++ optional (cfg.enableNeoCD or false) neocd
++ optional (cfg.enableNestopia or false) nestopia
++ optional (cfg.enableNP2kai or false) np2kai
++ optional (cfg.enableO2EM or false) o2em
++ optional (cfg.enableOpera or false) opera
++ optional (cfg.enableParallelN64 or false) parallel-n64