ftgl: 2.1.3-rc5 -> 2.4.0
This commit is contained in:
parent
f58f7892d1
commit
2756b33d07
|
@ -1,28 +1,42 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, doxygen
|
||||||
|
, freeglut
|
||||||
, freetype
|
, freetype
|
||||||
|
, GLUT
|
||||||
, libGL
|
, libGL
|
||||||
, libGLU
|
, libGLU
|
||||||
, OpenGL
|
, OpenGL
|
||||||
|
, pkg-config
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ftgl";
|
pname = "ftgl";
|
||||||
version = "2.1.3-rc5";
|
version = "2.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/${pname}-${version}.tar.gz";
|
owner = "frankheckenbach";
|
||||||
hash = "sha256-VFjWISJFSGlXLTn4qoV0X8BdVRgAG876Y71su40mVls=";
|
repo = "ftgl";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
doxygen
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
freetype
|
freetype
|
||||||
] ++ (if stdenv.isDarwin then [
|
] ++ (if stdenv.isDarwin then [
|
||||||
OpenGL
|
OpenGL
|
||||||
|
GLUT
|
||||||
] else [
|
] else [
|
||||||
libGL
|
libGL
|
||||||
libGLU
|
libGLU
|
||||||
|
freeglut
|
||||||
]);
|
]);
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -31,8 +45,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -Dm644 src/FTSize.h -t ${placeholder "out"}/include/FTGL
|
||||||
|
install -Dm644 src/FTFace.h -t ${placeholder "out"}/include/FTGL
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://sourceforge.net/apps/mediawiki/ftgl/";
|
homepage = "https://github.com/frankheckenbach/ftgl";
|
||||||
description = "Font rendering library for OpenGL applications";
|
description = "Font rendering library for OpenGL applications";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
FTGL is a free cross-platform Open Source C++ library that uses Freetype2
|
FTGL is a free cross-platform Open Source C++ library that uses Freetype2
|
||||||
|
@ -40,7 +59,7 @@ stdenv.mkDerivation rec {
|
||||||
pixmaps, texture maps, outlines, polygon mesh, and extruded polygon
|
pixmaps, texture maps, outlines, polygon mesh, and extruded polygon
|
||||||
rendering modes.
|
rendering modes.
|
||||||
'';
|
'';
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -4639,7 +4639,7 @@ in
|
||||||
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
|
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
|
||||||
|
|
||||||
ftgl = callPackage ../development/libraries/ftgl {
|
ftgl = callPackage ../development/libraries/ftgl {
|
||||||
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
inherit (darwin.apple_sdk.frameworks) OpenGL GLUT;
|
||||||
};
|
};
|
||||||
|
|
||||||
ftop = callPackage ../os-specific/linux/ftop { };
|
ftop = callPackage ../os-specific/linux/ftop { };
|
||||||
|
|
Loading…
Reference in a new issue