xorg.libXft: add color emoji rendering support
https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1
This commit is contained in:
parent
c55efd568a
commit
cf83cfbd4c
@ -182,6 +182,16 @@ self: super:
|
|||||||
propagatedBuildInputs = [ self.libXrender freetype fontconfig ];
|
propagatedBuildInputs = [ self.libXrender freetype fontconfig ];
|
||||||
configureFlags = attrs.configureFlags or []
|
configureFlags = attrs.configureFlags or []
|
||||||
++ malloc0ReturnsNullCrossFlag;
|
++ malloc0ReturnsNullCrossFlag;
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Adds color emoji rendering support.
|
||||||
|
# https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.freedesktop.org/xorg/lib/libxft/commit/fe41537b5714a2301808eed2d76b2e7631176573.patch";
|
||||||
|
sha256 = "045lp1q50i2wlwvpsq6ycxdc6p3asm2r3bk2nbad1dwkqw2xf9jc";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
# the include files need ft2build.h, and Requires.private isn't enough for us
|
# the include files need ft2build.h, and Requires.private isn't enough for us
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed "/^Requires:/s/$/, freetype2/" -i "$dev/lib/pkgconfig/xft.pc"
|
sed "/^Requires:/s/$/, freetype2/" -i "$dev/lib/pkgconfig/xft.pc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user