cairo: get rid of xlibs-wrapper

This commit is contained in:
Vladimír Čunát 2015-10-06 19:57:45 +02:00
parent d500232fcc
commit fd819711c6

View File

@ -23,12 +23,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty;
propagatedBuildInputs =
with xorg; [ xorg.xlibsWrapper fontconfig expat freetype pixman zlib libpng ]
with xorg; [ libXext fontconfig expat freetype pixman zlib libpng ]
++ optional (!stdenv.isDarwin) libXrender
++ optionals xcbSupport [ libxcb xcbutil ]
++ optional gobjectSupport glib
++ optionals glSupport [ mesa_noglu ]
;
++ optional glSupport mesa_noglu
; # TODO: maybe liblzo but what would it be for here?
configureFlags = [ "--enable-tee" ]
++ optional xcbSupport "--enable-xcb"
@ -38,13 +38,13 @@ stdenv.mkDerivation rec {
preConfigure =
# On FreeBSD, `-ldl' doesn't exist.
(stdenv.lib.optionalString stdenv.isFreeBSD
stdenv.lib.optionalString stdenv.isFreeBSD
'' for i in "util/"*"/Makefile.in" boilerplate/Makefile.in
do
cat "$i" | sed -es/-ldl//g > t
mv t "$i"
done
'')
''
+
''
# Work around broken `Requires.private' that prevents Freetype