Skip to content

Commit 3f4c5c3

Browse files
committed
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] nateshmbhat/pyttsx3@1e2cd7f
1 parent e85fe72 commit 3f4c5c3

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

‎audio/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@
659659
SUBDIR += py-pyradio
660660
SUBDIR += py-pysndfile
661661
SUBDIR += py-python-mpd2
662+
SUBDIR += py-pyttsx3
662663
SUBDIR += py-resampy
663664
SUBDIR += py-simpleaudio
664665
SUBDIR += py-soundcloud

‎audio/py-pyttsx3/Makefile‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
PORTNAME= pyttsx3
2+
DISTVERSIONPREFIX= v.
3+
DISTVERSION= 2.90-12
4+
DISTVERSIONSUFFIX= -g5d3755b
5+
CATEGORIES= audio python
6+
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
7+
8+
MAINTAINER= rhurlin@FreeBSD.org
9+
COMMENT= Offline Text To Speech (TTS) converter for Python
10+
WWW= https://github.com/nateshmbhat/pyttsx3
11+
12+
LICENSE= MPL20
13+
14+
LIB_DEPENDS= libespeak.so:audio/espeak-ng
15+
16+
# Unfortunately found no way to use PyPI
17+
USES= python
18+
USE_GITHUB= yes
19+
GH_ACCOUNT= nateshmbhat
20+
USE_PYTHON= autoplist distutils
21+
22+
NO_ARCH= yes
23+
24+
.include <bsd.port.mk>

‎audio/py-pyttsx3/distinfo‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1683991178
2+
SHA256 (nateshmbhat-pyttsx3-v.2.90-12-g5d3755b_GH0.tar.gz) = 62378f96c255f27e5a1588959c1074e742cc4abb8c40c51d6cf9630a27ddc80b
3+
SIZE (nateshmbhat-pyttsx3-v.2.90-12-g5d3755b_GH0.tar.gz) = 104139

‎audio/py-pyttsx3/pkg-descr‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pyttsx3 is a text-to-speech conversion library in Python.
2+
Unlike alternative libraries, it works offline.

0 commit comments

Comments
 (0)