harfbuzz-no-cairo fails to build due to missing libbrotlidec pkgconfig file
When trying to jhbuild build harfbuzz-no-cairo
, the build fails due to a missing hb-ft.h
. After doing some digging, I found that during the configure step, meson fails to find freetype2
despite it being in the include path.
Running pkg-config --cflags freetype
reports that PkgConfig fails to find libbrotlidec.pc
.
This seems to be the same issue as: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964185
I've worked around this issue locally by including brotli in my moduleset and adding it as a dependency of freetype
& freetype-no-harfbuzz
. Would it be better to patch the brotli dependency out of freetype's .pc
file, or would it be better to include brotli in the moduleset instead?
Edited by Bryan Tan