3
0
Fork 0
forked from mirrors/nixpkgs

* Cairo updated to 1.12.2.

svn path=/nixpkgs/branches/x-updates/; revision=34142
This commit is contained in:
Eelco Dolstra 2012-05-16 20:49:31 +00:00
parent 3fb08e0150
commit 21bf5ef509

View file

@ -13,11 +13,11 @@ assert pngSupport -> libpng != null;
assert xcbSupport -> libxcb != null && xcbutil != null; assert xcbSupport -> libxcb != null && xcbutil != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cairo-1.10.2"; name = "cairo-1.12.2";
src = fetchurl { src = fetchurl {
url = "http://cairographics.org/releases/${name}.tar.gz"; url = "http://cairographics.org/releases/${name}.tar.xz";
sha1 = "ccce5ae03f99c505db97c286a0c9a90a926d3c6e"; sha1 = "bc2ee50690575f16dab33af42a2e6cdc6451e3f9";
}; };
buildInputs = buildInputs =
@ -45,6 +45,8 @@ stdenv.mkDerivation rec {
-es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype}/include/freetype2 -I${freetype}/include|g' -es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype}/include/freetype2 -I${freetype}/include|g'
''; '';
enableParallelBuilding = true;
# The default `--disable-gtk-doc' is ignored. # The default `--disable-gtk-doc' is ignored.
postInstall = "rm -rf $out/share/gtk-doc"; postInstall = "rm -rf $out/share/gtk-doc";