nixpkgs/pkgs/misc/emulators/vbam/default.nix

59 lines
1.0 KiB
Nix
Raw Normal View History

2015-06-14 22:55:24 +00:00
{ stdenv
, cairo
, cmake
2017-09-08 13:27:28 +00:00
, fetchFromGitHub
2015-06-14 22:55:24 +00:00
, ffmpeg
, gettext
2017-09-08 13:27:28 +00:00
, gtk2-x11
, libGLU_combined
2015-06-14 22:55:24 +00:00
, openal
, pkgconfig
2017-09-08 13:27:28 +00:00
, SDL2
, sfml
2015-06-14 22:55:24 +00:00
, wxGTK
, zip
, zlib
}:
2017-09-08 13:27:28 +00:00
stdenv.mkDerivation rec {
name = "visualboyadvance-m-${version}";
version = "unstable-2017-09-04";
src = fetchFromGitHub {
owner = "visualboyadvance-m";
repo = "visualboyadvance-m";
rev = "ceef480";
sha256 = "1lpmlj8mv6fwlfg9m58hzggx8ld6cnjvaqx5ka5sffxd9v95qq2l";
2015-06-14 22:55:24 +00:00
};
buildInputs = [
cairo
cmake
ffmpeg
gettext
2017-09-08 13:27:28 +00:00
gtk2-x11
libGLU_combined
2015-06-14 22:55:24 +00:00
openal
pkgconfig
2017-09-08 13:27:28 +00:00
SDL2
sfml
2015-06-14 22:55:24 +00:00
wxGTK
zip
zlib
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE='Release'"
"-DENABLE_FFMPEG='true'"
#"-DENABLE_LINK='true'" currently broken :/
"-DSYSCONFDIR=etc"
2015-06-14 22:55:24 +00:00
];
meta = {
description = "A merge of the original Visual Boy Advance forks";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.lassulus ];
homepage = http://vba-m.com/;
platforms = stdenv.lib.platforms.linux;
2015-06-14 22:55:24 +00:00
};
}