kodiPackages.libretro-2048: init at 1.0.0.136

This commit is contained in:
Sergey Kazenyuk 2023-05-29 13:59:00 +03:00
parent ea25c08fe2
commit 56c7d5e2e8
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; };