cmuflite-1.2, text to speech processor; ok naddy
This commit is contained in:
parent
5b503f6b81
commit
fdcadb2d49
28
audio/flite/Makefile
Normal file
28
audio/flite/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/04/23 05:33:19 jason Exp $
|
||||
|
||||
COMMENT= "text to speech utility"
|
||||
|
||||
VERSION= 1.2
|
||||
DISTNAME= flite-${VERSION}-release
|
||||
PKGNAME= flite-${VERSION}
|
||||
DISTNAME= ${PKGNAME}-release
|
||||
CATEGORIES= audio
|
||||
|
||||
HOMEPAGE= http://www.cmuflite.org/
|
||||
|
||||
MAINTAINER= Jason L. Wright <jason@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= No, mods have to be clearly marked
|
||||
PERMIT_PACKAGE_FTP= No, mods have to be clearly marked
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www.speech.cs.cmu.edu/flite/packed/flite-${VERSION}/
|
||||
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
||||
|
||||
USE_GMAKE= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
audio/flite/distinfo
Normal file
3
audio/flite/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (flite-1.2-release.tar.gz) = 359e6a36c1b4789c099a23c731c27ca9
|
||||
RMD160 (flite-1.2-release.tar.gz) = 923b7e2781d086b1ed9cf660074157dddd6f4f56
|
||||
SHA1 (flite-1.2-release.tar.gz) = 64f85b5c4e77034fdfe41e11231c34171db7c3a0
|
13
audio/flite/patches/patch-configure
Normal file
13
audio/flite/patches/patch-configure
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2003/04/23 05:33:19 jason Exp $
|
||||
--- configure.orig Sun Apr 20 23:05:35 2003
|
||||
+++ configure Sun Apr 20 23:04:27 2003
|
||||
@@ -1120,6 +1120,9 @@ if test "$shared" = true; then
|
||||
SHFLAGS="-fPIC"
|
||||
OTHERLIBS="-lsocket -ldl"
|
||||
;;
|
||||
+ openbsd*)
|
||||
+ SHFLAGS="-shared -fPIC"
|
||||
+ ;;
|
||||
*)
|
||||
;;
|
||||
esac
|
13
audio/flite/patches/patch-configure_in
Normal file
13
audio/flite/patches/patch-configure_in
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1.1.1 2003/04/23 05:33:19 jason Exp $
|
||||
--- configure.in.orig Sun Apr 20 23:05:32 2003
|
||||
+++ configure.in Sun Apr 20 23:04:58 2003
|
||||
@@ -68,6 +68,9 @@ if test "$shared" = true; then
|
||||
SHFLAGS="-fPIC"
|
||||
OTHERLIBS="-lsocket -ldl"
|
||||
;;
|
||||
+ openbsd*)
|
||||
+ SHFLAGS="-shared -fPIC"
|
||||
+ ;;
|
||||
*)
|
||||
;;
|
||||
esac
|
17
audio/flite/patches/patch-lib_Makefile
Normal file
17
audio/flite/patches/patch-lib_Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-lib_Makefile,v 1.1.1.1 2003/04/23 05:33:19 jason Exp $
|
||||
--- lib/Makefile.orig Sun Apr 20 23:36:07 2003
|
||||
+++ lib/Makefile Sun Apr 20 23:55:23 2003
|
||||
@@ -47,6 +47,7 @@ SHAREDLIBS = $(LIBNAMES:%=lib%.so)
|
||||
VERSIONSHAREDLIBS = $(SHAREDLIBS:%=%.${PROJECT_VERSION}) \
|
||||
$(SHAREDLIBS:%=%.${PROJECT_SHLIB_VERSION})
|
||||
ALL_LIBS = $(STATICLIBS) $(SHAREDLIBS) $(VERSIONSHAREDLIBS)
|
||||
+INSTLIBS = $(STATICLIBS) $(SHAREDLIBS:%=%.${PROJECT_VERSION})
|
||||
|
||||
ALL = shared_libs
|
||||
|
||||
@@ -61,4 +62,4 @@ shared_libs: nothing
|
||||
endif
|
||||
|
||||
install:
|
||||
- @ tar cvf - $(ALL_LIBS) | ( cd $(INSTALLLIBDIR) && tar xf -)
|
||||
+ @ tar cvf - $(INSTLIBS) | ( cd $(INSTALLLIBDIR) && tar xf -)
|
23
audio/flite/patches/patch-src_audio_au_sun_c
Normal file
23
audio/flite/patches/patch-src_audio_au_sun_c
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-src_audio_au_sun_c,v 1.1.1.1 2003/04/23 05:33:19 jason Exp $
|
||||
--- src/audio/au_sun.c.orig Mon Jan 7 18:25:52 2002
|
||||
+++ src/audio/au_sun.c Sun Apr 20 18:12:34 2003
|
||||
@@ -45,6 +45,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
+#include <sys/ioctl.h>
|
||||
#include <sys/filio.h>
|
||||
#include <sys/audioio.h>
|
||||
#include "cst_string.h"
|
||||
@@ -76,7 +77,11 @@ cst_audiodev *audio_open_sun(int sps, in
|
||||
cst_error();
|
||||
}
|
||||
}
|
||||
+#ifdef __OpenBSD__
|
||||
+ AUDIO_INITINFO(&ainfo);
|
||||
+#else
|
||||
ioctl(fd,AUDIO_GETINFO,&ainfo);
|
||||
+#endif
|
||||
|
||||
switch (fmt)
|
||||
{
|
8
audio/flite/pkg/DESCR
Normal file
8
audio/flite/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
Flite is a small fast run-time speech synthesis engine. It is the
|
||||
latest addition to the suite of free software synthesis tools
|
||||
including University of Edinburgh's Festival Speech Synthesis System
|
||||
and Carnegie Mellon University's FestVox project, tools, scripts and
|
||||
documentation for building synthetic voices. However, flite itself
|
||||
does not require either of these systems to compile and run.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
8
audio/flite/pkg/PFRAG.shared
Normal file
8
audio/flite/pkg/PFRAG.shared
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/04/23 05:33:19 jason Exp $
|
||||
lib/libflite.so.1.2
|
||||
lib/libflite_cmu_time_awb.so.1.2
|
||||
lib/libflite_cmu_us_kal.so.1.2
|
||||
lib/libflite_cmu_us_kal16.so.1.2
|
||||
lib/libflite_cmulex.so.1.2
|
||||
lib/libflite_usenglish.so.1.2
|
||||
DYNLIBDIR(%B)
|
48
audio/flite/pkg/PLIST
Normal file
48
audio/flite/pkg/PLIST
Normal file
@ -0,0 +1,48 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/04/23 05:33:19 jason Exp $
|
||||
bin/flite
|
||||
bin/flite_time
|
||||
include/flite/cst_alloc.h
|
||||
include/flite/cst_args.h
|
||||
include/flite/cst_audio.h
|
||||
include/flite/cst_cart.h
|
||||
include/flite/cst_clunits.h
|
||||
include/flite/cst_diphone.h
|
||||
include/flite/cst_endian.h
|
||||
include/flite/cst_error.h
|
||||
include/flite/cst_features.h
|
||||
include/flite/cst_file.h
|
||||
include/flite/cst_hrg.h
|
||||
include/flite/cst_item.h
|
||||
include/flite/cst_lexicon.h
|
||||
include/flite/cst_lts.h
|
||||
include/flite/cst_lts_rewrites.h
|
||||
include/flite/cst_phoneset.h
|
||||
include/flite/cst_regex.h
|
||||
include/flite/cst_relation.h
|
||||
include/flite/cst_sigpr.h
|
||||
include/flite/cst_socket.h
|
||||
include/flite/cst_ss.h
|
||||
include/flite/cst_string.h
|
||||
include/flite/cst_sts.h
|
||||
include/flite/cst_synth.h
|
||||
include/flite/cst_tokenstream.h
|
||||
include/flite/cst_track.h
|
||||
include/flite/cst_units.h
|
||||
include/flite/cst_utt_utils.h
|
||||
include/flite/cst_utterance.h
|
||||
include/flite/cst_val.h
|
||||
include/flite/cst_val_const.h
|
||||
include/flite/cst_val_defs.h
|
||||
include/flite/cst_viterbi.h
|
||||
include/flite/cst_voice.h
|
||||
include/flite/cst_wave.h
|
||||
include/flite/flite.h
|
||||
include/flite/flite_version.h
|
||||
lib/libflite.a
|
||||
lib/libflite_cmu_time_awb.a
|
||||
lib/libflite_cmu_us_kal.a
|
||||
lib/libflite_cmu_us_kal16.a
|
||||
lib/libflite_cmulex.a
|
||||
lib/libflite_usenglish.a
|
||||
%%SHARED%%
|
||||
@dirrm include/flite
|
Loading…
x
Reference in New Issue
Block a user