2010-10-20 12:53:45 +02:00
|
|
|
{stdenv, fetchurl, freetype, mesa}:
|
2012-01-15 12:44:05 +01:00
|
|
|
|
|
|
|
let
|
2010-10-20 12:53:45 +02:00
|
|
|
name = "ftgl-2.1.3-rc5";
|
2012-01-15 12:44:05 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
2010-10-20 12:53:45 +02:00
|
|
|
src = fetchurl {
|
2012-01-15 12:44:05 +01:00
|
|
|
url = "mirror://sourceforge/ftgl/${name}.tar.gz";
|
2010-10-20 12:53:45 +02:00
|
|
|
sha256 = "0nsn4s6vnv5xcgxcw6q031amvh2zfj2smy1r5mbnjj2548hxcn2l";
|
|
|
|
};
|
2012-01-15 12:44:05 +01:00
|
|
|
|
2010-10-20 12:53:45 +02:00
|
|
|
buildInputs = [freetype mesa];
|
|
|
|
|
2012-01-15 12:44:11 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://sourceforge.net/apps/mediawiki/ftgl/";
|
|
|
|
description = "font rendering library for OpenGL applications";
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
FTGL is a free cross-platform Open Source C++ library that uses
|
|
|
|
Freetype2 to simplify rendering fonts in OpenGL applications. FTGL
|
|
|
|
supports bitmaps, pixmaps, texture maps, outlines, polygon mesh,
|
|
|
|
and extruded polygon rendering modes.
|
|
|
|
'';
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
|
|
maintainers = [];
|
|
|
|
};
|
2010-10-20 12:53:45 +02:00
|
|
|
}
|