diff --git a/pkgs/development/libraries/quesoglc/default.nix b/pkgs/development/libraries/quesoglc/default.nix new file mode 100644 index 000000000000..3d2f098267d3 --- /dev/null +++ b/pkgs/development/libraries/quesoglc/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, mesa, glew, freetype, fontconfig, fribidi, libX11 }: +stdenv.mkDerivation rec { + pname = "quesoglc"; + version = "0.7.2"; + name = "${pname}-${version}"; + src = fetchurl { + url = "mirror://sourceforge/${pname}/${name}.tar.bz2"; + sha256 = "0cf9ljdzii5d4i2m23gdmf3kn521ljcldzq69lsdywjid3pg5zjl"; + }; + buildInputs = [ mesa glew freetype fontconfig fribidi libX11 ]; + # FIXME: Configure fails to use system glew. + meta = { + description = "A free implementation of the OpenGL Character Renderer"; + longDescription = '' + QuesoGLC is a free (as in free speech) implementation of the OpenGL + Character Renderer (GLC). QuesoGLC is based on the FreeType library, + provides Unicode support and is designed to be easily ported to any + platform that supports both FreeType and the OpenGL API. + ''; + homepage = http://quesoglc.sourceforge.net/; + license = [ "LGPLv2.1+" ]; + maintainers = with stdenv.lib.maintainers; [ astsmtl ]; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 124d4c57d210..afa35c0a3243 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5027,6 +5027,11 @@ let qt4 = qt46; }; + quesoglc = import ../development/libraries/quesoglc { + inherit stdenv fetchurl mesa glew freetype fontconfig fribidi; + inherit (xlibs) libX11; + }; + readline = readline6; readline4 = import ../development/libraries/readline/readline4.nix {