mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 22:27:30 +03:00
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 ];
|
||||
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 New Issue
Block a user