kodi.packages.libretro-mgba: init at 0.9.2.31

This commit is contained in:
Aaron Andersen 2021-11-14 14:42:16 -05:00
parent 51ac8edff3
commit 962807bf9e
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,31 @@
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, libretro, mgba }:
buildKodiBinaryAddon rec {
pname = "kodi-libretro-mgba";
namespace = "game.libretro.mgba";
version = "0.9.2.31";
src = fetchFromGitHub {
owner = "kodi-game";
repo = "game.libretro.mgba";
rev = "${version}-${rel}";
sha256 = "sha256-eZLuNhLwMTtzpLGkymc9cLC83FQJWZ2ZT0iyz4sY4EA=";
};
extraCMakeFlags = [
"-DMGBA_LIB=${mgba}/lib/retroarch/cores/mgba_libretro.so"
];
extraBuildInputs = [ mgba ];
propagatedBuildInputs = [
libretro
];
meta = with lib; {
homepage = "https://github.com/kodi-game/game.libretro.mgba";
description = "mGBA for Kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View File

@ -3,7 +3,7 @@
with lib;
let
inherit (libretro) genesis-plus-gx snes9x;
inherit (libretro) genesis-plus-gx mgba snes9x;
in
let self = rec {
@ -76,6 +76,8 @@ let self = rec {
libretro-genplus = callPackage ../applications/video/kodi-packages/libretro-genplus { inherit genesis-plus-gx; };
libretro-mgba = callPackage ../applications/video/kodi-packages/libretro-mgba { inherit mgba; };
libretro-snes9x = callPackage ../applications/video/kodi-packages/libretro-snes9x { inherit snes9x; };
jellyfin = callPackage ../applications/video/kodi-packages/jellyfin { };