kodiPackages.libretro-nestopia: init at 1.52.0.41

This commit is contained in:
Sergey Kazenyuk 2023-07-25 13:46:54 +03:00
parent 46f4a37dcf
commit 40f2137a73
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,31 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, libretro, nestopia }:
buildKodiBinaryAddon rec {
pname = "libretro-nestopia";
namespace = "game.libretro.nestopia";
version = "1.52.0.41";
src = fetchFromGitHub {
owner = "kodi-game";
repo = "game.libretro.nestopia";
rev = "${version}-${rel}";
sha256 = "sha256-DmBO+HcfIBcz7p16dND09iwXWeObtU/doo/mJ0IZGGg=";
};
extraCMakeFlags = [
"-DNESTOPIA_LIB=${nestopia}/lib/retroarch/cores/nestopia_libretro.so"
];
extraBuildInputs = [ nestopia ];
propagatedBuildInputs = [
libretro
];
meta = with lib; {
homepage = "https://github.com/kodi-game/game.libretro.nestopia";
description = "Nintendo - NES / Famicom (Nestopia UE) GameClient for Kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View File

@ -3,7 +3,7 @@
with lib;
let
inherit (libretro) fuse genesis-plus-gx mgba snes9x twenty-fortyeight;
inherit (libretro) fuse genesis-plus-gx mgba nestopia snes9x twenty-fortyeight;
in
let self = rec {
@ -70,6 +70,8 @@ let self = rec {
libretro-mgba = callPackage ../applications/video/kodi/addons/libretro-mgba { inherit mgba; };
libretro-nestopia = callPackage ../applications/video/kodi/addons/libretro-nestopia { inherit nestopia; };
libretro-snes9x = callPackage ../applications/video/kodi/addons/libretro-snes9x { inherit snes9x; };
jellyfin = callPackage ../applications/video/kodi/addons/jellyfin { };