summary refs log tree commit diff
path: root/pkgs/development/libraries/cairomm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-01-24 21:55:16 +0000
committerLudovic Courtès <ludo@gnu.org>2009-01-24 21:55:16 +0000
commitf5b2036a60134c354a783a0fb6556a544f9f5ebe (patch)
tree3cf8ca1c981490ce5830df44c5f13718a3fa2a98 /pkgs/development/libraries/cairomm
parent0b6168c5875d04a0a88c26af684441d8bddc02b3 (diff)
downloadnixpkgs-f5b2036a60134c354a783a0fb6556a544f9f5ebe.tar
nixpkgs-f5b2036a60134c354a783a0fb6556a544f9f5ebe.tar.gz
nixpkgs-f5b2036a60134c354a783a0fb6556a544f9f5ebe.tar.bz2
nixpkgs-f5b2036a60134c354a783a0fb6556a544f9f5ebe.tar.lz
nixpkgs-f5b2036a60134c354a783a0fb6556a544f9f5ebe.tar.xz
nixpkgs-f5b2036a60134c354a783a0fb6556a544f9f5ebe.tar.zst
nixpkgs-f5b2036a60134c354a783a0fb6556a544f9f5ebe.zip
Cairomm 1.7.2.
svn path=/nixpkgs/trunk/; revision=13836
Diffstat (limited to 'pkgs/development/libraries/cairomm')
-rw-r--r--pkgs/development/libraries/cairomm/default.nix28
1 files changed, 24 insertions, 4 deletions
diff --git a/pkgs/development/libraries/cairomm/default.nix b/pkgs/development/libraries/cairomm/default.nix
index a22788c288e..712a5068a99 100644
--- a/pkgs/development/libraries/cairomm/default.nix
+++ b/pkgs/development/libraries/cairomm/default.nix
@@ -1,15 +1,35 @@
-args: with args;
+{ fetchurl, stdenv, pkgconfig, cairo, x11, fontconfig, freetype, libsigcxx }:
 
 stdenv.mkDerivation rec {
-  name = "cairomm-1.4.6";
+  name = "cairomm-1.7.2";
 
   src = fetchurl {
     url = "http://cairographics.org/releases/${name}.tar.gz";
-    sha256 = "1zd5pq5jd507w1v994awpsl7m26g4dfl0rwgrxig2823hl3rqmrp";
+    sha256 = "0rcbkk16yj9k1y491ms5j6f9z5wrvv4qkd7wbx44nziwhw6hc0qx";
   };
 
   buildInputs = [pkgconfig];
-  propagatedBuildInputs = [cairo x11 fontconfig freetype];
+  propagatedBuildInputs = [ cairo x11 fontconfig freetype libsigcxx ];
 
   configureFlags = "--enable-shared --disable-static";
+
+  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" ];
+  };
 }