2014-07-23 07:31:30 +02:00
|
|
|
package=fontconfig
|
2021-11-12 09:33:32 +01:00
|
|
|
$(package)_version=2.12.6
|
2019-05-19 21:58:29 +02:00
|
|
|
$(package)_download_path=https://www.freedesktop.org/software/fontconfig/release/
|
2014-07-23 07:31:30 +02:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
2021-11-12 09:33:32 +01:00
|
|
|
$(package)_sha256_hash=cf0c30807d08f6a28ab46c61b8dbd55c97d2f292cf88f3a07d3384687f31f017
|
2014-07-23 07:31:30 +02:00
|
|
|
$(package)_dependencies=freetype expat
|
2021-11-12 09:33:32 +01:00
|
|
|
$(package)_patches=gperf_header_regen.patch
|
2014-07-23 07:31:30 +02:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2019-10-11 19:31:50 +02:00
|
|
|
$(package)_config_opts=--disable-docs --disable-static --disable-libxml2 --disable-iconv
|
|
|
|
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
2014-07-23 07:31:30 +02:00
|
|
|
endef
|
|
|
|
|
2020-08-17 14:55:20 +02:00
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
patch -p1 < $($(package)_patch_dir)/gperf_header_regen.patch
|
|
|
|
endef
|
|
|
|
|
2014-07-23 07:31:30 +02: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-04-18 19:49:11 +02:00
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
2021-08-23 19:18:33 +02:00
|
|
|
rm -rf var lib/*.la
|
2019-04-18 19:49:11 +02:00
|
|
|
endef
|