mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
ufoai: fixing the build. Building with libpng12.
This commit is contained in:
parent
bda2b3ca5a
commit
aab4bec314
@ -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 ];
|
||||
|
||||
|
@ -7940,6 +7940,7 @@ let
|
||||
|
||||
ufoai = callPackage ../games/ufoai {
|
||||
inherit (gnome) gtksourceview gtkglext;
|
||||
libpng = libpng12;
|
||||
};
|
||||
|
||||
ultimatestunts = callPackage ../games/ultimatestunts { };
|
||||
|
Loading…
Reference in New Issue
Block a user