diff options
Diffstat (limited to 'audio/piper-phonemize/Makefile')
-rw-r--r-- | audio/piper-phonemize/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/piper-phonemize/Makefile b/audio/piper-phonemize/Makefile new file mode 100644 index 000000000000..47bf717c984c --- /dev/null +++ b/audio/piper-phonemize/Makefile @@ -0,0 +1,28 @@ +PORTNAME= piper-phonemize +DISTVERSION= 2023.11.14 +DISTVERSIONSUFFIX= -4 +CATEGORIES= audio + +MAINTAINER= kenrap@kennethraplee.com +COMMENT= Fast, local neural text to speech system +WWW= https://rhasspy.github.io/piper-samples/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +LIB_DEPENDS= libespeak-ng.so:audio/espeak-ng \ + libonnxruntime.so:misc/onnxruntime + +USES= compiler:c++17-lang cmake pkgconfig tar:xz + +USE_GITHUB= yes +GH_ACCOUNT= rhasspy + +CMAKE_ARGS= -DESPEAK_NG_DIR=${LOCALBASE} \ + -DONNXRUNTIME_DIR=${LOCALBASE} + +post-stage: + ${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/piper_phonemize.pc.in \ + > ${STAGEDIR}${PREFIX}/libdata/pkgconfig/piper_phonemize.pc + +.include <bsd.port.mk> |