summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-17 03:40:52 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-17 03:40:52 +0000
commit012b74b7f16ba0984d615a0c2e1c88790c718a35 (patch)
tree36752c326fc10f35e75da29c7af77cff8f06128c /app-accessibility/speechd
parentMoving to app-accessibility/speechd (diff)
downloadgentoo-2-012b74b7f16ba0984d615a0c2e1c88790c718a35.tar.gz
gentoo-2-012b74b7f16ba0984d615a0c2e1c88790c718a35.tar.bz2
gentoo-2-012b74b7f16ba0984d615a0c2e1c88790c718a35.zip
Moved from media-sound/speechd to app-accessibility/speechd.
Diffstat (limited to 'app-accessibility/speechd')
-rw-r--r--app-accessibility/speechd/ChangeLog33
-rw-r--r--app-accessibility/speechd/Manifest7
-rw-r--r--app-accessibility/speechd/files/digest-speechd-0.561
-rw-r--r--app-accessibility/speechd/files/digest-speechd-0.56-r11
-rw-r--r--app-accessibility/speechd/files/speechd.rc20
-rw-r--r--app-accessibility/speechd/metadata.xml5
-rw-r--r--app-accessibility/speechd/speechd-0.56-r1.ebuild57
-rw-r--r--app-accessibility/speechd/speechd-0.56.ebuild51
8 files changed, 175 insertions, 0 deletions
diff --git a/app-accessibility/speechd/ChangeLog b/app-accessibility/speechd/ChangeLog
new file mode 100644
index 000000000000..78c3d0b4c720
--- /dev/null
+++ b/app-accessibility/speechd/ChangeLog
@@ -0,0 +1,33 @@
+# ChangeLog for media-sound/speechd
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/ChangeLog,v 1.1 2004/03/17 03:40:52 eradicator Exp $
+
+*speechd-0.56-r1 (16 Mar 2004)
+
+ 16 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> metadata.xml,
+ speechd-0.56-r1.ebuild, speechd-0.56.ebuild, files/speechd.rc:
+ Moved from media-sound/speechd to app-accessibility/speechd.
+
+ 14 Mar 2004; David Holm <dholm@gentoo.org> speechd-0.56-r1.ebuild:
+ Added to ~ppc.
+
+*speechd-0.56-r1 (13 Mar 2004)
+
+ 13 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ speechd-0.56-r1.ebuild, files/speechd.rc:
+ Added init script. Closes bug #43374.
+
+ 18 Feb 2004; <augustus@gentoo.org> speechd-0.56.ebuild:
+ Added amd64 to keywords. Works great with festival. Made stable as it's the
+ only version available.
+
+ 07 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org> speechd-0.56.ebuild:
+ chown x.y -> chown x:y (bug 35127)
+
+*speechd-0.56 (14 Jul 2002)
+
+ 13 Jul 2002; Michael Nazaroff <naz@gentoo.org> speechd-0.56:
+
+ Initial import.
+ ebuild submitted by Matt Keadle <mkeadle@ecpi.edu>
+
diff --git a/app-accessibility/speechd/Manifest b/app-accessibility/speechd/Manifest
new file mode 100644
index 000000000000..92f153b0e35a
--- /dev/null
+++ b/app-accessibility/speechd/Manifest
@@ -0,0 +1,7 @@
+MD5 45cc2017e639ad6885ef4f9424bb7370 ChangeLog 923
+MD5 c7ff26273453eb3c3d4174f8eb5ec79f speechd-0.56.ebuild 1321
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 5b85b539749b455940b9bed6e518f812 speechd-0.56-r1.ebuild 1497
+MD5 bc0a2d35e9d4d817f657a8aad30d3a14 files/digest-speechd-0.56 63
+MD5 bc0a2d35e9d4d817f657a8aad30d3a14 files/digest-speechd-0.56-r1 63
+MD5 9c4a8caa8b2ba817b8edc88d591cf000 files/speechd.rc 506
diff --git a/app-accessibility/speechd/files/digest-speechd-0.56 b/app-accessibility/speechd/files/digest-speechd-0.56
new file mode 100644
index 000000000000..e56f75958e9f
--- /dev/null
+++ b/app-accessibility/speechd/files/digest-speechd-0.56
@@ -0,0 +1 @@
+MD5 e74f55f84427c56c9e04961535798b4b speechd-0.56.tar.gz 23815
diff --git a/app-accessibility/speechd/files/digest-speechd-0.56-r1 b/app-accessibility/speechd/files/digest-speechd-0.56-r1
new file mode 100644
index 000000000000..e56f75958e9f
--- /dev/null
+++ b/app-accessibility/speechd/files/digest-speechd-0.56-r1
@@ -0,0 +1 @@
+MD5 e74f55f84427c56c9e04961535798b4b speechd-0.56.tar.gz 23815
diff --git a/app-accessibility/speechd/files/speechd.rc b/app-accessibility/speechd/files/speechd.rc
new file mode 100644
index 000000000000..65a5243a2a30
--- /dev/null
+++ b/app-accessibility/speechd/files/speechd.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/files/speechd.rc,v 1.1 2004/03/17 03:40:52 eradicator Exp $
+
+depend() {
+ need festival
+}
+
+start() {
+ ebegin "Starting speechd"
+ start-stop-daemon --start --quiet --exec /usr/bin/speechd -- -Q
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping speechd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/speechd.pid
+ eend $?
+}
diff --git a/app-accessibility/speechd/metadata.xml b/app-accessibility/speechd/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/app-accessibility/speechd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>
diff --git a/app-accessibility/speechd/speechd-0.56-r1.ebuild b/app-accessibility/speechd/speechd-0.56-r1.ebuild
new file mode 100644
index 000000000000..ff050fb5b26b
--- /dev/null
+++ b/app-accessibility/speechd/speechd-0.56-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/speechd-0.56-r1.ebuild,v 1.1 2004/03/17 03:40:52 eradicator Exp $
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Implements /dev/speech (any text written to /dev/speech will be spoken aloud)"
+HOMEPAGE="http://www.speechio.org/"
+SRC_URI="http://www.speechio.org/dl/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="esd"
+
+DEPEND="dev-lang/perl"
+
+RDEPEND="${DEPEND}
+ esd? ( media-sound/esound )
+ >=media-sound/festival-1.4.3-r1"
+
+src_compile() {
+ emake || die
+}
+
+src_install () {
+ dobin ${S}/bin/speechd ${S}/bin/catspeech
+ use esd && dosed 's,#\($use_esd\),\1,g' /usr/bin/speechd
+ insinto /etc
+ doins speechd.sub speechdrc
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/speechd.rc speechd
+ doman ${S}/man/man1/*.1
+ dodoc README AUTHORS CHANGELOG COPYING TODO speechio.faq
+}
+
+pkg_postinst () {
+ enewgroup speech
+
+ einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+ einfo "to build the neccessary FIFO on /dev/speech."
+}
+
+pkg_config () {
+ mkfifo --mode=0660 /dev/speech
+ chown root:speech /dev/speech
+
+ einfo "FIFO has been created on /dev/speech"
+ einfo ""
+ einfo "In order for non-root users to take advantage of /dev/speech"
+ einfo "they must be added to the 'speech' group."
+}
+
+# This would get executed on an upgrade...
+#pkg_postrm () {
+# einfo "Removing FIFO at /dev/speech ..."
+# rm -f /dev/speech
+#}
diff --git a/app-accessibility/speechd/speechd-0.56.ebuild b/app-accessibility/speechd/speechd-0.56.ebuild
new file mode 100644
index 000000000000..5dd23405eeef
--- /dev/null
+++ b/app-accessibility/speechd/speechd-0.56.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/speechd-0.56.ebuild,v 1.1 2004/03/17 03:40:52 eradicator Exp $
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="Implements /dev/speech (any text written to /dev/speech will be spoken aloud)"
+HOMEPAGE="http://www.speechio.org/"
+SRC_URI="http://www.speechio.org/dl/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+DEPEND="dev-lang/perl
+ media-sound/festival"
+
+src_compile() {
+ emake || die
+}
+
+src_install () {
+ dobin ${S}/bin/speechd ${S}/bin/catspeech
+ insinto /etc
+ doins speechdrc speechd.sub
+ doman ${S}/man/man1/*.1
+ dodoc README AUTHORS CHANGELOG COPYING TODO
+}
+
+pkg_postinst () {
+ if ! grep -q ^speech: /etc/group ; then
+ groupadd speech || die "problem adding group speech"
+ fi
+
+ einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+ einfo "to build the neccessary FIFO on /dev/speech."
+}
+
+pkg_config () {
+ mkfifo --mode=0660 /dev/speech
+ chown root:speech /dev/speech
+
+ einfo "FIFO has been created on /dev/speech"
+ einfo ""
+ einfo "In order for non-root users to take advantage of /dev/speech"
+ einfo "they must be added to the 'speech' group."
+}
+
+pkg_postrm () {
+ einfo "Removing FIFO at /dev/speech ..."
+ rm -f /dev/speech
+}