2022-01-03 16:56:52 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, doxygen ? null, pkg-config
|
|
|
|
, freetype ? null, fmt, glib, harfbuzz ? null
|
2020-04-24 23:36:52 +00:00
|
|
|
, liblcf, libpng, libsndfile ? null, libvorbis ? null, libxmp ? null
|
|
|
|
, libXcursor, libXext, libXi, libXinerama, libXrandr, libXScrnSaver, libXxf86vm
|
2022-01-03 16:56:52 +00:00
|
|
|
, mpg123 ? null, opusfile ? null, pcre, pixman, SDL2, speexdsp ? null, wildmidi ? null, zlib
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "easyrpg-player";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "0.7.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EasyRPG";
|
|
|
|
repo = "Player";
|
|
|
|
rev = version;
|
2022-01-03 16:56:52 +00:00
|
|
|
sha256 = "049bj3jg3ldi3n11nx8xvh6pll68g7dcxz51q6z1gyyfxxws1qpj";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake doxygen pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2022-01-03 16:56:52 +00:00
|
|
|
fmt
|
2020-04-24 23:36:52 +00:00
|
|
|
freetype
|
|
|
|
glib
|
|
|
|
harfbuzz
|
|
|
|
liblcf
|
|
|
|
libpng
|
|
|
|
libsndfile
|
|
|
|
libvorbis
|
|
|
|
libxmp
|
|
|
|
libXcursor
|
|
|
|
libXext
|
|
|
|
libXi
|
|
|
|
libXinerama
|
|
|
|
libXrandr
|
|
|
|
libXScrnSaver
|
|
|
|
libXxf86vm
|
|
|
|
mpg123
|
|
|
|
opusfile
|
|
|
|
pcre
|
|
|
|
pixman
|
2022-01-03 16:56:52 +00:00
|
|
|
SDL2
|
2020-04-24 23:36:52 +00:00
|
|
|
speexdsp
|
|
|
|
wildmidi
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "RPG Maker 2000/2003 and EasyRPG games interpreter";
|
|
|
|
homepage = "https://easyrpg.org/";
|
|
|
|
license = licenses.gpl3;
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ yana ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|