summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2017-12-03 10:00:09 +0000
committerKurt Jaeger <pi@FreeBSD.org>2017-12-03 10:00:09 +0000
commitbca22e210de9b85cae985bf2d3f96c5ad72243d4 (patch)
tree93026a49c6bc0934e91bc58e9255358300d70fd6
parentwww/nginx: Unbreak brotli option (diff)
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>
Notes
Notes: svn path=/head/; revision=455398
-rw-r--r--audio/Makefile1
-rw-r--r--audio/hts_engine-API/Makefile26
-rw-r--r--audio/hts_engine-API/distinfo3
-rw-r--r--audio/hts_engine-API/files/patch-lib_HTS__misc.c11
-rw-r--r--audio/hts_engine-API/pkg-descr4
-rw-r--r--audio/hts_engine-API/pkg-plist11
6 files changed, 56 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 7b3c6b67f7bc..a164a0aba6ff 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -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
diff --git a/audio/hts_engine-API/Makefile b/audio/hts_engine-API/Makefile
new file mode 100644
index 000000000000..92ab2d9f4a4e
--- /dev/null
+++ b/audio/hts_engine-API/Makefile
@@ -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>
diff --git a/audio/hts_engine-API/distinfo b/audio/hts_engine-API/distinfo
new file mode 100644
index 000000000000..cdd79aba1305
--- /dev/null
+++ b/audio/hts_engine-API/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1488977359
+SHA256 (hts_engine_API-1.10.tar.gz) = e2132be5860d8fb4a460be766454cfd7c3e21cf67b509c48e1804feab14968f7
+SIZE (hts_engine_API-1.10.tar.gz) = 169852
diff --git a/audio/hts_engine-API/files/patch-lib_HTS__misc.c b/audio/hts_engine-API/files/patch-lib_HTS__misc.c
new file mode 100644
index 000000000000..1e4c0cb08e7c
--- /dev/null
+++ b/audio/hts_engine-API/files/patch-lib_HTS__misc.c
@@ -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;
diff --git a/audio/hts_engine-API/pkg-descr b/audio/hts_engine-API/pkg-descr
new file mode 100644
index 000000000000..f3e663b5ab60
--- /dev/null
+++ b/audio/hts_engine-API/pkg-descr
@@ -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/
diff --git a/audio/hts_engine-API/pkg-plist b/audio/hts_engine-API/pkg-plist
new file mode 100644
index 000000000000..9e68dce19393
--- /dev/null
+++ b/audio/hts_engine-API/pkg-plist
@@ -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