Merge pull request #239800 from nvmd/init/kodiPackages.libretro-2048

kodiPackages.libretro-2048: init at 1.0.0.136
This commit is contained in:
Aaron Andersen 2023-06-27 11:44:13 -04:00 committed by GitHub
commit 0017b5269e
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, buildKodiBinaryAddon, fetchFromGitHub, libretro, twenty-fortyeight }:
buildKodiBinaryAddon rec {
pname = "libretro-2048";
namespace = "game.libretro.2048";
version = "1.0.0.136";
src = fetchFromGitHub {
owner = "kodi-game";
repo = "game.libretro.2048";
rev = "${version}-Nexus";
hash = "sha256-cIo56ZGansBlAj6CFw51UOYJUivN9n1qhVTWAX9c5Tc=";
};
extraCMakeFlags = [
"-D2048_LIB=${twenty-fortyeight}/lib/retroarch/cores/2048_libretro.so"
];
extraBuildInputs = [ twenty-fortyeight ];
propagatedBuildInputs = [
libretro
];
meta = with lib; {
homepage = "https://github.com/kodi-game/game.libretro.2048";
description = "2048 GameClient for Kodi";
platforms = platforms.all;
license = licenses.publicDomain;
maintainers = with maintainers; teams.kodi.members ++ [ kazenyuk ];
};
}

View File

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