2010-07-19 00:22:59 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-07-07 16:43:26 +01:00
|
|
|
name = "pango-1.28.4";
|
2010-07-19 00:22:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/pango/1.28/${name}.tar.bz2";
|
2011-07-07 16:43:26 +01:00
|
|
|
sha256 = "7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f";
|
2010-07-19 00:22:59 +01:00
|
|
|
};
|
|
|
|
|
2010-10-06 12:52:00 +01:00
|
|
|
buildInputs = [ pkgconfig ] ++ stdenv.lib.optional stdenv.isDarwin gettext;
|
2010-07-19 00:22:59 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ x11 glib cairo libpng ];
|
|
|
|
|
2011-02-09 15:09:29 +00:00
|
|
|
postInstall = "rm -rf $out/share/gtk-doc";
|
|
|
|
|
2010-07-19 00:22:59 +01:00
|
|
|
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.all;
|
|
|
|
};
|
|
|
|
}
|