2014-12-27 16:58:09 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig
|
2016-09-11 22:24:51 +01:00
|
|
|
, gettext, gtk2, SDL, zlib, glib, openal, mesa, lua, freetype }:
|
2014-12-27 16:58:09 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
|
|
|
|
name = "fs-uae-${version}";
|
2015-07-15 13:28:13 +01:00
|
|
|
version = "2.4.3";
|
2014-12-27 16:58:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [ "http://fs-uae.net/fs-uae/stable/${version}/${name}.tar.gz" ];
|
2015-07-15 13:28:13 +01:00
|
|
|
sha256 = "05wngvpqj8kj4wzi5jzzhvs19iljb3m6ba1l2hk4rz68b400ndv6";
|
2014-12-27 16:58:09 +00:00
|
|
|
};
|
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
buildInputs = [ pkgconfig gettext gtk2 SDL zlib glib openal mesa lua freetype ];
|
2014-12-27 16:58:09 +00:00
|
|
|
|
|
|
|
phases = "unpackPhase buildPhase installPhase";
|
|
|
|
|
|
|
|
# Strange: the docs recommend SDL2, but it does compile only with SDL1
|
|
|
|
buildPhase = "make sdl=1";
|
|
|
|
installPhase = "make install prefix=$out";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An accurate, customizable Amiga Emulator";
|
|
|
|
longDescription = ''
|
|
|
|
FS-UAE integrates the most accurate Amiga emulation code available
|
|
|
|
from WinUAE. FS-UAE emulates A500, A500+, A600, A1200, A1000, A3000
|
|
|
|
and A4000 models, but you can tweak the hardware configuration and
|
|
|
|
create customized Amigas.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
homepage = http://fs-uae.net;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-12-27 16:58:09 +00:00
|
|
|
};
|
|
|
|
}
|
2015-07-15 13:28:13 +01:00
|
|
|
# TODO: testing and Python GUI support
|
|
|
|
# TODO: SDL2 support
|