Unverified Commit 74b831f2 authored by Aaron Andersen's avatar Aaron Andersen Committed by GitHub
Browse files

kodiPackages.libretro-gw: init at 1.6.3.34 (#378322)

parents 730c3a8d da6fbd93
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  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;
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -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;

@@ -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; };