Meson configures and builds faster. It's also simpler.
Backport upstream patch fixing compilation without harfbuzz and brotli.
Added distutils patch for some debian systems.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switched to CMake to simplify the Makefile and to remove autotools
hacks.
Replaced InstallDev with CMAKE_INSTALL.
Added PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Restore host building on request from a user. Apparently, packages
outside of openwrt/packages feed rely on Freetype 2 building on host.
While at it, remove sed-editing of freetype-config that is no longer
necessary. The current version of freetype-config correctly identifies
prefix, exec_prefix, includedir and libdir.
Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
This commit updates Freetype 2 to the latest upstream version and fixes
the issue where freetype-config was incorrectly installed into the
host, rather than the target, staging directory, therefore causing
compilation issues with other packages that depend on libfreetype.
Signed-off-by: Val Kulkov <val.kulkov@gmail.com>