1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

SDL2_{gfx,image,net}: Broken on Darwin

Last successful Darwin build was 11 months ago, presumably nobody cares.

http://hydra.nixos.org/build/38317749
http://hydra.nixos.org/build/38318268
http://hydra.nixos.org/build/38322306
This commit is contained in:
Tuomas Tynkkynen 2016-08-06 18:25:51 +03:00
parent 22281009b7
commit 89c867196c
3 changed files with 19 additions and 19 deletions

View file

@ -1,4 +1,4 @@
{stdenv, fetchsvn, SDL2} :
{stdenv, fetchsvn, SDL2}:
let rev = 5; in
stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
postInstall = ''
sed -i -e 's,"SDL.h",<SDL2/SDL.h>,' \
$out/include/SDL2/*.h
ln -s $out/include/SDL2/SDL2_framerate.h $out/include/SDL2/SDL_framerate.h;
ln -s $out/include/SDL2/SDL2_gfxPrimitives.h $out/include/SDL2/SDL_gfxPrimitives.h;
ln -s $out/include/SDL2/SDL2_rotozoom.h $out/include/SDL2/SDL_rotozoom.h;
@ -27,28 +27,28 @@ stdenv.mkDerivation rec {
meta = {
description = "SDL graphics drawing primitives and support functions";
longDescription =
'' The SDL_gfx library evolved out of the SDL_gfxPrimitives code
which provided basic drawing routines such as lines, circles or
polygons and SDL_rotozoom which implemented a interpolating
rotozoomer for SDL surfaces.
longDescription = ''
The SDL_gfx library evolved out of the SDL_gfxPrimitives code
which provided basic drawing routines such as lines, circles or
polygons and SDL_rotozoom which implemented a interpolating
rotozoomer for SDL surfaces.
The current components of the SDL_gfx library are:
The current components of the SDL_gfx library are:
* Graphic Primitives (SDL_gfxPrimitves.h)
* Rotozoomer (SDL_rotozoom.h)
* Framerate control (SDL_framerate.h)
* MMX image filters (SDL_imageFilter.h)
* Custom Blit functions (SDL_gfxBlitFunc.h)
* Graphic Primitives (SDL_gfxPrimitves.h)
* Rotozoomer (SDL_rotozoom.h)
* Framerate control (SDL_framerate.h)
* MMX image filters (SDL_imageFilter.h)
* Custom Blit functions (SDL_gfxBlitFunc.h)
The library is backwards compatible to the above mentioned
code. Its is written in plain C and can be used in C++ code.
'';
The library is backwards compatible to the above mentioned
code. Its is written in plain C and can be used in C++ code.
'';
homepage = https://sourceforge.net/projects/sdlgfx/;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.bjg ];
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -22,6 +22,6 @@ stdenv.mkDerivation rec {
meta = {
description = "SDL image library";
homepage = "http://www.libsdl.org/projects/SDL_image/";
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
homepage = https://www.libsdl.org/projects/SDL_net;
license = licenses.zlib;
maintainers = [ maintainers.MP2E ];
platforms = platforms.all;
platforms = platforms.linux;
};
}