libretro.flycast: move to retroarch/cores

This commit is contained in:
Thiago Kenji Okada 2024-11-19 16:01:18 +00:00
parent 1e7e62c52a
commit f66bd675c4
2 changed files with 39 additions and 12 deletions

View File

@ -149,18 +149,7 @@ lib.makeScope newScope (self: rec {
fceumm = self.callPackage ./cores/fceumm.nix { };
flycast = mkLibretroCore {
core = "flycast";
extraNativeBuildInputs = [ cmake ];
extraBuildInputs = [ libGL libGLU ];
cmakeFlags = [ "-DLIBRETRO=ON" ];
makefile = "Makefile";
meta = {
description = "Flycast libretro port";
license = lib.licenses.gpl2Only;
platforms = [ "aarch64-linux" "x86_64-linux" ];
};
};
flycast = self.callPackage ./cores/flycast.nix { };
fmsx = mkLibretroCore {
core = "fmsx";

View File

@ -0,0 +1,38 @@
{
lib,
fetchFromGitHub,
mkLibretroCore,
cmake,
libGL,
libGLU,
}:
mkLibretroCore {
core = "flycast";
version = "unstable-2024-10-05";
src = fetchFromGitHub {
owner = "flyinghead";
repo = "flycast";
rev = "d689c50e21bf956913ac607933cd4082eaedc06b";
hash = "sha256-XIe1JrKVY4ba5WnKrVofWNpJU5pcwUyDd14ZzaGcf+k=";
fetchSubmodules = true;
};
extraNativeBuildInputs = [ cmake ];
extraBuildInputs = [
libGL
libGLU
];
cmakeFlags = [ "-DLIBRETRO=ON" ];
makefile = "Makefile";
meta = {
description = "Flycast libretro port";
homepage = "https://github.com/flyinghead/flycast";
license = lib.licenses.gpl2Only;
platforms = [
"aarch64-linux"
"x86_64-linux"
];
};
}