New port: audio/hts_engine-API

hts_engine is software to synthesize speech waveform from HMMs trained
by the HMM-based speech synthesis system (HTS).

WWW: http://hts-engine.sourceforge.net/

PR:		217807
Submitted by:	Hideki Gotoh <tomason510@gmail.com>
This commit is contained in:
Kurt Jaeger 2017-12-03 10:00:09 +00:00
parent e8085c5b86
commit bca22e210d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455398
6 changed files with 56 additions and 0 deletions

View File

@ -321,6 +321,7 @@
SUBDIR += hs-ALUT
SUBDIR += hs-OpenAL
SUBDIR += hs-libmpd
SUBDIR += hts_engine-API
SUBDIR += hydrogen
SUBDIR += hydrogen-devel
SUBDIR += icecast-kh

View File

@ -0,0 +1,26 @@
# $FreeBSD$
PORTNAME= hts_engine-API
PORTVERSION= 1.10
CATEGORIES= audio
MASTER_SITES= SOURCEFORGE
MASTER_SITE_SUBDIR=hts-engine/hts_engine%20API/hts_engine_API-${PORTVERSION}
DISTNAME= hts_engine_API-${PORTVERSION}
MAINTAINER= tomason510@gmail.com
COMMENT= HMM-based speech synthesis system (HTS) engine and API
LICENSE= BSD3CLAUSE
HAS_CONFIGURE= yes
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1488977359
SHA256 (hts_engine_API-1.10.tar.gz) = e2132be5860d8fb4a460be766454cfd7c3e21cf67b509c48e1804feab14968f7
SIZE (hts_engine_API-1.10.tar.gz) = 169852

View File

@ -0,0 +1,11 @@
--- lib/HTS_misc.c.orig 2015-12-25 00:12:53 UTC
+++ lib/HTS_misc.c
@@ -245,7 +245,7 @@ size_t HTS_ftell(HTS_File * fp)
} else if (fp->type == HTS_FILE) {
fpos_t pos;
fgetpos((FILE *) fp->pointer, &pos);
-#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__)
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__) || defined(__FreeBSD__)
return (size_t) pos;
#else
return (size_t) pos.__pos;

View File

@ -0,0 +1,4 @@
hts_engine is software to synthesize speech waveform from HMMs trained
by the HMM-based speech synthesis system (HTS).
WWW: http://hts-engine.sourceforge.net/

View File

@ -0,0 +1,11 @@
bin/hts_engine
include/HTS_engine.h
lib/libHTSEngine.a
%%DOCSDIR%%/AUTHORS
%%DOCSDIR%%/COPYING
%%DOCSDIR%%/ChangeLog
%%DOCSDIR%%/INSTALL
%%DOCSDIR%%/NEWS
%%DOCSDIR%%/README
@dir %%DOCSDIR%%
@dir share/licenses/hts_engine-API-1.10