Skip to content

Commit

Permalink
kodiPackages.libretro-gw: init at 1.6.3.34 (NixOS#378322)
Browse files Browse the repository at this point in the history
  • Loading branch information
aanderse authored Feb 5, 2025
2 parents 730c3a8 + da6fbd9 commit 74b831f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
38 changes: 38 additions & 0 deletions pkgs/applications/video/kodi/addons/libretro-gw/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
rel,
buildKodiBinaryAddon,
fetchFromGitHub,
libretro,
gw,
}:

buildKodiBinaryAddon rec {
pname = "libretro-gw";
namespace = "game.libretro.gw";
version = "1.6.3.34";

src = fetchFromGitHub {
owner = "kodi-game";
repo = "game.libretro.gw";
rev = "${version}-${rel}";
hash = "sha256-HYXR3cEjbdKgKy42nq36Ii3UyxRVuQVROQjyaxSp5Ro=";
};

extraCMakeFlags = [
"-DGW_LIB=${gw}/lib/retroarch/cores/gw_libretro.so"
];

extraBuildInputs = [ gw ];
propagatedBuildInputs = [
libretro
];

meta = with lib; {
homepage = "https://github.com/kodi-game/game.libretro.gw";
description = "Game and Watch for Kodi";
platforms = platforms.all;
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}
4 changes: 3 additions & 1 deletion pkgs/top-level/kodi-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let
unique
;

inherit (libretro) fuse genesis-plus-gx mgba nestopia snes9x twenty-fortyeight;
inherit (libretro) fuse genesis-plus-gx gw mgba nestopia snes9x twenty-fortyeight;

callPackage = newScope self;

Expand Down Expand Up @@ -75,6 +75,8 @@ let

libretro-genplus = callPackage ../applications/video/kodi/addons/libretro-genplus { inherit genesis-plus-gx; };

libretro-gw = callPackage ../applications/video/kodi/addons/libretro-gw { inherit gw; };

libretro-mgba = callPackage ../applications/video/kodi/addons/libretro-mgba { inherit mgba; };

libretro-nestopia = callPackage ../applications/video/kodi/addons/libretro-nestopia { inherit nestopia; };
Expand Down

0 comments on commit 74b831f

Please sign in to comment.