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
|
2018-02-24 13:12:44 +00:00
|
|
|
, 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
|
2018-02-24 13:12:44 +00:00
|
|
|
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 :/
|
2017-03-03 11:10:09 +00:00
|
|
|
"-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/;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-06-14 22:55:24 +00:00
|
|
|
};
|
|
|
|
}
|