mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
flightgear: fix build via update; but no testing, hope it works
This commit is contained in:
parent
871c9ff726
commit
82a0df8bad
@ -1,7 +1,7 @@
|
||||
x@{builderDefsPackage
|
||||
, freeglut, freealut, mesa, libICE, libjpeg, openal, openscenegraph, plib
|
||||
, libSM, libunwind, libX11, xproto, libXext, xextproto, libXi, inputproto
|
||||
, libXmu, libXt, simgear, zlib, boost
|
||||
, libXmu, libXt, simgear, zlib, boost, cmake, libpng
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
@ -12,12 +12,12 @@ let
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="FlightGear";
|
||||
version="2.0.0";
|
||||
baseName="flightgear";
|
||||
version="2.10.0";
|
||||
name="${baseName}-${version}";
|
||||
extension="tar.gz";
|
||||
extension="tar.bz2";
|
||||
url="http://ftp.linux.kiev.ua/pub/fgfs/Source/${name}.${extension}";
|
||||
hash="17h7ns955xkd0cakfk22aym0id65rd8kylcamkmycbgnnhs4b1wg";
|
||||
hash="0pq5nwyxwp8ar5rr0jh8p04bv0i9i841m374jwd748csnsn28zh6";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
@ -35,7 +35,7 @@ rec {
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall" "deployData"];
|
||||
phaseNames = ["doCmake" "doMakeInstall" "deployData"];
|
||||
|
||||
deployData = a.fullDepEntry ''
|
||||
mkdir -p "$out/share/FlightGear"
|
||||
|
@ -8122,7 +8122,7 @@ let
|
||||
libpng = libpng12;
|
||||
};
|
||||
|
||||
flightgear = callPackage ../games/flightgear {};
|
||||
flightgear = callPackage ../games/flightgear { };
|
||||
|
||||
freeciv = callPackage ../games/freeciv { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user