lol
1{ stdenv, fetchurl, SDL }:
2
3stdenv.mkDerivation rec {
4 name = "SDL_gfx-${version}";
5 version = "2.0.25";
6
7 src = fetchurl {
8 url = "http://www.ferzkopp.net/Software/SDL_gfx-2.0/${name}.tar.gz";
9 sha256 = "1h2rj34dxi5xlwpvm293v2d91gsirhnpzlmnjns9xwkcdg0fsvjm";
10 };
11
12 buildInputs = [ SDL ] ;
13
14 configureFlags = [ "--disable-mmx" ];
15
16 meta = with stdenv.lib; {
17 description = "SDL graphics drawing primitives and support functions";
18
19 longDescription =
20 '' The SDL_gfx library evolved out of the SDL_gfxPrimitives code
21 which provided basic drawing routines such as lines, circles or
22 polygons and SDL_rotozoom which implemented a interpolating
23 rotozoomer for SDL surfaces.
24
25 The current components of the SDL_gfx library are:
26
27 * Graphic Primitives (SDL_gfxPrimitves.h)
28 * Rotozoomer (SDL_rotozoom.h)
29 * Framerate control (SDL_framerate.h)
30 * MMX image filters (SDL_imageFilter.h)
31 * Custom Blit functions (SDL_gfxBlitFunc.h)
32
33 The library is backwards compatible to the above mentioned
34 code. Its is written in plain C and can be used in C++ code.
35 '';
36
37 homepage = "https://sourceforge.net/projects/sdlgfx/";
38 license = licenses.zlib;
39
40 maintainers = with maintainers; [ bjg ];
41 platforms = platforms.unix;
42 };
43}