fontconfig.mk 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. ################################################################################
  2. #
  3. # fontconfig
  4. #
  5. ################################################################################
  6. FONTCONFIG_VERSION = 2.14.2
  7. FONTCONFIG_SITE = https://www.freedesktop.org/software/fontconfig/release
  8. FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.xz
  9. # 0001-add-pthread-as-a-dependency-of-a-static-lib.patch
  10. FONTCONFIG_AUTORECONF = YES
  11. FONTCONFIG_INSTALL_STAGING = YES
  12. FONTCONFIG_DEPENDENCIES = freetype expat host-pkgconf host-gperf \
  13. $(if $(BR2_PACKAGE_UTIL_LINUX_LIBS),util-linux-libs,util-linux) \
  14. $(TARGET_NLS_DEPENDENCIES)
  15. HOST_FONTCONFIG_DEPENDENCIES = \
  16. host-freetype host-expat host-pkgconf host-gperf host-util-linux \
  17. host-gettext
  18. FONTCONFIG_LICENSE = fontconfig license
  19. FONTCONFIG_LICENSE_FILES = COPYING
  20. FONTCONFIG_CPE_ID_VALID = YES
  21. FONTCONFIG_CONF_OPTS = \
  22. --with-arch=$(GNU_TARGET_NAME) \
  23. --with-cache-dir=/var/cache/fontconfig \
  24. --disable-docs
  25. HOST_FONTCONFIG_CONF_OPTS = \
  26. --disable-static
  27. $(eval $(autotools-package))
  28. $(eval $(host-autotools-package))