mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
libretro.flycast: move to retroarch/cores
This commit is contained in:
parent
1e7e62c52a
commit
f66bd675c4
@ -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";
|
||||
|
38
pkgs/applications/emulators/retroarch/cores/flycast.nix
Normal file
38
pkgs/applications/emulators/retroarch/cores/flycast.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user