app=harfbuzz version=2.6.4 build=2sml homepage="https://www.freedesktop.org/wiki/Software/HarfBuzz" download="https://github.com/harfbuzz/harfbuzz/archive/refs/tags/$version.tar.gz" desc="OpenType text shaping engine" requires="glib python3 icu pixman fontconfig libxcb libxext cairo gobject-introspection graphite2" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions # https://github.com/harfbuzz/harfbuzz/issues/2555 # https://github.com/harfbuzz/harfbuzz/commit/bb37df76949802214323d7cd5454cd19bfb73a00 applypatch $srcdir/harfbuzz-old-gcc-header.patch } build() { ./configure \ --prefix="" \ --disable-static \ --with-glib \ --with-icu=yes \ --with-graphite2=yes make make install DESTDIR=$pkg cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" 58abedeccf214ccca4b1f53e06cbd372adbed5a02de4c29edf087b4361a7b2b7c1cd678172d8e263cc35f7f03d84a617a9e615cdb358d3045e126d0771ace348 harfbuzz-2.6.4.tar.lz f77e3515429554117b3c3c19ce50b74632283dc4ccf23bbedf6d1a7fe2310eb8dbb79900a30cb3585fe7a0512616698222cbe760588dc2838475597a648d461f harfbuzz-old-gcc-header.patch "