mirror of https://git.freebsd.org/ports.git
audio/py-pyttsx3: Add port
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
2023Q3
parent
e85fe72bed
commit
3f4c5c37c1
|
@ -659,6 +659,7 @@
|
|||
SUBDIR += py-pyradio
|
||||
SUBDIR += py-pysndfile
|
||||
SUBDIR += py-python-mpd2
|
||||
SUBDIR += py-pyttsx3
|
||||
SUBDIR += py-resampy
|
||||
SUBDIR += py-simpleaudio
|
||||
SUBDIR += py-soundcloud
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
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>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1683991178
|
||||
SHA256 (nateshmbhat-pyttsx3-v.2.90-12-g5d3755b_GH0.tar.gz) = 62378f96c255f27e5a1588959c1074e742cc4abb8c40c51d6cf9630a27ddc80b
|
||||
SIZE (nateshmbhat-pyttsx3-v.2.90-12-g5d3755b_GH0.tar.gz) = 104139
|
|
@ -0,0 +1,2 @@
|
|||
pyttsx3 is a text-to-speech conversion library in Python.
|
||||
Unlike alternative libraries, it works offline.
|
Loading…
Reference in New Issue