accessibility/libspiel: new port

This client library is designed to provide an ergonomic interface to
the myriad of potential speech providers that are installed in a given
session.
The API is inspired by the W3C Web Speech API. It serves several purposes:

- Provide an updated list of installed across all speech providers voices.
- Offer a "speaker" abstraction where utterances can be queued to speak.
- If no voice was explicitly chosen for an utterance, negotiate global
  user settings and language preferences to choose the most appropriate
  voice.

PR:	286697
This commit is contained in:
Olivier Duchateau 2025-06-11 14:35:38 +02:00 committed by Baptiste Daroussin
parent 0d601d5d59
commit 55c2a54db3
5 changed files with 57 additions and 0 deletions

View File

@ -16,6 +16,7 @@
SUBDIR += kmouth
SUBDIR += libqaccessibilityclient
SUBDIR += libspeechprovider
SUBDIR += libspiel
SUBDIR += linux-c7-at-spi2-atk
SUBDIR += linux-c7-at-spi2-core
SUBDIR += linux-c7-atk

View File

@ -0,0 +1,27 @@
PORTNAME= libspiel
DISTVERSION= 1.0.4
CATEGORIES= accessibility
MAINTAINER= desktop@FreeBSD.org
COMMENT= Speech synthesis client library
WWW= https://project-spiel.org/libspiel/
LICENSE= LGPL21+
LIB_DEPENDS= libspeech-provider-1.0.so:accessibility/libspeechprovider
USES= gnome gstreamer meson pkgconfig python:build
USE_GNOME= glib20 introspection:build
USE_GITHUB= yes
GH_ACCOUNT= project-spiel
GH_TAGNAME= 2ab0230
BINARY_ALIAS= python3=${PYTHON_VERSION}
MESON_ARGS= -Dtests=false \
-Ddocs=false
GLIB_SCHEMAS= org.monotonous.libspiel.gschema.xml
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1744552306
SHA256 (project-spiel-libspiel-1.0.4-2ab0230_GH0.tar.gz) = 3517287609079b7dd52ad3483d23ce7458f4c5d27bf0bdd18a8a71fe3c3c689d
SIZE (project-spiel-libspiel-1.0.4-2ab0230_GH0.tar.gz) = 192037

View File

@ -0,0 +1,10 @@
This client library is designed to provide an ergonomic interface to
the myriad of potential speech providers that are installed in a given
session.
The API is inspired by the W3C Web Speech API. It serves several purposes:
- Provide an updated list of installed across all speech providers voices.
- Offer a "speaker" abstraction where utterances can be queued to speak.
- If no voice was explicitly chosen for an utterance, negotiate global
user settings and language preferences to choose the most appropriate
voice.

View File

@ -0,0 +1,16 @@
bin/spiel
include/spiel/spiel-dbus-enums.c
include/spiel/spiel-dbus-enums.h
include/spiel/spiel-provider.h
include/spiel/spiel-speaker.h
include/spiel/spiel-utterance.h
include/spiel/spiel-version.h
include/spiel/spiel-voice.h
include/spiel/spiel-voices-list-model.h
include/spiel/spiel.h
lib/girepository-1.0/Spiel-1.0.typelib
lib/libspiel-1.0.so
lib/libspiel-1.0.so.1
lib/libspiel-1.0.so.1.0.4
libdata/pkgconfig/spiel-1.0.pc
share/gir-1.0/Spiel-1.0.gir