2022-01-02 18:54:30 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, doxygen ? null, pkg-config
|
|
|
|
, freetype ? null, fmt, glib, harfbuzz ? null
|
2018-11-15 21:36:07 +00:00
|
|
|
, liblcf, libpng, libsndfile ? null, libvorbis ? null, libxmp ? null
|
|
|
|
, libXcursor, libXext, libXi, libXinerama, libXrandr, libXScrnSaver, libXxf86vm
|
2022-01-02 18:54:30 +00:00
|
|
|
, mpg123 ? null, opusfile ? null, pcre, pixman, SDL2, speexdsp ? null, wildmidi ? null, zlib
|
2022-05-20 09:09:01 +00:00
|
|
|
, libdecor
|
2022-01-02 18:54:30 +00:00
|
|
|
}:
|
2017-12-25 02:28:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "easyrpg-player";
|
2022-01-02 18:54:30 +00:00
|
|
|
version = "0.7.0";
|
2017-12-25 02:28:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EasyRPG";
|
|
|
|
repo = "Player";
|
|
|
|
rev = version;
|
2022-01-02 18:54:30 +00:00
|
|
|
sha256 = "049bj3jg3ldi3n11nx8xvh6pll68g7dcxz51q6z1gyyfxxws1qpj";
|
2017-12-25 02:28:19 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 05:49:22 +00:00
|
|
|
nativeBuildInputs = [ cmake doxygen pkg-config ];
|
2017-12-25 02:28:19 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2022-01-02 18:54:30 +00:00
|
|
|
fmt
|
2017-12-25 02:28:19 +00:00
|
|
|
freetype
|
2018-11-15 21:36:07 +00:00
|
|
|
glib
|
2017-12-25 02:28:19 +00:00
|
|
|
harfbuzz
|
|
|
|
liblcf
|
|
|
|
libpng
|
|
|
|
libsndfile
|
|
|
|
libvorbis
|
2018-11-15 21:36:07 +00:00
|
|
|
libxmp
|
|
|
|
libXcursor
|
|
|
|
libXext
|
|
|
|
libXi
|
|
|
|
libXinerama
|
|
|
|
libXrandr
|
|
|
|
libXScrnSaver
|
|
|
|
libXxf86vm
|
2017-12-25 02:28:19 +00:00
|
|
|
mpg123
|
|
|
|
opusfile
|
2018-11-15 21:36:07 +00:00
|
|
|
pcre
|
2017-12-25 02:28:19 +00:00
|
|
|
pixman
|
2022-01-02 18:54:30 +00:00
|
|
|
SDL2
|
2017-12-25 02:28:19 +00:00
|
|
|
speexdsp
|
|
|
|
wildmidi
|
|
|
|
zlib
|
2022-05-20 09:09:01 +00:00
|
|
|
libdecor
|
2017-12-25 02:28:19 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-15 21:36:07 +00:00
|
|
|
description = "RPG Maker 2000/2003 and EasyRPG games interpreter";
|
2019-05-05 17:29:25 +00:00
|
|
|
homepage = "https://easyrpg.org/";
|
2017-12-25 02:28:19 +00:00
|
|
|
license = licenses.gpl3;
|
2021-12-31 18:48:55 +00:00
|
|
|
maintainers = with maintainers; [ yana ];
|
2017-12-25 02:28:19 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|