@@ -1,5 +1,7 @@
11{ stdenv, fetchgit, cmake, irrlicht, libpng, bzip2, curl, libogg, jsoncpp
2−, libjpeg, libXxf86vm, mesa, openal, libvorbis, x11, sqlite }:
2+, libjpeg, libXxf86vm, mesa, openal, libvorbis, x11, sqlite, luajit, freetype
3+, gettext
4+}:
35
46let
57 version = "0.4.12";
@@ -21,12 +23,15 @@ in stdenv.mkDerivation {
2123 src = sources.src;
2224
2325 cmakeFlags = [
26+ "-DENABLE_FREETYPE=1"
27+ "-DENABLE_GETTEXT=1"
28+ "-DCURL_INCLUDE_DIR=${curl}/include/curl"
2429 "-DIRRLICHT_INCLUDE_DIR=${irrlicht}/include/irrlicht"
2530 ];
2631
2732 buildInputs = [
28− cmake irrlicht libpng bzip2 libjpeg curl libogg jsoncpp
29− libXxf86vm mesa openal libvorbis x11 sqlite
33+ cmake irrlicht libpng bzip2 libjpeg curl libogg jsoncpp libXxf86vm mesa
34+ openal libvorbis x11 sqlite luajit freetype gettext
3035 ];
3136
3237 postInstall = ''