2010-10-20 10:53:45 +00:00
|
|
|
{stdenv, fetchurl, freetype, mesa}:
|
2012-01-15 11:44:05 +00:00
|
|
|
|
|
|
|
let
|
2010-10-20 10:53:45 +00:00
|
|
|
name = "ftgl-2.1.3-rc5";
|
2012-01-15 11:44:05 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
2010-10-20 10:53:45 +00:00
|
|
|
src = fetchurl {
|
2012-01-15 11:44:05 +00:00
|
|
|
url = "mirror://sourceforge/ftgl/${name}.tar.gz";
|
2010-10-20 10:53:45 +00:00
|
|
|
sha256 = "0nsn4s6vnv5xcgxcw6q031amvh2zfj2smy1r5mbnjj2548hxcn2l";
|
|
|
|
};
|
2012-01-15 11:44:05 +00:00
|
|
|
|
2010-10-20 10:53:45 +00:00
|
|
|
buildInputs = [freetype mesa];
|
|
|
|
|
2012-01-15 11:44:11 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://sourceforge.net/apps/mediawiki/ftgl/";
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "Font rendering library for OpenGL applications";
|
2012-01-15 11:44:11 +00:00
|
|
|
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 10:53:45 +00:00
|
|
|
}
|