# Maintainer: Dimitris Tzemos # modified by Didier Spaier # The symlinks in doinst allow espeak-ng to act as a replacement of # The legacy espeak when running espeakup that rely on it. # note to self: # Run make-git-tarball.sh first # rubygem-ronn and its dependencies: # rubygem-hpricot,rubygem-mustache,rubygem-rdiscount # are needed to build the doc in html and man format using the ronn # application. pkgname=espeak-ng pkgver=git3660a44b pkgrel=1slint source=("${pkgname}-${pkgver}.tar.xz" "README.mbrola" "list_of_mbrola_voices" "list-espeak-ng-voices") docs=("CHANGELOG.html" "COPYING" "COPYING.APACHE" "COPYING.BSD2" "FAQ" "NEWS" "README.mbrola" "list_of_mbrola_voices") options=("nosrcpack") url=http://espeak.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "espeak-ng (Next Generation Text-to-Speech program)" "open source speech synthesizer supporting 100 languages and accents." "It is based on the eSpeak engine created by Jonathan Duddington. It" "uses spectral formant synthesis by default which sounds robotic, but" "can be configured to use Klatt formant synthesis or MBROLA to give it" "a more natural sound." "" "HomePage:https://github.com/rhdunn/espeak/" ) build() { cd $startdir/src/${pkgname}-$pkgver ./autogen.sh ./configure \ --without-klatt \ --without-mbrola \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} for i in $(<$startdir/patches/series); do echo "patching from $startdir/patches/$i" patch -p1 --verbose < $startdir/patches/$i sleep 2 done make make install DESTDIR=$startdir/pkg mkdir -p $PKG/usr/bin cp $startdir/list-espeak-ng-voices $PKG/usr/bin chmod 755 $PKG/usr/bin/list-espeak-ng-voices }