68 lines
1.6 KiB
Bash
68 lines
1.6 KiB
Bash
SUMMARY="Speech synthesizer for English and other languages"
|
|
DESCRIPTION="eSpeak is a compact open source software speech synthesizer \
|
|
for English and other languages, for Linux and Windows. \
|
|
\
|
|
eSpeak uses a \"formant synthesis\" method. \
|
|
This allows many languages to be provided in a small size. \
|
|
The speech is clear, and can be used at high speeds, \
|
|
but is not as natural or smooth as larger synthesizers \
|
|
which are based on human speech recordings."
|
|
HOMEPAGE="http://espeak.sourceforge.net/"
|
|
COPYRIGHT="2005-2014 Jonathan Duddington"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="4"
|
|
SOURCE_URI="http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/espeak-1.48.04-source.zip"
|
|
CHECKSUM_SHA256="bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659"
|
|
SOURCE_DIR="espeak-${portVersion}-source"
|
|
PATCHES="espeak-1.48.04.patch"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
espeak = $portVersion
|
|
cmd:espeak = $portVersion
|
|
devel:libespeak = 1.1.48 compat >= 1
|
|
lib:libespeak = 1.1.48 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd src
|
|
|
|
STDCPPLIBS=-lstdc++
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
STDCPPLIBS=-lstdc++.r4
|
|
fi
|
|
|
|
make LIB_STDCPP=$STDCPPLIBS \
|
|
AUDIO=wave LIB_PTHREAD= \
|
|
VISIBILITY_FLAG= \
|
|
PREFIX=$prefix \
|
|
DATADIR=$dataDir/espeak-data \
|
|
INCDIR=$includeDir/espeak
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd src
|
|
make LIB_STDCPP=$STDCPPLIBS \
|
|
AUDIO=wave LIB_PTHREAD= \
|
|
VISIBILITY_FLAG= \
|
|
PREFIX=$prefix \
|
|
DATADIR=$dataDir/espeak-data \
|
|
INCDIR=$includeDir/espeak \
|
|
install
|
|
prepareInstalledDevelLibs libespeak
|
|
}
|