fcft.mk 994 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ################################################################################
  2. #
  3. # fcft
  4. #
  5. ################################################################################
  6. FCFT_VERSION = 3.3.1
  7. FCFT_SOURCE = $(FCFT_VERSION).tar.gz
  8. FCFT_SITE = https://codeberg.org/dnkl/fcft/archive
  9. FCFT_LICENSE = MIT
  10. FCFT_LICENSE_FILES = LICENSE
  11. FCFT_INSTALL_STAGING = YES
  12. FCFT_DEPENDENCIES = \
  13. fontconfig \
  14. freetype \
  15. pixman \
  16. tllist
  17. FCFT_CONF_OPTS = \
  18. -Ddocs=disabled \
  19. -Dexamples=false
  20. ifeq ($(BR2_PACKAGE_FCFT_GRAPHEME_SHAPING),y)
  21. FCFT_DEPENDENCIES += harfbuzz
  22. FCFT_CONF_OPTS += -Dgrapheme-shaping=enabled
  23. else
  24. FCFT_CONF_OPTS += -Dgrapheme-shaping=disabled
  25. endif
  26. ifeq ($(BR2_PACKAGE_FCFT_RUN_SHAPING),y)
  27. FCFT_DEPENDENCIES += harfbuzz utf8proc
  28. FCFT_CONF_OPTS += -Drun-shaping=enabled
  29. else
  30. FCFT_CONF_OPTS += -Drun-shaping=disabled
  31. endif
  32. ifeq ($(BR2_PACKAGE_FCFT_SVG_SUPPORT),y)
  33. FCFT_CONF_OPTS += -Dsvg-backend='nanosvg'
  34. else
  35. FCFT_CONF_OPTS += -Dsvg-backend='none'
  36. endif
  37. $(eval $(meson-package))