summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-accessibility/eflite/ChangeLog10
-rw-r--r--app-accessibility/eflite/Manifest2
-rw-r--r--app-accessibility/eflite/eflite-0.3.8.ebuild32
-rw-r--r--app-accessibility/eflite/files/digest-eflite-0.3.81
-rw-r--r--app-accessibility/eflite/files/eflite-0.3.8-shared_flite.patch41
-rw-r--r--app-accessibility/eflite/metadata.xml6
6 files changed, 92 insertions, 0 deletions
diff --git a/app-accessibility/eflite/ChangeLog b/app-accessibility/eflite/ChangeLog
new file mode 100644
index 000000000000..71e6132f5ea6
--- /dev/null
+++ b/app-accessibility/eflite/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-accessibility/eflite
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/ChangeLog,v 1.1 2004/03/21 08:52:07 eradicator Exp $
+
+*eflite-0.3.8 (21 Mar 2004)
+
+ 21 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> eflite-0.3.8.ebuild,
+ metadata.xml, files/eflite-0.3.8-shared_flite.patch:
+ Initial import. Ebuild by dmwaters and me. Closes bug #45178.
+
diff --git a/app-accessibility/eflite/Manifest b/app-accessibility/eflite/Manifest
new file mode 100644
index 000000000000..c95ce53c4952
--- /dev/null
+++ b/app-accessibility/eflite/Manifest
@@ -0,0 +1,2 @@
+MD5 11dc0d5acb8d3d18d51026f648e57276 eflite-0.3.8.ebuild 772
+MD5 0f5da4dd97b480750c68391658e4bee6 files/digest-eflite-0.3.8 63
diff --git a/app-accessibility/eflite/eflite-0.3.8.ebuild b/app-accessibility/eflite/eflite-0.3.8.ebuild
new file mode 100644
index 000000000000..20b0bc73e2ac
--- /dev/null
+++ b/app-accessibility/eflite/eflite-0.3.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.3.8.ebuild,v 1.1 2004/03/21 08:52:07 eradicator Exp $
+
+inherit eutils
+
+DESCRIPTION="A speech server for emacspeek and other screen readers that allows them to interact with festival lite."
+HOMEPAGE="http://eflite.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND=">=app-accessibility/flite-1.2"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.58"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-shared_flite.patch
+ WANT_AUTOCONF=2.5 autoconf
+}
+
+src_install() {
+ dobin eflite || die
+ dodoc ChangeLog README INSTALL eflite_test.txt
+}
diff --git a/app-accessibility/eflite/files/digest-eflite-0.3.8 b/app-accessibility/eflite/files/digest-eflite-0.3.8
new file mode 100644
index 000000000000..8daeae2943b9
--- /dev/null
+++ b/app-accessibility/eflite/files/digest-eflite-0.3.8
@@ -0,0 +1 @@
+MD5 f8b1e3a5dd816b70a622ad7cbee83b28 eflite-0.3.8.tar.gz 50667
diff --git a/app-accessibility/eflite/files/eflite-0.3.8-shared_flite.patch b/app-accessibility/eflite/files/eflite-0.3.8-shared_flite.patch
new file mode 100644
index 000000000000..a68f5757f62e
--- /dev/null
+++ b/app-accessibility/eflite/files/eflite-0.3.8-shared_flite.patch
@@ -0,0 +1,41 @@
+diff -Naur eflite-0.3.8.orig/Makefile.in eflite-0.3.8/Makefile.in
+--- eflite-0.3.8.orig/Makefile.in 2004-02-20 15:58:35.000000000 -0800
++++ eflite-0.3.8/Makefile.in 2004-03-21 00:39:47.000000000 -0800
+@@ -27,10 +27,10 @@
+ #CFLAGS+= -DDEBUG=2
+
+ # For making releases
+-FLITE_LIBS:=$(flite_dir)/lib/libflite_$(FL_VOX).a $(flite_dir)/lib/libflite_$(FL_LEX).a $(flite_dir)/lib/libflite_$(FL_LANG).a $(flite_dir)/lib/libflite.a
++FLITE_LIBS:=-L$(flite_dir)/lib -lflite_$(FL_VOX) -lflite_$(FL_LEX) -lflite_$(FL_LANG) -lflite
+
+-eflite: fs.o es.o soccon.o sockopen.o tone.o $(FLITE_LIBS)
+- $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS)
++eflite: fs.o es.o soccon.o sockopen.o tone.o
++ $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS) $(FLITE_LIBS)
+
+ fs.o: fs.c
+ $(CC) $(CFLAGS) -I. -I$(flite_include_dir) -DREGISTER_VOX=register_$(subst cmu_us_kal16,cmu_us_kal,$(FL_VOX)) -DSTANDALONE -DEFLITE -c -o $@ $<
+diff -Naur eflite-0.3.8.orig/configure.in eflite-0.3.8/configure.in
+--- eflite-0.3.8.orig/configure.in 2004-02-20 15:58:35.000000000 -0800
++++ eflite-0.3.8/configure.in 2004-03-21 00:37:08.000000000 -0800
+@@ -29,6 +29,20 @@
+ flite_dir=/usr/src/flite-1.1-release;
+ elif test -f /usr/local/src/flite-1.1-release/lib/libflite.a; then
+ flite_dir=/usr/local/src/flite-1.1-release;
++ elif test -f /usr/local/lib/libflite.so; then
++ flite_dir=/usr/local
++ elif test -f /usr/lib/libflite.so; then
++ flite_dir=/usr
++ elif test -f /opt/flite/lib/libflite.so; then
++ flite_dir=/opt
++ elif test -f $HOME/flite-1.2-release/lib/libflite.so; then
++ flite_dir=$HOME/flite-1.2-release
++ elif test -f $HOME/flite-1.1-release/lib/libflite.so; then
++ flite_dir=$HOME/flite-1.1-release
++ elif test -f /usr/src/flite-1.1-release/lib/libflite.so; then
++ flite_dir=/usr/src/flite-1.1-release;
++ elif test -f /usr/local/src/flite-1.1-release/lib/libflite.so; then
++ flite_dir=/usr/local/src/flite-1.1-release;
+ else
+ AC_MSG_ERROR(Cannot locate libflite.a. Please specify flite_dir explicitly (see INSTALL). If you do not have FLite headers and libraries available, then compile FLite and re-run configure.)
+ fi
diff --git a/app-accessibility/eflite/metadata.xml b/app-accessibility/eflite/metadata.xml
new file mode 100644
index 000000000000..523097ffe305
--- /dev/null
+++ b/app-accessibility/eflite/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>accessibility</herd>
+<herd>sound</herd>
+</pkgmetadata>