mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
cairo: get rid of xlibs-wrapper
This commit is contained in:
parent
d500232fcc
commit
fd819711c6
@ -23,12 +23,12 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty;
|
nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty;
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
with xorg; [ xorg.xlibsWrapper fontconfig expat freetype pixman zlib libpng ]
|
with xorg; [ libXext fontconfig expat freetype pixman zlib libpng ]
|
||||||
++ optional (!stdenv.isDarwin) libXrender
|
++ optional (!stdenv.isDarwin) libXrender
|
||||||
++ optionals xcbSupport [ libxcb xcbutil ]
|
++ optionals xcbSupport [ libxcb xcbutil ]
|
||||||
++ optional gobjectSupport glib
|
++ optional gobjectSupport glib
|
||||||
++ optionals glSupport [ mesa_noglu ]
|
++ optional glSupport mesa_noglu
|
||||||
;
|
; # TODO: maybe liblzo but what would it be for here?
|
||||||
|
|
||||||
configureFlags = [ "--enable-tee" ]
|
configureFlags = [ "--enable-tee" ]
|
||||||
++ optional xcbSupport "--enable-xcb"
|
++ optional xcbSupport "--enable-xcb"
|
||||||
@ -38,14 +38,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
# On FreeBSD, `-ldl' doesn't exist.
|
# 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
|
'' for i in "util/"*"/Makefile.in" boilerplate/Makefile.in
|
||||||
do
|
do
|
||||||
cat "$i" | sed -es/-ldl//g > t
|
cat "$i" | sed -es/-ldl//g > t
|
||||||
mv t "$i"
|
mv t "$i"
|
||||||
done
|
done
|
||||||
'')
|
''
|
||||||
+
|
+
|
||||||
''
|
''
|
||||||
# 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user