summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2009-10-02 23:37:10 +0000
committerWilliam Hubbs <williamh@gentoo.org>2009-10-02 23:37:10 +0000
commit999c4217fe5d08483173b309fcd604815f1cc2ce (patch)
tree12d543fbb75c98745253d33ba460298ca5bb58bf /app-accessibility/eflite
parentVersion bump. (diff)
downloadgentoo-2-999c4217fe5d08483173b309fcd604815f1cc2ce.tar.gz
gentoo-2-999c4217fe5d08483173b309fcd604815f1cc2ce.tar.bz2
gentoo-2-999c4217fe5d08483173b309fcd604815f1cc2ce.zip
added the 16k_voice use flag.
(Portage version: 2.2_rc42/cvs/Linux i686)
Diffstat (limited to 'app-accessibility/eflite')
-rw-r--r--app-accessibility/eflite/ChangeLog7
-rw-r--r--app-accessibility/eflite/eflite-0.4.1.ebuild12
-rw-r--r--app-accessibility/eflite/metadata.xml11
3 files changed, 23 insertions, 7 deletions
diff --git a/app-accessibility/eflite/ChangeLog b/app-accessibility/eflite/ChangeLog
index 540c9c4693e5..89bea01b086c 100644
--- a/app-accessibility/eflite/ChangeLog
+++ b/app-accessibility/eflite/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-accessibility/eflite
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/ChangeLog,v 1.26 2009/10/01 20:00:59 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/ChangeLog,v 1.27 2009/10/02 23:37:10 williamh Exp $
+
+ 02 Oct 2009; William Hubbs <williamh@gentoo.org> eflite-0.4.1.ebuild,
+ metadata.xml:
+ Added the 16k_voice use flag for bug #286769.
+ Thanks to Chris Brannon for the patch.
01 Oct 2009; Steve Dibb <beandog@gentoo.org> eflite-0.4.1.ebuild:
amd64 stable, bug 281478
diff --git a/app-accessibility/eflite/eflite-0.4.1.ebuild b/app-accessibility/eflite/eflite-0.4.1.ebuild
index 482d8ce23d51..089ad7b56545 100644
--- a/app-accessibility/eflite/eflite-0.4.1.ebuild
+++ b/app-accessibility/eflite/eflite-0.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.4.1.ebuild,v 1.3 2009/10/01 20:00:59 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.4.1.ebuild,v 1.4 2009/10/02 23:37:10 williamh Exp $
EAPI="2"
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE=""
+IUSE="+16k_voice"
DEPEND=">=app-accessibility/flite-1.2"
RDEPEND="${DEPEND}"
@@ -22,6 +22,14 @@ src_prepare() {
sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' *
}
+src_configure() {
+ local myconf
+ if use 16k_voice; then
+ myconf='--with-vox=cmu_us_kal16'
+ fi
+ econf ${myconf} || die "econf failed."
+}
+
src_install() {
einstall || die
dodoc ChangeLog README INSTALL eflite_test.txt
diff --git a/app-accessibility/eflite/metadata.xml b/app-accessibility/eflite/metadata.xml
index 76f6df8447bc..d24f65ecb21b 100644
--- a/app-accessibility/eflite/metadata.xml
+++ b/app-accessibility/eflite/metadata.xml
@@ -6,6 +6,9 @@
<maintainer>
<email>williamh@gentoo.org</email>
</maintainer>
+<use>
+ <flag name='16k_voice'>Use a higher-quality voice.</flag>
+</use>
<longdescription lang="en">
EFlite is a speech server for Emacspeak and other screen readers
that allows them to interface with Festival Lite, a free
@@ -13,9 +16,9 @@
off-shoot of Festival.
</longdescription>
<longdescription lang="ja">
- EFliteはEmacspeakと他のスクリーン読取り装置のスピーチサーバ。この
- サーバーで前のプログラムはFestival Lite(CMU Speech Centerで開発した
- Festivalのようにスピーチにテキストを変わるエンジン。)と
- インタフェスすることが出来る。
+ EFliteはEmacspeakと他のスクリーン読取り装置のスピーチサーバ。この
+ サーバーで前のプログラムはFestival Lite(CMU Speech Centerで開発した
+ Festivalのようにスピーチにテキストを変わるエンジン。)と
+ インタフェスすることが出来る。
</longdescription>
</pkgmetadata>