speechd.mk 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ################################################################################
  2. #
  3. # speechd
  4. #
  5. ################################################################################
  6. SPEECHD_VERSION = 0.11.5
  7. SPEECHD_SITE = $(call github,brailcom,speechd,$(SPEECHD_VERSION))
  8. SPEECHD_LICENSE = GPL-2.0+, GPL-3.0+ (buildsystem), LGPL-2.1+
  9. SPEECHD_LICENSE_FILES = COPYING.GPL-2 COPYING.GPL-3 COPYING.LGPL
  10. SPEECHD_CPE_ID_VENDOR = brailcom
  11. SPEECHD_INSTALL_STAGING = YES
  12. # speechd source code is released without configure script
  13. SPEECHD_AUTORECONF = YES
  14. SPEECHD_AUTOPOINT = YES
  15. SPEECHD_DEPENDENCIES = \
  16. host-pkgconf dotconf libglib2 libsndfile $(TARGET_NLS_DEPENDENCIES)
  17. SPEECHD_CONF_ENV = \
  18. ac_cv_prog_HELP2MAN="" \
  19. LIBS=$(TARGET_NLS_LIBS)
  20. SPEECHD_CONF_OPTS = \
  21. --disable-python \
  22. --without-espeak \
  23. --without-espeak-ng \
  24. --without-flite \
  25. --without-ibmtts \
  26. --without-voxin \
  27. --without-ivona \
  28. --without-pico \
  29. --without-baratinoo \
  30. --without-kali \
  31. --without-pulse \
  32. --without-libao \
  33. --without-alsa \
  34. --with-oss \
  35. --without-nas
  36. # fix missing config.rpath (needed for autoreconf) in the codebase
  37. define SPEECHD_TOUCH_CONFIG_RPATH
  38. touch $(@D)/config.rpath
  39. endef
  40. SPEECHD_PRE_CONFIGURE_HOOKS += SPEECHD_TOUCH_CONFIG_RPATH
  41. ifeq ($(BR2_PACKAGE_LIBTOOL),y)
  42. SPEECHD_DEPENDENCIES += libtool
  43. SPEECHD_CONF_OPTS += --enable-ltdl
  44. else
  45. SPEECHD_CONF_OPTS += --disable-ltdl
  46. endif
  47. define SPEECHD_INSTALL_INIT_SYSTEMD
  48. $(INSTALL) -D -m 644 $(@D)/speech-dispatcherd.service \
  49. $(TARGET_DIR)/usr/lib/systemd/system/speech-dispatcherd.service
  50. endef
  51. $(eval $(autotools-package))