libretro: add higan-sfc core (#36238)

This commit is contained in:
DarkScythe97 2018-03-04 05:39:18 +00:00 committed by Jörg Thalheim
parent bb284c56ce
commit 799178fe45
2 changed files with 17 additions and 1 deletions

View file

@ -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
, ffmpeg, pcre, libevdev, libpng, libjpeg, libudev, libvorbis
, miniupnpc, sfml, xorg, zlib }:
@ -215,6 +215,21 @@ in with stdenv.lib.licenses;
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 {
core = "mame";
src = fetchRetro {

View file

@ -18128,6 +18128,7 @@ with pkgs;
++ optional (cfg.enableFceumm or false) fceumm
++ optional (cfg.enableGambatte or false) gambatte
++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx
++ optional (cfg.enableHiganSFC or false) higan-sfc
++ optional (cfg.enableMAME or false) mame
++ optional (cfg.enableMGBA or false) mgba
++ optional (cfg.enableMupen64Plus or false) mupen64plus