Fix builds depending on libXft
This commit is contained in:
parent
5b7d7b11f3
commit
4a6a87eedc
@ -26,6 +26,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
''
|
||||||
|
ln -s freetype2/freetype $out/include/freetype
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A font rendering engine";
|
description = "A font rendering engine";
|
||||||
homepage = http://www.freetype.org/;
|
homepage = http://www.freetype.org/;
|
||||||
|
@ -109,21 +109,19 @@ in
|
|||||||
compositeproto = attrs: attrs // {
|
compositeproto = attrs: attrs // {
|
||||||
propagatedBuildInputs = [ xorg.fixesproto ];
|
propagatedBuildInputs = [ xorg.fixesproto ];
|
||||||
};
|
};
|
||||||
|
|
||||||
libXcomposite = attrs: attrs // {
|
libXcomposite = attrs: attrs // {
|
||||||
propagatedBuildInputs = [ xorg.libXfixes ];
|
propagatedBuildInputs = [ xorg.libXfixes ];
|
||||||
};
|
};
|
||||||
|
|
||||||
libXaw = attrs: attrs // {
|
libXaw = attrs: attrs // {
|
||||||
propagatedBuildInputs = [ xorg.libXmu ];
|
propagatedBuildInputs = [ xorg.libXmu ];
|
||||||
};
|
};
|
||||||
|
|
||||||
libXft = attrs: attrs // {
|
libXft = attrs: attrs // {
|
||||||
buildInputs = attrs.buildInputs ++
|
buildInputs = attrs.buildInputs ++
|
||||||
[ xorg.xproto xorg.libX11 xorg.renderproto ];
|
[ xorg.xproto xorg.libX11 xorg.renderproto ];
|
||||||
# probably, fontconfig and freetype could be added
|
propagatedBuildInputs = [ xorg.libXrender args.freetype args.fontconfig ];
|
||||||
# pkgconfig seems to be nice, too...
|
|
||||||
propagatedBuildInputs = [ xorg.libXrender ];
|
|
||||||
preConfigure = setMalloc0ReturnsNullCrossCompiling;
|
preConfigure = setMalloc0ReturnsNullCrossCompiling;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user