package/speechd: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023.02.x
Peter Seiderer 2023-01-06 22:08:26 +01:00 committed by Thomas Petazzoni
parent 5336566668
commit 9f4f8c5f89
5 changed files with 61 additions and 0 deletions

View File

@ -2299,6 +2299,7 @@ F: support/testing/tests/package/test_docker_compose.py
N: Peter Seiderer <ps.report@gmx.net>
F: package/dotconf/
F: package/speechd/
N: Peter Thompson <peter.macleod.thompson@gmail.com>
F: package/sdl2_gfx/

View File

@ -51,6 +51,7 @@ menu "Audio and video applications"
source "package/pipewire-media-session/Config.in"
source "package/pulseaudio/Config.in"
source "package/sox/Config.in"
source "package/speechd/Config.in"
source "package/squeezelite/Config.in"
source "package/tinycompress/Config.in"
source "package/tovid/Config.in"

View File

@ -0,0 +1,20 @@
config BR2_PACKAGE_SPEECHD
bool "speechd"
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_DOTCONF
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBSNDFILE
help
Speech Dispatcher project provides a high-level device
independent layer for access to speech synthesis through
a simple, stable and well documented interface.
https://freebsoft.org/speechd
comment "speechd needs a toolchain w/ wchar, threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS

View File

@ -0,0 +1,5 @@
# Locally calculated
sha256 628d4446894b47f0df099123924c1070180b5b5b09c5b637ebe80d8578fba92f speechd-0.11.4.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL-2
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.GPL-3
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL

View File

@ -0,0 +1,34 @@
################################################################################
#
# speechd
#
################################################################################
SPEECHD_VERSION = 0.11.4
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
SPEECHD_INSTALL_STAGING = YES
# speechd source code is released without configure script
SPEECHD_AUTORECONF = YES
SPEECHD_DEPENDENCIES = host-pkgconf dotconf libglib2 libsndfile
# 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
SPEECHD_CONF_OPTS += --with-libltdl
else
SPEECHD_CONF_OPTS += --without-libltdl
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))