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
1 changed files with 10 additions and 0 deletions
|
@ -182,6 +182,16 @@ self: super:
|
|||
propagatedBuildInputs = [ self.libXrender freetype fontconfig ];
|
||||
configureFlags = attrs.configureFlags or []
|
||||
++ 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
|
||||
postInstall = ''
|
||||
sed "/^Requires:/s/$/, freetype2/" -i "$dev/lib/pkgconfig/xft.pc"
|
||||
|
|
Loading…
Reference in a new issue