2009-10-29 11:53:54 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
|
2009-09-29 15:39:14 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pango-1.26.0";
|
2009-10-19 11:17:30 +02:00
|
|
|
|
2009-09-29 15:39:14 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/pango/1.26/${name}.tar.bz2";
|
|
|
|
sha256 = "1hx6v6w3xk9wfcrb26gg7rrfl6m6ykxk2bqm67aqdzql4vysxgz1";
|
|
|
|
};
|
2009-10-19 11:17:30 +02:00
|
|
|
|
2009-10-24 19:29:37 +02:00
|
|
|
buildInputs = [pkgconfig] ++ stdenv.lib.optional (stdenv.system == "i686-darwin") gettext;
|
2009-10-19 11:17:30 +02:00
|
|
|
|
2009-09-29 15:39:14 +02:00
|
|
|
propagatedBuildInputs = [x11 glib cairo libpng];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A library for laying out and rendering of text, with an emphasis on internationalization";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Pango is a library for laying out and rendering of text, with an
|
|
|
|
emphasis on internationalization. Pango can be used anywhere
|
|
|
|
that text layout is needed, though most of the work on Pango so
|
|
|
|
far has been done in the context of the GTK+ widget toolkit.
|
|
|
|
Pango forms the core of text and font handling for GTK+-2.x.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www.pango.org/;
|
|
|
|
license = "LGPLv2+";
|
|
|
|
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|