Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/hts_engine audio/hts_engine: import hts_engine_A...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd15c0d94173
branches:  trunk
changeset: 434805:fd15c0d94173
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jun 22 00:52:42 2020 +0000

description:
audio/hts_engine: import hts_engine_API-1.10

The hts_engine API is an API version of hts_engine which has been released
since HTS version 1.1. It has been being developed by the HTS working group
and some graduate students in Nagoya Institute of Technology.

diffstat:

 audio/hts_engine/DESCR                         |   3 +++
 audio/hts_engine/Makefile                      |  14 ++++++++++++++
 audio/hts_engine/PLIST                         |   4 ++++
 audio/hts_engine/buildlink3.mk                 |  12 ++++++++++++
 audio/hts_engine/distinfo                      |   7 +++++++
 audio/hts_engine/patches/patch-lib_HTS__misc.c |  15 +++++++++++++++
 6 files changed, 55 insertions(+), 0 deletions(-)

diffs (79 lines):

diff -r 6b48164cd989 -r fd15c0d94173 audio/hts_engine/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/hts_engine/DESCR    Mon Jun 22 00:52:42 2020 +0000
@@ -0,0 +1,3 @@
+The hts_engine API is an API version of hts_engine which has been released
+since HTS version 1.1. It has been being developed by the HTS working group
+and some graduate students in Nagoya Institute of Technology.
diff -r 6b48164cd989 -r fd15c0d94173 audio/hts_engine/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/hts_engine/Makefile Mon Jun 22 00:52:42 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/06/22 00:52:42 ryoon Exp $
+
+DISTNAME=      hts_engine_API-1.10
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=hts-engine/}
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      http://hts-engine.sourceforge.net/
+COMMENT=       Synthesize speech waveform from HMMs trained by HTS
+LICENSE=       modified-bsd
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff -r 6b48164cd989 -r fd15c0d94173 audio/hts_engine/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/hts_engine/PLIST    Mon Jun 22 00:52:42 2020 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/22 00:52:42 ryoon Exp $
+bin/hts_engine
+include/HTS_engine.h
+lib/libHTSEngine.a
diff -r 6b48164cd989 -r fd15c0d94173 audio/hts_engine/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/hts_engine/buildlink3.mk    Mon Jun 22 00:52:42 2020 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/06/22 00:52:42 ryoon Exp $
+
+BUILDLINK_TREE+=       hts_engine_API
+
+.if !defined(HTS_ENGINE_API_BUILDLINK3_MK)
+HTS_ENGINE_API_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hts_engine_API+= hts_engine_API>=1.10
+BUILDLINK_PKGSRCDIR.hts_engine_API?=   ../../audio/hts_engine
+.endif # HTS_ENGINE_API_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hts_engine_API
diff -r 6b48164cd989 -r fd15c0d94173 audio/hts_engine/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/hts_engine/distinfo Mon Jun 22 00:52:42 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/06/22 00:52:42 ryoon Exp $
+
+SHA1 (hts_engine_API-1.10.tar.gz) = 520212d589444d7224f954c77c78173eda0a804d
+RMD160 (hts_engine_API-1.10.tar.gz) = 0b36341db11fabb9fdbf8e0231f2f4bf06e27107
+SHA512 (hts_engine_API-1.10.tar.gz) = fa43bc0a013bfae1392cc5c1195901aae7de50f1866f06d6ec060af5a5740eb2715632561a117d04c98f2863da32fffff05bcaf76ba6ac70e5649ce94dad544b
+Size (hts_engine_API-1.10.tar.gz) = 169852 bytes
+SHA1 (patch-lib_HTS__misc.c) = beff3709a9fd25bdc365a8a170834f9533ad363f
diff -r 6b48164cd989 -r fd15c0d94173 audio/hts_engine/patches/patch-lib_HTS__misc.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/hts_engine/patches/patch-lib_HTS__misc.c    Mon Jun 22 00:52:42 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_HTS__misc.c,v 1.1 2020/06/22 00:52:42 ryoon Exp $
+
+* Add NetBSD workaround.
+
+--- lib/HTS_misc.c.orig        2015-12-25 00:12:53.000000000 +0000
++++ lib/HTS_misc.c
+@@ -247,6 +247,8 @@ size_t HTS_ftell(HTS_File * fp)
+       fgetpos((FILE *) fp->pointer, &pos);
+ #if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__)
+       return (size_t) pos;
++#elif (__NetBSD__)
++      return (size_t) pos._pos;
+ #else
+       return (size_t) pos.__pos;
+ #endif                          /* _WIN32 || __CYGWIN__ || __APPLE__ || __ANDROID__ */



Home | Main Index | Thread Index | Old Index