3
0
Fork 0
forked from mirrors/nixpkgs

ufoai: fixing the build. Building with libpng12.

This commit is contained in:
Lluís Batlle i Rossell 2012-07-02 21:53:03 +02:00
parent bda2b3ca5a
commit aab4bec314
2 changed files with 3 additions and 1 deletions

View file

@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
# for the xvidcore static lib
NIX_CFLAGS_COMPILE = "-pthread -lm";
buildInputs = [ SDL mesa SDL_image SDL_ttf SDL_mixer libpng libjpeg zlib curl libvorbis
# Order is important, x libs include a libpng version that fails for ufoai
buildInputs = [ libpng SDL mesa SDL_image SDL_ttf SDL_mixer libjpeg zlib curl libvorbis
libtheora xvidcore pkgconfig glib gtk gtkglext gtksourceview libxml2 openal gettext
p7zip ];

View file

@ -7940,6 +7940,7 @@ let
ufoai = callPackage ../games/ufoai {
inherit (gnome) gtksourceview gtkglext;
libpng = libpng12;
};
ultimatestunts = callPackage ../games/ultimatestunts { };