From 6ce7168eacf447d7847efd3849d65fe7a1082fe1 Mon Sep 17 00:00:00 2001 From: Alexander Tsamutali Date: Mon, 3 May 2010 15:38:16 +0000 Subject: [PATCH] quesoglc: New nixpkg. svn path=/nixpkgs/trunk/; revision=21580 --- .../libraries/quesoglc/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 ++++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/libraries/quesoglc/default.nix 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 {