diff --git a/accessibility/Makefile b/accessibility/Makefile index faa78ea86649..622d633bd4f9 100644 --- a/accessibility/Makefile +++ b/accessibility/Makefile @@ -1,39 +1,40 @@ COMMENT = Ports to help disabled users SUBDIR += accerciser SUBDIR += at-spi2-core SUBDIR += atkmm SUBDIR += caribou SUBDIR += darkman SUBDIR += eflite SUBDIR += feedbackd SUBDIR += gammastep SUBDIR += gammy SUBDIR += hyprsunset SUBDIR += kdeaccessibility SUBDIR += kmag SUBDIR += kmousetool SUBDIR += kmouth SUBDIR += libqaccessibilityclient SUBDIR += libspeechprovider + SUBDIR += libspiel SUBDIR += linux-c7-at-spi2-atk SUBDIR += linux-c7-at-spi2-core SUBDIR += linux-c7-atk SUBDIR += linux-rl9-at-spi2-atk SUBDIR += linux-rl9-at-spi2-core SUBDIR += linux-rl9-atk SUBDIR += orca SUBDIR += py-atspi SUBDIR += py-speech-dispatcher SUBDIR += qt5-speech SUBDIR += qt6-speech SUBDIR += redshift SUBDIR += rubygem-atk SUBDIR += sct SUBDIR += sctd SUBDIR += speech-dispatcher SUBDIR += wl-gammarelay-rs SUBDIR += wlsunset SUBDIR += yasr .include diff --git a/accessibility/libspiel/Makefile b/accessibility/libspiel/Makefile new file mode 100644 index 000000000000..be88a999013d --- /dev/null +++ b/accessibility/libspiel/Makefile @@ -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 diff --git a/accessibility/libspiel/distinfo b/accessibility/libspiel/distinfo new file mode 100644 index 000000000000..3bff6d886f9b --- /dev/null +++ b/accessibility/libspiel/distinfo @@ -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 diff --git a/accessibility/libspiel/pkg-descr b/accessibility/libspiel/pkg-descr new file mode 100644 index 000000000000..bf264fe02418 --- /dev/null +++ b/accessibility/libspiel/pkg-descr @@ -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. diff --git a/accessibility/libspiel/pkg-plist b/accessibility/libspiel/pkg-plist new file mode 100644 index 000000000000..69be5dc2ece3 --- /dev/null +++ b/accessibility/libspiel/pkg-plist @@ -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