summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/libraries/SDL2_gfx/default.nix34
-rw-r--r--pkgs/development/libraries/SDL2_image/default.nix2
-rw-r--r--pkgs/development/libraries/SDL2_net/default.nix2
3 files changed, 19 insertions, 19 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;
};
}
diff --git a/pkgs/development/libraries/SDL2_image/default.nix b/pkgs/development/libraries/SDL2_image/default.nix
index eab9b1fb55d0..7253fc7b4daf 100644
--- a/pkgs/development/libraries/SDL2_image/default.nix
+++ b/pkgs/development/libraries/SDL2_image/default.nix
@@ -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;
};
}
diff --git a/pkgs/development/libraries/SDL2_net/default.nix b/pkgs/development/libraries/SDL2_net/default.nix
index e41546512e94..6f0965778197 100644
--- a/pkgs/development/libraries/SDL2_net/default.nix
+++ b/pkgs/development/libraries/SDL2_net/default.nix
@@ -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;
};
}