mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
libretro.desmume: move to retroarch/cores
This commit is contained in:
parent
3f0e78e5b8
commit
2c54c27cbe
@ -129,17 +129,7 @@ lib.makeScope newScope (self: rec {
|
||||
|
||||
citra = self.callPackage ./cores/citra.nix { };
|
||||
|
||||
desmume = mkLibretroCore {
|
||||
core = "desmume";
|
||||
preBuild = "cd desmume/src/frontend/libretro";
|
||||
extraBuildInputs = [ libpcap libGLU libGL xorg.libX11 ];
|
||||
makeFlags = lib.optional stdenv.hostPlatform.isAarch32 "platform=armv-unix"
|
||||
++ lib.optional (!stdenv.hostPlatform.isx86) "DESMUME_JIT=0";
|
||||
meta = {
|
||||
description = "Port of DeSmuME to libretro";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
};
|
||||
desmume = self.callPackage ./cores/desmume.nix { };
|
||||
|
||||
desmume2015 = mkLibretroCore {
|
||||
core = "desmume2015";
|
||||
|
40
pkgs/applications/emulators/retroarch/cores/desmume.nix
Normal file
40
pkgs/applications/emulators/retroarch/cores/desmume.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
mkLibretroCore,
|
||||
libpcap,
|
||||
libGLU,
|
||||
libGL,
|
||||
xorg,
|
||||
}:
|
||||
mkLibretroCore {
|
||||
core = "desmume";
|
||||
version = "unstable-2024-10-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libretro";
|
||||
repo = "desmume";
|
||||
rev = "7f05a8d447b00acd9e0798aee97b4f72eb505ef9";
|
||||
hash = "sha256-BttWMunVbfPOTGx+DV+3QyOwW+55tgXKVIn99DZhbBI=";
|
||||
};
|
||||
|
||||
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/src/frontend/libretro";
|
||||
|
||||
meta = {
|
||||
description = "Port of DeSmuME to libretro";
|
||||
homepage = "https://github.com/libretro/desmume";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user