forked from mirrors/nixpkgs
libretro: add higan-sfc core (#36238)
This commit is contained in:
parent
bb284c56ce
commit
799178fe45
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchgit, cmake, pkgconfig, makeWrapper, python27, retroarch
|
{ stdenv, fetchgit, fetchFromGitLab, cmake, pkgconfig, makeWrapper, python27, retroarch
|
||||||
, alsaLib, fluidsynth, curl, hidapi, mesa, gettext, glib, gtk2, portaudio, SDL
|
, alsaLib, fluidsynth, curl, hidapi, mesa, gettext, glib, gtk2, portaudio, SDL
|
||||||
, ffmpeg, pcre, libevdev, libpng, libjpeg, libudev, libvorbis
|
, ffmpeg, pcre, libevdev, libpng, libjpeg, libudev, libvorbis
|
||||||
, miniupnpc, sfml, xorg, zlib }:
|
, miniupnpc, sfml, xorg, zlib }:
|
||||||
|
@ -215,6 +215,21 @@ in with stdenv.lib.licenses;
|
||||||
license = "Non-commercial";
|
license = "Non-commercial";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
higan-sfc = (mkLibRetroCore rec {
|
||||||
|
core = "higan-sfc";
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "higan";
|
||||||
|
repo = "higan";
|
||||||
|
rev = "d3f592013a27cb78f17d84f90a6be6cf6f6af1d1";
|
||||||
|
sha256 = "19d4cbwg8d085xq5lmql4v5l4ckgwqzc59ha5yfgv3w4qfp4dmij";
|
||||||
|
};
|
||||||
|
description = "Accurate SNES / Super Famicom emulator";
|
||||||
|
license = gpl3;
|
||||||
|
}).override {
|
||||||
|
makefile = "GNUmakefile";
|
||||||
|
buildPhase = "cd higan && make compiler=g++ target=libretro binary=library && cd out";
|
||||||
|
};
|
||||||
|
|
||||||
mame = (mkLibRetroCore {
|
mame = (mkLibRetroCore {
|
||||||
core = "mame";
|
core = "mame";
|
||||||
src = fetchRetro {
|
src = fetchRetro {
|
||||||
|
|
|
@ -18128,6 +18128,7 @@ with pkgs;
|
||||||
++ optional (cfg.enableFceumm or false) fceumm
|
++ optional (cfg.enableFceumm or false) fceumm
|
||||||
++ optional (cfg.enableGambatte or false) gambatte
|
++ optional (cfg.enableGambatte or false) gambatte
|
||||||
++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx
|
++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx
|
||||||
|
++ optional (cfg.enableHiganSFC or false) higan-sfc
|
||||||
++ optional (cfg.enableMAME or false) mame
|
++ optional (cfg.enableMAME or false) mame
|
||||||
++ optional (cfg.enableMGBA or false) mgba
|
++ optional (cfg.enableMGBA or false) mgba
|
||||||
++ optional (cfg.enableMupen64Plus or false) mupen64plus
|
++ optional (cfg.enableMupen64Plus or false) mupen64plus
|
||||||
|
|
Loading…
Reference in a new issue