blackshades-elite-svn: remove
Gna.org forge is closed and upstream repo was not relocated
This commit is contained in:
parent
371a5656ad
commit
fd90988cb0
@ -1,38 +0,0 @@
|
|||||||
{stdenv, fetchsvn, SDL, libGLU_combined, openal, libvorbis, freealut, SDL_image, popt}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "blackshades-elite-svn-29";
|
|
||||||
src = fetchsvn {
|
|
||||||
url = svn://svn.gna.org/svn/blackshadeselite/trunk;
|
|
||||||
rev = "29";
|
|
||||||
sha256 = "1lkws5pqpgcgdlar11waikp6y41z678457n9jcik7nhn53cjjr1s";
|
|
||||||
};
|
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lSDL_image";
|
|
||||||
NIX_CFLAGS_COMPILE = "-fpermissive";
|
|
||||||
|
|
||||||
buildInputs = [ SDL SDL_image libGLU_combined openal libvorbis freealut popt ];
|
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
sed -i -e s,Data/,$out/opt/$name/Data/,g \
|
|
||||||
-e s,Data:,$out/opt/$name/Data/,g \
|
|
||||||
Source/*.cpp
|
|
||||||
sed -i -e s/-march=pentium-m// Makefile
|
|
||||||
sed -i -e '/include "Window.h"/a#include <cstring>' -e 's/strcmp/std::strcmp/' \
|
|
||||||
Source/Window.cpp
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin $out/opt/$name
|
|
||||||
cp objs/blackshades $out/bin/blackshadeselite
|
|
||||||
cp -R Data IF* Readme $out/opt/$name/
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://home.gna.org/blackshadeselite/;
|
|
||||||
description = "Fork of Black Shades";
|
|
||||||
license = stdenv.lib.licenses.gpl2Plus; # Says its gna.org project page
|
|
||||||
maintainers = with stdenv.lib.maintainers; [viric];
|
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
|
||||||
};
|
|
||||||
}
|
|
@ -20200,8 +20200,6 @@ with pkgs;
|
|||||||
|
|
||||||
blackshades = callPackage ../games/blackshades { };
|
blackshades = callPackage ../games/blackshades { };
|
||||||
|
|
||||||
blackshadeselite = callPackage ../games/blackshadeselite { };
|
|
||||||
|
|
||||||
blobby = callPackage ../games/blobby { };
|
blobby = callPackage ../games/blobby { };
|
||||||
|
|
||||||
boohu = callPackage ../games/boohu { };
|
boohu = callPackage ../games/boohu { };
|
||||||
|
Loading…
Reference in New Issue
Block a user