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