2014-12-31 17:49:12 +01:00
|
|
|
package=freetype
|
2023-08-03 13:45:17 +02:00
|
|
|
$(package)_version=2.11.0
|
2019-05-22 13:39:26 +02:00
|
|
|
$(package)_download_path=https://download.savannah.gnu.org/releases/$(package)
|
2023-08-03 13:45:17 +02:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.xz
|
|
|
|
$(package)_sha256_hash=8bee39bd3968c4804b70614a0a3ad597299ad0e824bc8aad5ce8aaf48067bde7
|
2024-07-19 10:59:02 +02:00
|
|
|
$(package)_build_subdir=build
|
2014-12-31 17:49:12 +01:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2024-07-19 10:59:02 +02:00
|
|
|
$(package)_config_opts := -DCMAKE_BUILD_TYPE=None -DBUILD_SHARED_LIBS=TRUE
|
|
|
|
$(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=TRUE -DCMAKE_DISABLE_FIND_PACKAGE_PNG=TRUE
|
|
|
|
$(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE -DCMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE
|
|
|
|
$(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_BrotliDec=TRUE
|
2014-12-31 17:49:12 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2024-07-19 10:59:02 +02:00
|
|
|
$($(package)_cmake) -S .. -B .
|
2014-12-31 17:49:12 +01:00
|
|
|
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
|
|
|
|