summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/SDL2_gfx
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-08-06 18:25:51 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-08-06 18:27:20 +0300
commit89c867196cd0db983eaef80e6ad497edaea362e0 (patch)
tree0c6d4e1ad2c123e5d328156d7be2766e32a53eea /pkgs/development/libraries/SDL2_gfx
parent22281009b7af633398d3cb315321b83483f884bd (diff)
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
Diffstat (limited to 'pkgs/development/libraries/SDL2_gfx')
-rw-r--r--pkgs/development/libraries/SDL2_gfx/default.nix34
1 files changed, 17 insertions, 17 deletions
diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix
index 66913fc01597..23a0924ad3bf 100644
--- a/pkgs/development/libraries/SDL2_gfx/default.nix
+++ b/pkgs/development/libraries/SDL2_gfx/default.nix
@@ -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;
};
}