libretro.desmume2015: move to retroarch/cores

This commit is contained in:
Thiago Kenji Okada 2024-11-19 13:25:39 +00:00
parent 2c54c27cbe
commit a9249a3bea
2 changed files with 41 additions and 11 deletions

View File

@ -131,17 +131,7 @@ lib.makeScope newScope (self: rec {
desmume = self.callPackage ./cores/desmume.nix { };
desmume2015 = mkLibretroCore {
core = "desmume2015";
extraBuildInputs = [ libpcap libGLU libGL xorg.libX11 ];
makeFlags = lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix"
++ lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0";
preBuild = "cd desmume";
meta = {
description = "Port of DeSmuME ~2015 to libretro";
license = lib.licenses.gpl2Plus;
};
};
desmume2015 = self.callPackage ./cores/desmume2015.nix { };
dolphin = mkLibretroCore {
core = "dolphin";

View File

@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchFromGitHub,
mkLibretroCore,
libpcap,
libGLU,
libGL,
xorg,
}:
mkLibretroCore {
core = "desmume2015";
version = "unstable-2024-10-21";
src = fetchFromGitHub {
owner = "libretro";
repo = "desmume2015";
rev = "af397ff3d1f208c27f3922cc8f2b8e08884ba893";
hash = "sha256-kEb+og4g7rJvCinBZKcb42geZO6W8ynGsTG9yqYgI+U=";
};
extraBuildInputs = [
libpcap
libGLU
libGL
xorg.libX11
];
makeFlags =
lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix"
++ lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0";
preBuild = "cd desmume";
meta = {
description = "Port of DeSmuME ~2015 to libretro";
homepage = "https://github.com/libretro/desmume2015";
license = lib.licenses.gpl2Plus;
};
}