Offline Text To Speech (TTS) converter for Python. Unlike alternative libraries, it works offline.
Requires some post-release commits from Github due to dependency on audio/espeak-ng[1]. If release version 2.90 is installed via e.g. PIP instead, it will not find audio/espeak's libespeak-ng.so.1 library.
The port is needed as one of the dependencies of the QGIS plugin 'QChatGPT'.
[1] 1e2cd7fc63
24 lines
516 B
Makefile
24 lines
516 B
Makefile
PORTNAME= pyttsx3
|
|
DISTVERSIONPREFIX= v.
|
|
DISTVERSION= 2.90-12
|
|
DISTVERSIONSUFFIX= -g5d3755b
|
|
CATEGORIES= audio python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= rhurlin@FreeBSD.org
|
|
COMMENT= Offline Text To Speech (TTS) converter for Python
|
|
WWW= https://github.com/nateshmbhat/pyttsx3
|
|
|
|
LICENSE= MPL20
|
|
|
|
LIB_DEPENDS= libespeak.so:audio/espeak-ng
|
|
|
|
# Unfortunately found no way to use PyPI
|
|
USES= python
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= nateshmbhat
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|