libretro: add comments about easyrpg core build process

This commit is contained in:
Ruin0x11 2024-02-19 18:29:35 +00:00
parent b8b32a6426
commit bf5a14fb08
2 changed files with 7 additions and 2 deletions

View File

@ -416,8 +416,9 @@ in
extraNativeBuildInputs = [ cmake pkg-config ];
extraBuildInputs = [ fmt freetype harfbuzz liblcf libpng libsndfile libvorbis libxmp mpg123 opusfile pcre pixman speexdsp ];
patches = [
# Fixed compatibility with fmt > 9
# Remove when version > 0.8
# The following patch is shared with easyrpg-player.
# Update when new versions of liblcf and easyrpg-player are released.
# See pkgs/games/easyrpg-player/default.nix for details.
(fetchpatch {
name = "0001-Fix-building-with-fmtlib-10.patch";
url = "https://github.com/EasyRPG/Player/commit/ab6286f6d01bada649ea52d1f0881dde7db7e0cf.patch";

View File

@ -50,6 +50,10 @@ CORES = {
"dolphin": {"repo": "dolphin"},
"dosbox": {"repo": "dosbox-libretro"},
"dosbox-pure": {"repo": "dosbox-pure", "owner": "schellingb"},
# The EasyRPG core is pinned to 0.8 since it depends on version 0.8 of liblcf, which
# was released in April 2023.
# Update the version when a compatible liblcf is available.
# See pkgs/games/easyrpg-player/default.nix for details.
"easyrpg": {"repo": "Player", "owner": "EasyRPG", "fetch_submodules": True, "rev": "0.8"},
"eightyone": {"repo": "81-libretro"},
"fbalpha2012": {"repo": "fbalpha2012"},