cairo: reduce bin output, and fixup a reference

This commit is contained in:
Vladimír Čunát 2015-10-28 19:38:17 +01:00
parent f9e9c7242a
commit 436bf848b9

View File

@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
sha1 = "c8da68aa66ca0855b5d0ff552766d3e8679e1d24"; sha1 = "c8da68aa66ca0855b5d0ff552766d3e8679e1d24";
}; };
outputs = [ "dev" "out" "bin" "doc" ]; outputs = [ "dev" "out" "docdev" ];
outputBin = "dev"; # very small
nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty; nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty;
@ -50,7 +51,7 @@ stdenv.mkDerivation rec {
# Work around broken `Requires.private' that prevents Freetype # Work around broken `Requires.private' that prevents Freetype
# `-I' flags to be propagated. # `-I' flags to be propagated.
sed -i "src/cairo.pc.in" \ sed -i "src/cairo.pc.in" \
-es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype}/include/freetype2 -I${freetype}/include|g' -es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype.dev}/include/freetype2 -I${freetype.dev}/include|g'
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;