2014-12-31 17:49:12 +01:00
|
|
|
package=fontconfig
|
2016-09-22 07:50:02 +02:00
|
|
|
$(package)_version=2.12.1
|
2019-05-22 13:39:26 +02:00
|
|
|
$(package)_download_path=https://www.freedesktop.org/software/fontconfig/release/
|
2014-12-31 17:49:12 +01:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
2016-09-22 07:50:02 +02:00
|
|
|
$(package)_sha256_hash=b449a3e10c47e1d1c7a6ec6e2016cca73d3bd68fbbd4f0ae5cc6b573f7d6c7f3
|
2014-12-31 17:49:12 +01:00
|
|
|
$(package)_dependencies=freetype expat
|
2021-09-01 19:47:04 +02:00
|
|
|
$(package)_patches=remove_char_width_usage.patch gperf_header_regen.patch
|
2014-12-31 17:49:12 +01:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2019-08-24 04:44:46 +02:00
|
|
|
$(package)_config_opts=--disable-docs --disable-static --disable-libxml2 --disable-iconv
|
2019-10-18 21:40:22 +02:00
|
|
|
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
2014-12-31 17:49:12 +01:00
|
|
|
endef
|
|
|
|
|
2021-09-01 19:47:04 +02:00
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
patch -p1 < $($(package)_patch_dir)/remove_char_width_usage.patch && \
|
|
|
|
patch -p1 < $($(package)_patch_dir)/gperf_header_regen.patch
|
|
|
|
endef
|
|
|
|
|
2014-12-31 17:49:12 +01:00
|
|
|
define $(package)_config_cmds
|
|
|
|
$($(package)_autoconf)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
2019-06-05 16:34:12 +02:00
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm lib/*.la
|
|
|
|
endef
|