* Cairo: build with XCB support.

* Fixed libXp.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13069
This commit is contained in:
Eelco Dolstra
2008-10-14 14:46:56 +00:00
parent f940eda22d
commit c9c2045610
5 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
, pdfSupport ? true
, pngSupport ? true
, stdenv, fetchurl, pkgconfig, x11, fontconfig, freetype
, zlib, libpng, pixman
, zlib, libpng, pixman, libxcb, xcbutil
}:
assert postscriptSupport -> zlib != null;
@@ -17,14 +17,14 @@ stdenv.mkDerivation {
};
buildInputs = [
pkgconfig x11 fontconfig freetype pixman
pkgconfig x11 fontconfig freetype pixman libxcb xcbutil
];
propagatedBuildInputs =
stdenv.lib.optional postscriptSupport zlib ++
stdenv.lib.optional pngSupport libpng;
configureFlags = ["--disable-static"] ++
configureFlags = ["--disable-static" "--enable-xcb"] ++
stdenv.lib.optional pdfSupport "--enable-pdf";
meta = {