diff options
author | William Hubbs <williamh@gentoo.org> | 2008-08-10 20:48:37 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2008-08-10 20:48:37 +0000 |
commit | 96105b0a5739d20258671f92100642064ff7723b (patch) | |
tree | 7fe4918b4de8b045088f2da7e82513e24e2ccf5d | |
parent | stable amd64, bug #233248 (diff) | |
download | gentoo-2-96105b0a5739d20258671f92100642064ff7723b.tar.gz gentoo-2-96105b0a5739d20258671f92100642064ff7723b.tar.bz2 gentoo-2-96105b0a5739d20258671f92100642064ff7723b.zip |
Closes bug 220285 and adds back the speech engines for bug 211214..
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo i686)
-rw-r--r-- | app-accessibility/festival/ChangeLog | 7 | ||||
-rw-r--r-- | app-accessibility/festival/festival-1.96_beta.ebuild | 19 |
2 files changed, 20 insertions, 6 deletions
diff --git a/app-accessibility/festival/ChangeLog b/app-accessibility/festival/ChangeLog index 952c4345fc5d..e5811ffb689d 100644 --- a/app-accessibility/festival/ChangeLog +++ b/app-accessibility/festival/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-accessibility/festival # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.79 2008/07/15 19:53:41 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.80 2008/08/10 20:48:37 williamh Exp $ + + 10 Aug 2008; William Hubbs <williamh@gentoo.org> + festival-1.96_beta.ebuild: + Closes bug 220285 (alsa support), thanks to solar. Also, this adds back + the speech synthesis engines needed by bug 211214. Again, thanks to solar. 15 Jul 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/app-accessibility/festival/festival-1.96_beta.ebuild b/app-accessibility/festival/festival-1.96_beta.ebuild index 52f9f6ff569c..efb57dc3747f 100644 --- a/app-accessibility/festival/festival-1.96_beta.ebuild +++ b/app-accessibility/festival/festival-1.96_beta.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild,v 1.9 2008/03/13 02:55:28 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild,v 1.10 2008/08/10 20:48:37 williamh Exp $ inherit eutils toolchain-funcs @@ -25,10 +25,13 @@ SRC_URI="${SITE}/${MY_P}.tar.gz LICENSE="FESTIVAL BSD as-is" SLOT="0" KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="mbrola" +IUSE="alsa mbrola" -DEPEND=">=app-accessibility/speech-tools-1.2.96_beta" -RDEPEND="${DEPEND} +SP_DEPEND=">=app-accessibility/speech-tools-1.2.96_beta" + +DEPEND="${SP_DEPEND} + alsa? ( media-sound/alsa-utils )" +RDEPEND="${SP_DEPEND} mbrola? ( >=app-accessibility/mbrola-3.0.1h-r2 )" S=${WORKDIR}/festival @@ -45,7 +48,8 @@ src_unpack() { sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak # disable the multisyn modules - sed -i -e "s:\(ALSO_INCLUDE.*=.*MultiSyn\):# \1:" "${S}"/config/config.in + #sed -i -e "s:\(ALSO_INCLUDE.*=.*MultiSyn\):# \1:" "${S}"/config/config.in + sed -i -e 's/clunits hts_engine MultiSyn/clunits hts_engine/g' "${S}"/config/config.in # fix the reference to /usr/lib/festival sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1/usr/share/festival:" "${S}"/config/project.mak @@ -58,6 +62,11 @@ src_unpack() { # Apply a patch for gcc4.3. epatch "${FILESDIR}"/${P}-gcc43.patch + + if use alsa; then + echo "(Parameter.set 'Audio_Command \"aplay -q -c 1 -t raw -f s16 -r \$SR \$FILE\")" >> ${S}/lib/siteinit.scm + echo "(Parameter.set 'Audio_Method 'Audio_Command)" >> ${S}/lib/siteinit.scm + fi } src_compile() { |