2023-01-06 22:08:26 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# speechd
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-09-11 15:17:14 +02:00
|
|
|
SPEECHD_VERSION = 0.11.5
|
2023-01-06 22:08:26 +01:00
|
|
|
SPEECHD_SITE = $(call github,brailcom,speechd,$(SPEECHD_VERSION))
|
|
|
|
SPEECHD_LICENSE = GPL-2.0+, GPL-3.0+ (buildsystem), LGPL-2.1+
|
|
|
|
SPEECHD_LICENSE_FILES = COPYING.GPL-2 COPYING.GPL-3 COPYING.LGPL
|
2024-04-22 09:38:39 +02:00
|
|
|
SPEECHD_CPE_ID_VENDOR = brailcom
|
2023-01-06 22:08:26 +01:00
|
|
|
SPEECHD_INSTALL_STAGING = YES
|
|
|
|
# speechd source code is released without configure script
|
|
|
|
SPEECHD_AUTORECONF = YES
|
2023-03-25 21:46:05 +01:00
|
|
|
SPEECHD_AUTOPOINT = YES
|
2023-12-03 15:15:18 +01:00
|
|
|
SPEECHD_DEPENDENCIES = \
|
|
|
|
host-pkgconf dotconf libglib2 libsndfile $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
SPEECHD_CONF_ENV = \
|
|
|
|
ac_cv_prog_HELP2MAN="" \
|
|
|
|
LIBS=$(TARGET_NLS_LIBS)
|
2023-02-27 22:42:20 +01:00
|
|
|
SPEECHD_CONF_OPTS = \
|
|
|
|
--disable-python \
|
|
|
|
--without-espeak \
|
|
|
|
--without-espeak-ng \
|
|
|
|
--without-flite \
|
|
|
|
--without-ibmtts \
|
|
|
|
--without-voxin \
|
|
|
|
--without-ivona \
|
|
|
|
--without-pico \
|
|
|
|
--without-baratinoo \
|
|
|
|
--without-kali \
|
|
|
|
--without-pulse \
|
|
|
|
--without-libao \
|
|
|
|
--without-alsa \
|
|
|
|
--with-oss \
|
|
|
|
--without-nas
|
2023-01-06 22:08:26 +01:00
|
|
|
|
|
|
|
# fix missing config.rpath (needed for autoreconf) in the codebase
|
|
|
|
define SPEECHD_TOUCH_CONFIG_RPATH
|
|
|
|
touch $(@D)/config.rpath
|
|
|
|
endef
|
|
|
|
SPEECHD_PRE_CONFIGURE_HOOKS += SPEECHD_TOUCH_CONFIG_RPATH
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTOOL),y)
|
|
|
|
SPEECHD_DEPENDENCIES += libtool
|
2023-02-27 22:42:19 +01:00
|
|
|
SPEECHD_CONF_OPTS += --enable-ltdl
|
2023-01-06 22:08:26 +01:00
|
|
|
else
|
2023-02-27 22:42:19 +01:00
|
|
|
SPEECHD_CONF_OPTS += --disable-ltdl
|
2023-01-06 22:08:26 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
define SPEECHD_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 644 $(@D)/speech-dispatcherd.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/speech-dispatcherd.service
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|