2013-10-25 12:12:31 +01:00
|
|
|
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib
|
|
|
|
, openglSupport ? false, mesa ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert openglSupport -> mesa != null;
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.1.1";
|
|
|
|
name = "residualvm-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/residualvm/residualvm-${version}-sources.tar.bz2";
|
|
|
|
sha256 = "99c419b13885a49bdfc10a50a3a6000fd1ba9504f6aae04c74b840ec6f57a963";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ stdenv SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ]
|
2016-10-01 21:47:19 +01:00
|
|
|
++ optional openglSupport mesa;
|
2013-10-25 12:12:31 +01:00
|
|
|
|
2016-10-01 21:47:19 +01:00
|
|
|
configureFlags = [ "--enable-all-engines" ];
|
2013-10-25 12:12:31 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Interpreter for LucasArts' Lua-based 3D adventure games";
|
|
|
|
homepage = http://residualvm.org/;
|
|
|
|
repositories.git = https://github.com/residualvm/residualvm.git;
|
|
|
|
licencse = licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|