2018-02-24 14:12:44 +01:00
|
|
|
{stdenv, fetchurl, freetype, libGLU_combined}:
|
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
|
|
|
|
2018-02-24 14:12:44 +01:00
|
|
|
buildInputs = [ freetype libGLU_combined ];
|
2017-11-27 16:29:37 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-10-20 12:53:45 +02:00
|
|
|
|
2012-01-15 12:44:11 +01:00
|
|
|
meta = {
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://sourceforge.net/apps/mediawiki/ftgl/;
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "Font rendering library for OpenGL applications";
|
2012-01-15 12:44:11 +01: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.
|
|
|
|
'';
|
|
|
|
|
2017-11-27 16:29:37 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-01-15 12:44:11 +01:00
|
|
|
maintainers = [];
|
|
|
|
};
|
2010-10-20 12:53:45 +02:00
|
|
|
}
|