2009-01-25 00:55:16 +03:00
|
|
|
{ fetchurl, stdenv, pkgconfig, cairo, x11, fontconfig, freetype, libsigcxx }:
|
2008-02-03 16:18:15 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-03-20 15:41:11 +04:00
|
|
|
name = "cairomm-1.10.0";
|
2008-02-03 16:18:15 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://cairographics.org/releases/${name}.tar.gz";
|
2012-03-20 15:41:11 +04:00
|
|
|
sha256 = "13rrp96px95m6xnvmsaqb0wcqsnizg3bz334k0yhlyxf7v29d386";
|
2008-02-03 16:18:15 +03:00
|
|
|
};
|
|
|
|
|
2009-10-29 18:26:50 +03:00
|
|
|
buildInputs = [ pkgconfig ];
|
2009-04-22 03:18:09 +04:00
|
|
|
|
2009-01-25 00:55:16 +03:00
|
|
|
propagatedBuildInputs = [ cairo x11 fontconfig freetype libsigcxx ];
|
2008-02-03 16:18:15 +03:00
|
|
|
|
2009-01-25 00:55:16 +03:00
|
|
|
meta = {
|
|
|
|
description = "A 2D graphics library with support for multiple output devices";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Cairo is a 2D graphics library with support for multiple output
|
|
|
|
devices. Currently supported output targets include the X
|
|
|
|
Window System, Quartz, Win32, image buffers, PostScript, PDF,
|
|
|
|
and SVG file output. Experimental backends include OpenGL
|
|
|
|
(through glitz), XCB, BeOS, OS/2, and DirectFB.
|
|
|
|
|
|
|
|
Cairo is designed to produce consistent output on all output
|
|
|
|
media while taking advantage of display hardware acceleration
|
|
|
|
when available (e.g., through the X Render Extension).
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://cairographics.org/;
|
|
|
|
|
|
|
|
licenses = [ "LGPLv2+" "MPLv1" ];
|
|
|
|
};
|
2008-02-03 16:18:15 +03:00
|
|
|
}
|