Fixes error when building fontconfig:
checking for FREETYPE... no
configure: error: Package requirements (freetype2 >= 21.0.15) were not met:
Package dependency requirement 'freetype2 >= 21.0.15' could not be satisfied.
Package 'freetype2' has version '6.17.4', required version is '>= 21.0.15'
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
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>