Build cairo-gobject library

Move cairo to gtkLibs.cairo

svn path=/nixpkgs/trunk/; revision=29380
This commit is contained in:
Yury G. Kudryashov
2011-09-20 06:22:14 +00:00
parent e5062a4c5c
commit 4e9fbf18ed
2 changed files with 9 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
, pdfSupport ? true
, pngSupport ? true
, xcbSupport ? false
, gobjectSupport ? true, glib
, stdenv, fetchurl, pkgconfig, x11, fontconfig, freetype, xlibs
, zlib, libpng, pixman, libxcb ? null, xcbutil ? null
}:
@@ -19,8 +20,9 @@ stdenv.mkDerivation rec {
};
buildInputs =
[ pkgconfig x11 fontconfig pixman xlibs.libXrender ] ++
stdenv.lib.optionals xcbSupport [ libxcb xcbutil ];
[ pkgconfig x11 fontconfig pixman xlibs.libXrender ]
++ stdenv.lib.optionals xcbSupport [ libxcb xcbutil ]
++ stdenv.lib.optional gobjectSupport glib;
propagatedBuildInputs =
[ freetype ] ++