Merge pull request #245367 from nvmd/init/kodiPackages.libretro-nestopia

kodiPackages.libretro-nestopia: init at 1.52.0.41
This commit is contained in:
Aaron Andersen 2023-08-21 19:19:11 +09:00 committed by GitHub
commit d3f00f8c16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 { };