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