git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit89c867196cd0db983eaef80e6ad497edaea362e0 authorTuomas Tynkkynen <tuomas@tuxera.com> dateSat 6 Aug 2016, 18:25 (10 years ago) parent2228100
3 files changed+19−19
pkgs/development/libraries/SDL2_gfx/default.nix+17−17 pkgs/development/libraries/SDL2_image/default.nix+1−1 pkgs/development/libraries/SDL2_net/default.nix+1−1
pkgs/development/libraries/SDL2_gfx/default.nix+17−17
@@ -1,4 +1,4 @@
1−{stdenv, fetchsvn, SDL2} :
1+{stdenv, fetchsvn, SDL2}:
22
33let rev = 5; in
44stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 postInstall = ''
1818 sed -i -e 's,"SDL.h",<SDL2/SDL.h>,' \
1919 $out/include/SDL2/*.h
20−
20+
2121 ln -s $out/include/SDL2/SDL2_framerate.h $out/include/SDL2/SDL_framerate.h;
2222 ln -s $out/include/SDL2/SDL2_gfxPrimitives.h $out/include/SDL2/SDL_gfxPrimitives.h;
2323 ln -s $out/include/SDL2/SDL2_rotozoom.h $out/include/SDL2/SDL_rotozoom.h;
@@ -27,28 +27,28 @@ stdenv.mkDerivation rec {
2727 meta = {
2828 description = "SDL graphics drawing primitives and support functions";
2929
30− longDescription =
31− '' The SDL_gfx library evolved out of the SDL_gfxPrimitives code
32− which provided basic drawing routines such as lines, circles or
33− polygons and SDL_rotozoom which implemented a interpolating
34− rotozoomer for SDL surfaces.
30+ longDescription = ''
31+ The SDL_gfx library evolved out of the SDL_gfxPrimitives code
32+ which provided basic drawing routines such as lines, circles or
33+ polygons and SDL_rotozoom which implemented a interpolating
34+ rotozoomer for SDL surfaces.
3535
36− The current components of the SDL_gfx library are:
36+ The current components of the SDL_gfx library are:
3737
38− * Graphic Primitives (SDL_gfxPrimitves.h)
39− * Rotozoomer (SDL_rotozoom.h)
40− * Framerate control (SDL_framerate.h)
41− * MMX image filters (SDL_imageFilter.h)
42− * Custom Blit functions (SDL_gfxBlitFunc.h)
38+ * Graphic Primitives (SDL_gfxPrimitves.h)
39+ * Rotozoomer (SDL_rotozoom.h)
40+ * Framerate control (SDL_framerate.h)
41+ * MMX image filters (SDL_imageFilter.h)
42+ * Custom Blit functions (SDL_gfxBlitFunc.h)
4343
44− The library is backwards compatible to the above mentioned
45− code. Its is written in plain C and can be used in C++ code.
46− '';
44+ The library is backwards compatible to the above mentioned
45+ code. Its is written in plain C and can be used in C++ code.
46+ '';
4747
4848 homepage = https://sourceforge.net/projects/sdlgfx/;
4949 license = stdenv.lib.licenses.lgpl2Plus;
5050
5151 maintainers = [ stdenv.lib.maintainers.bjg ];
52− platforms = stdenv.lib.platforms.unix;
52+ platforms = stdenv.lib.platforms.linux;
5353 };
5454}
pkgs/development/libraries/SDL2_image/default.nix+1−1
@@ -22,6 +22,6 @@ stdenv.mkDerivation rec {
2222 meta = {
2323 description = "SDL image library";
2424 homepage = "http://www.libsdl.org/projects/SDL_image/";
25− platforms = stdenv.lib.platforms.unix;
25+ platforms = stdenv.lib.platforms.linux;
2626 };
2727}
pkgs/development/libraries/SDL2_net/default.nix+1−1
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
1717 homepage = https://www.libsdl.org/projects/SDL_net;
1818 license = licenses.zlib;
1919 maintainers = [ maintainers.MP2E ];
20− platforms = platforms.all;
20+ platforms = platforms.linux;
2121 };
2222}