2010-08-01 14:24:46 +00:00
|
|
|
{ stdenv, fetchurl, cmake, SDL, openal, zlib, libpng, python, libvorbis }:
|
2007-05-14 21:47:11 +00:00
|
|
|
|
2010-08-01 15:14:33 +00:00
|
|
|
assert stdenv.gcc.libc != null;
|
|
|
|
|
2010-08-01 14:24:46 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 14:03:29 +00:00
|
|
|
name = "gemrb-0.8.0.1";
|
2007-05-14 21:47:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-08-01 14:24:46 +00:00
|
|
|
url = "mirror://sourceforge/gemrb/${name}.tar.gz";
|
2013-12-18 14:03:29 +00:00
|
|
|
sha256 = "0v9iypls4iawnfkc91hcdnmc4vyg3ix7v7lmw3knv73q145v0ksd";
|
2007-05-14 21:47:11 +00:00
|
|
|
};
|
|
|
|
|
2010-08-01 14:24:46 +00:00
|
|
|
buildInputs = [ cmake python openal SDL zlib libpng libvorbis ];
|
2007-05-14 21:47:11 +00:00
|
|
|
|
2010-08-01 14:24:46 +00:00
|
|
|
# Necessary to find libdl.
|
|
|
|
CMAKE_LIBRARY_PATH = "${stdenv.gcc.libc}/lib";
|
|
|
|
|
|
|
|
# Can't have -werror because of the Vorbis header files.
|
|
|
|
cmakeFlags = "-DDISABLE_WERROR=ON -DCMAKE_VERBOSE_MAKEFILE=ON";
|
|
|
|
|
2007-05-14 21:47:11 +00:00
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "A reimplementation of the Infinity Engine, used by games such as Baldur's Gate";
|
2007-05-14 21:47:11 +00:00
|
|
|
homepage = http://gemrb.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|