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