mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Add festival port
This commit is contained in:
119
app-accessibility/festival/festival-2.4.recipe
Normal file
119
app-accessibility/festival/festival-2.4.recipe
Normal file
@@ -0,0 +1,119 @@
|
||||
SUMMARY="Text-to-speech engine"
|
||||
DESCRIPTION="Festival is a text-to-speech engine co-developed by the \
|
||||
University of Edinburgh, UK, and Carnegie Mellon University. It is designed to \
|
||||
support multiple languages and to be easy to extend, both in terms of voices \
|
||||
and new languages."
|
||||
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/festival"
|
||||
SRC_URI="
|
||||
http://festvox.org/packed/festival/$portVersion/festival-${portVersion}-release.tar.gz
|
||||
"
|
||||
CHECKSUM_SHA256="1e47f293e0857ffde2bccead97947c040ea0b35ea12dd5796edb51583e5e5d84"
|
||||
SOURCE_DIR="festival"
|
||||
REVISION="1"
|
||||
|
||||
# Only including the licenses that cover the files that are actually used
|
||||
# and/or installed
|
||||
LICENSE="
|
||||
Festival
|
||||
"
|
||||
COPYRIGHT="
|
||||
1996 Alan W. Black
|
||||
1996-2004 University of Edinburgh, UK
|
||||
1997 Jacques H. de Villiers <jacques@cse.ogi.edu>
|
||||
1997 Kevin A. Lenzo <lenzo@cs.cmu.edu>
|
||||
1997 Center for Spoken Language Understanding, Oregon Graduate \
|
||||
Institute of Science & Technology
|
||||
1999-2004 Language Technologies Institute, Carnegie Mellon University
|
||||
2001-2008 Tokyo Institute of Technology
|
||||
2001-2012 Nagoya Institute of Technology
|
||||
2012 The Department of Arts and Culture, The Government of the \
|
||||
Republic of South Africa
|
||||
"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86 !x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
festival$secondaryArchSuffix = $portVersion
|
||||
cmd:festival = $portVersion
|
||||
cmd:festival_client = $portVersion
|
||||
cmd:text2wave = $portVersion
|
||||
"
|
||||
PROVIDES_devel="
|
||||
festival${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libFestival$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
speech_tools$secondaryArchSuffix >= 2.4
|
||||
lib:libgcc_s$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
festival$secondaryArchSuffix == $portVersion base
|
||||
speech_tools${secondaryArchSuffix}_devel >= 2.4
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
speech_tools${secondaryArchSuffix}_devel >= 2.4
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:find
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:mkdepend
|
||||
"
|
||||
|
||||
PATCHES="festival-${portVersion}.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
binDir=$prefix/bin
|
||||
export binDir \
|
||||
portPackageLinksDir \
|
||||
relativeDevelopLibDir \
|
||||
secondaryArchSuffix
|
||||
for f in lib/festival.scm \
|
||||
lib/lexicons.scm \
|
||||
lib/voices.scm \
|
||||
src/arch/festival/festival.cc
|
||||
do
|
||||
sed -e "s,@DOCDIR@,$docDir,g" \
|
||||
-e "s,@DATADIR@,$dataDir/festival,g" \
|
||||
-e "s,@LIBDIR@,$libDir/festival,g" \
|
||||
${f}.in > ${f}
|
||||
done
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p \
|
||||
$developLibDir \
|
||||
$prefix/bin \
|
||||
$dataDir/festival \
|
||||
$manDir/man1 \
|
||||
$docDir/examples
|
||||
cp -a src/lib/libFestival.a $developLibDir
|
||||
cp -a src/main/festival $prefix/bin
|
||||
cp -a src/main/festival_client $prefix/bin
|
||||
cp -a examples/text2wave $prefix/bin
|
||||
cp -a lib/* $dataDir/festival
|
||||
cp -a doc/*.1 $manDir/man1
|
||||
cp -a examples/*intro.text $docDir/examples
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
113
app-accessibility/festival/licenses/Festival
Normal file
113
app-accessibility/festival/licenses/Festival
Normal file
@@ -0,0 +1,113 @@
|
||||
The system as a whole and most of the files in it are distributed
|
||||
under the following copyright and conditions
|
||||
|
||||
The Festival Speech Synthesis System
|
||||
Centre for Speech Technology Research
|
||||
University of Edinburgh, UK
|
||||
Copyright (c) 1996-2014
|
||||
All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to use and distribute
|
||||
this software and its documentation without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of this work, and to
|
||||
permit persons to whom this work is furnished to do so, subject to
|
||||
the following conditions:
|
||||
1. The code must retain the above copyright notice, this list of
|
||||
conditions and the following disclaimer.
|
||||
2. Any modifications must be clearly marked as such.
|
||||
3. Original authors' names are not deleted.
|
||||
4. The authors' names are not used to endorse or promote products
|
||||
derived from this software without specific prior written
|
||||
permission.
|
||||
|
||||
THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK
|
||||
DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
|
||||
SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE
|
||||
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
||||
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
||||
THIS SOFTWARE.
|
||||
|
||||
Some further comments:
|
||||
|
||||
Every effort has been made to ensure that Festival does not contain
|
||||
any violation of intellectual property rights through disclosure of
|
||||
trade secrets, copyright or patent violation. Considerable time and
|
||||
effort has been spent to ensure that this is the case. However,
|
||||
especially with patent problems, it is not always within our control
|
||||
to know what has or has not been restricted. If you do suspect that
|
||||
some part of Festival cannot be legally distributed please inform us
|
||||
so that an alternative may be sought. Festival is only useful if it
|
||||
is truly free to distribute.
|
||||
|
||||
As of 1.4.0 the core distribution (and speech tools) is free. Unlike
|
||||
previous versions which had a commercial restriction. You are free to
|
||||
incorporate Festival in commercial (and of course non-commercial
|
||||
systems), without any further communication or licence from us.
|
||||
However if you are seriously using Festival within a commercial
|
||||
application we would like to know, both so we know we are contributing
|
||||
and so we can keep you informed of future developments. Also if you
|
||||
require maintenance, support or wish us to provide consultancy feel
|
||||
free to contact us.
|
||||
|
||||
The voices however aren't all free. At present the US voices, kal and
|
||||
ked are free. Our British voices are free themselves but they use OALD
|
||||
which is restricted for non-commercial use. Our Spanish voice is also
|
||||
so restricted.
|
||||
|
||||
Note other modules that festival supports e.g MBROLA and OGI
|
||||
extensions, may have different licencing please take care when using
|
||||
the system to understand what you are actually using.
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
A number of individual files in the system fall under a different
|
||||
copyright from the above. All however are termed "free software"
|
||||
but most people.
|
||||
|
||||
./src/arch/festival/tcl.c
|
||||
* Copyright (C)1997 Jacques H. de Villiers <jacques@cse.ogi.edu>
|
||||
* Copyright (C)1997 Center for Spoken Language Understanding,
|
||||
* Oregon Graduate Institute of Science & Technology
|
||||
See conditions in file. This is the standard TCL licence and hence
|
||||
shouldn't cause problems from most people.
|
||||
|
||||
./examples/festival_client.pl
|
||||
# Copyright (C) 1997
|
||||
# Kevin A. Lenzo (lenzo@cs.cmu.edu) 7/97
|
||||
See condition in file
|
||||
|
||||
./src/modules/clunits/*
|
||||
./lib/*clunits*
|
||||
Joint copyright University of Edinburgh and Carnegie Mellon University
|
||||
Conditions remain as free software like the rest of distribution
|
||||
|
||||
./src/modules/clustergen/*
|
||||
Copyright Carnegie Mellon University
|
||||
Nagoya Insitute of Technology (derived code from HTS)
|
||||
HTS_vocoder_me.c HTS_vocoder_me.h
|
||||
contains additions from Aby Louw
|
||||
Copyright (c) 2012 The Department of Arts and Culture,
|
||||
The Government of the Republic of South Africa.
|
||||
under a free software licence compatible with the other
|
||||
free software copyrights in this work
|
||||
|
||||
./src/modules/hts_engine/*
|
||||
./lib/hts.scm
|
||||
The HMM-based speech synthesis system (HTS)
|
||||
hts_engine API version 1.07 (http://hts-engine.sourceforge.net/)
|
||||
Copyright (C) 2001-2012 Nagoya Institute of Technology
|
||||
2001-2008 Tokyo Institute of Technology
|
||||
All rights reserved.
|
||||
distributed under the Modified BSD licence.
|
||||
|
||||
./lib/festival.el
|
||||
;;; Copyright (C) Alan W Black 1996
|
||||
copyright under FSF General Public Licence
|
||||
|
||||
Please also read the COPYING section of speech_tools/README for the
|
||||
conditions on those files.
|
||||
|
||||
1148
app-accessibility/festival/patches/festival-2.4.patchset
Normal file
1148
app-accessibility/festival/patches/festival-2.4.patchset
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user