pixman: use pixman_cairo for xorg, flatten its includes

This commit is contained in:
Vladimír Čunát
2013-04-18 21:31:56 +02:00
parent b37b73a56c
commit 7716b78fc7
3 changed files with 9 additions and 2 deletions
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, pkgconfig, perl }:
{ fetchurl, stdenv, pkgconfig, perl, withPNG ? true, libpng, glib /*just passthru*/ }:
stdenv.mkDerivation rec {
name = "pixman-0.28.2";
@@ -8,7 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "0mcvxd5gx3w1wzgph91l2vaiic91jmx7s01hi2igphyvd80ckyia";
};
buildInputs = [ pkgconfig perl ];
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = stdenv.lib.optional withPNG [ libpng ]; # NOT in closure anyway
postInstall = glib.flattenInclude;
meta = {
homepage = http://pixman.org;