From 13f0bb7a53d57f145118057fb28dbd38ebd7ce8e Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Fri, 26 Feb 2016 11:18:02 +0100 Subject: [PATCH] libretro-mame: init at git-2016-02-10 --- pkgs/misc/emulators/retroarch/cores.nix | 17 +++++++++++++++-- pkgs/top-level/all-packages.nix | 1 + 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index 07d665503791..332357e317e3 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -1,5 +1,6 @@ { stdenv, fetchgit, pkgconfig, makeWrapper, python27, retroarch -, fluidsynth, mesa, SDL, ffmpeg, libpng, libjpeg, libvorbis, zlib }: +, alsaLib, fluidsynth, mesa, portaudio, SDL, ffmpeg, libpng, libjpeg +, libvorbis, zlib }: let @@ -33,7 +34,7 @@ let inherit description; homepage = "http://www.libretro.com/"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ edwtjo MP2E ]; + maintainers = with maintainers; [ edwtjo hrdinka MP2E ]; platforms = platforms.linux; }; } // a); @@ -133,6 +134,18 @@ in description = "Enhanced Genesis Plus libretro port"; }; + mame = mkLibRetroCore { + core = "mame"; + src = fetchRetro { + repo = "mame"; + rev = "8da2303292bb8530f9f4ffad8bf1df95ee4cab74"; + sha256 = "0rzy5klp8vf9vc8fylbdnp2qcvl1nkgw5a55ljqc5vich4as5alq"; + }; + description = "Port of MAME to libretro"; + + extraBuildInputs = [ alsaLib portaudio python27 ]; + }; + mednafen-pce-fast = (mkLibRetroCore rec { core = "mednafen-pce-fast"; src = fetchRetro { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0ec1c1c0e788..3cd8770b5849 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14013,6 +14013,7 @@ let ++ optional (cfg.enableFceumm or false) fceumm ++ optional (cfg.enableGambatte or false) gambatte ++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx + ++ optional (cfg.enableMAME or false) mame ++ optional (cfg.enableMednafenPCEFast or false) mednafen-pce-fast ++ optional (cfg.enableMupen64Plus or false) mupen64plus ++ optional (cfg.enableNestopia or false) nestopia