mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
libretro.desmume2015: move to retroarch/cores
This commit is contained in:
parent
2c54c27cbe
commit
a9249a3bea
@ -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";
|
||||
|
40
pkgs/applications/emulators/retroarch/cores/desmume2015.nix
Normal file
40
pkgs/applications/emulators/retroarch/cores/desmume2015.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user