tce-load -i compiletc meson freetype-dev gobject-introspection-dev icu74-dev cairo-dev graphite-dev

wget https://github.com/harfbuzz/harfbuzz/releases/download/8.3.0/harfbuzz-8.3.0.tar.xz

cd harfbuzz-8.3.0

mkdir build
cd build

CC="gcc -flto -mtune=generic -Os -pipe -fcommon" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --buildtype=plain -Dgraphite2=enabled ../

ninja [2m 54.52s]
sudo ninja install

harfbuzz 8.3.0

  Directories
    prefix                    : /usr/local
    bindir                    : bin
    libdir                    : lib
    includedir                : include
    datadir                   : share
    cmakepackagedir           : lib/cmake

  Unicode callbacks (you want at least one)
    Builtin                   : YES
    Glib                      : YES
    ICU                       : YES

  Font callbacks (the more the merrier)
    Builtin                   : YES
    FreeType                  : YES

  Dependencies used for command-line utilities
    Cairo                     : YES
    Chafa                     : NO

  Additional shapers
    Graphite2                 : YES
    WebAssembly (experimental): NO

  Platform shapers (not normally needed)
    CoreText                  : NO
    DirectWrite (experimental): NO
    GDI/Uniscribe             : NO

  Other features
    Documentation             : NO
    GObject bindings          : YES
    Cairo integration         : YES
    Introspection             : YES
    Experimental APIs         : NO

  Testing
    Tests                     : YES
    Benchmark                 : NO

  User defined options
    buildtype                 : plain
    prefix                    : /usr/local
    graphite2                 : enabled
