scorched3d: 43.2a -> 44
This commit is contained in:
parent
06a7b22985
commit
eba96b9f56
@ -1,17 +1,18 @@
|
|||||||
{stdenv, fetchurl, mesa, openal, autoconf, automake, libtool, freealut, wxGTK,
|
{ stdenv, fetchurl, mesa, glew, pkgconfig, openalSoft, freealut, wxGTK, libogg
|
||||||
freetype, fftwSinglePrec, SDL, SDL_net, zlib, libpng, libjpeg, pkgconfig, libogg,
|
, freetype, libvorbis, fftwSinglePrec, SDL, SDL_net, expat, libjpeg, libpng }:
|
||||||
libvorbis} :
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "scorched3d-43.2a";
|
version = "44";
|
||||||
|
name = "scorched3d-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/scorched3d/Scorched3D-43.2a-src.tar.gz;
|
url = "mirror://sourceforge/scorched3d/Scorched3D-${version}-src.tar.gz";
|
||||||
sha256 = "1hv1mnfb7y51hqmg95l8rx00j66ff32ddxxi5zgfyw92hsvahgxi";
|
sha256 = "1fldi9pn7cz6hc9h70pacgb7sbykzcac44yp3pkhn0qh4axj10qw";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ mesa openal freealut wxGTK freetype fftwSinglePrec SDL_net zlib libpng libjpeg
|
[ mesa glew openalSoft freealut wxGTK libogg freetype libvorbis
|
||||||
libogg libvorbis ];
|
SDL SDL_net expat libjpeg libpng
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
@ -19,20 +20,15 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
sourceRoot = "scorched";
|
sourceRoot = "scorched";
|
||||||
|
|
||||||
configureFlags = "--with-fftw=${fftwSinglePrec}";
|
configureFlags = [ "--with-fftw=${fftwSinglePrec}" ];
|
||||||
|
|
||||||
# Fake openal-config
|
NIX_LDFLAGS = [ "-lopenal" ];
|
||||||
preConfigure =
|
|
||||||
''
|
|
||||||
mkdir -pv mybin
|
|
||||||
export PATH=$PATH:$PWD/mybin
|
|
||||||
echo -e "#!/bin/sh\npkg-config openal \"$@\"" > mybin/openal-config
|
|
||||||
chmod +x mybin/openal-config
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://scorched3d.co.uk/;
|
homepage = http://scorched3d.co.uk/;
|
||||||
description = "3D Clone of the classic Scorched Earth";
|
description = "3D Clone of the classic Scorched Earth";
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux; # maybe more
|
||||||
|
maintainers = with maintainers; [ abbradar ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user