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

63 lines
1.1 KiB
Nix
Raw Normal View History

2015-06-15 00:55:24 +02:00
{ stdenv
, cairo
, cmake
2017-09-08 15:27:28 +02:00
, fetchFromGitHub
2015-06-15 00:55:24 +02:00
, ffmpeg
, gettext
2017-09-08 15:27:28 +02:00
, gtk2-x11
2015-06-15 00:55:24 +02:00
, libpng
, libpthreadstubs
, libXdmcp
, libxshmfence
, libGLU_combined
2015-06-15 00:55:24 +02:00
, openal
, pkgconfig
2017-09-08 15:27:28 +02:00
, SDL2
, sfml
2015-06-15 00:55:24 +02:00
, wxGTK
, zip
, zlib
}:
2017-09-08 15:27:28 +02: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-15 00:55:24 +02:00
};
buildInputs = [
cairo
cmake
ffmpeg
gettext
2017-09-08 15:27:28 +02:00
gtk2-x11
libGLU_combined
2015-06-15 00:55:24 +02:00
openal
pkgconfig
2017-09-08 15:27:28 +02:00
SDL2
sfml
2015-06-15 00:55:24 +02:00
wxGTK
zip
zlib
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE='Release'"
"-DENABLE_FFMPEG='true'"
#"-DENABLE_LINK='true'" currently broken :/
"-DSYSCONFDIR=etc"
2015-06-15 00:55:24 +02: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-15 00:55:24 +02:00
};
}