diff options
author | Arvin Moezzi <moezzia@gmail.com> | 2013-10-25 13:12:31 +0200 |
---|---|---|
committer | Evgeny Egorochkin <phreedom@yandex.ru> | 2013-10-26 12:48:08 +0300 |
commit | 9176ad1808f6e12e8f0b51e878beee60b99c2f98 (patch) | |
tree | 14f68ca5c87dd2b2c6bc8863ab6e0ba642959c14 /pkgs/games/residualvm | |
parent | 4e604508584f534a11954cf1456f06bc2d29c9f6 (diff) |
package residualvm 0.1.1
ResidualVM is an interpreter for LucasArts' Lua-based 3D adventure games like Grim Fandango. From: #1118.
Diffstat (limited to 'pkgs/games/residualvm')
-rw-r--r-- | pkgs/games/residualvm/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/games/residualvm/default.nix b/pkgs/games/residualvm/default.nix new file mode 100644 index 0000000000000..36c40f9bec5ef --- /dev/null +++ b/pkgs/games/residualvm/default.nix @@ -0,0 +1,30 @@ +{ 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 ] + ++ optional openglSupport [ mesa ]; + + configureFlags="--enable-all-engines"; + + 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; + }; +} |