summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/espeakup/ChangeLog10
-rw-r--r--app-accessibility/espeakup/Manifest5
-rw-r--r--app-accessibility/espeakup/espeakup-0.2.ebuild34
-rw-r--r--app-accessibility/espeakup/files/espeakup.rc24
-rw-r--r--app-accessibility/espeakup/metadata.xml12
5 files changed, 85 insertions, 0 deletions
diff --git a/app-accessibility/espeakup/ChangeLog b/app-accessibility/espeakup/ChangeLog
new file mode 100644
index 000000000000..53775d7c7fdf
--- /dev/null
+++ b/app-accessibility/espeakup/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-accessibility/espeakup
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/ChangeLog,v 1.1 2008/09/02 04:16:43 williamh Exp $
+
+*espeakup-0.2 (02 Sep 2008)
+
+ 02 Sep 2008; William Hubbs <williamh@gentoo.org> +files/espeakup.rc,
+ +metadata.xml, +espeakup-0.2.ebuild:
+ Initial commit.
+
diff --git a/app-accessibility/espeakup/Manifest b/app-accessibility/espeakup/Manifest
new file mode 100644
index 000000000000..bcaabfa9c5ba
--- /dev/null
+++ b/app-accessibility/espeakup/Manifest
@@ -0,0 +1,5 @@
+AUX espeakup.rc 347 RMD160 4e6844ebcbcf7c96fa544421308c353ce7fe6831 SHA1 ee2f2dbebfd1976f4e0996cbfd1db96ee241dd9b SHA256 00a72ff962b58407fb5f6bc9b998ba2a9f433e0ec5ed1af0f1802e0e2cc7a3bf
+DIST espeakup-0.2.tar.bz2 15907 RMD160 e9277b2e1a90be13d0ba41d426c9bc9376d85db7 SHA1 90223e15c13c0fe88cf6461829ca2ab49cb3145d SHA256 2ad7d279f4bf50b9a13b142aa4c0e9794a9e77206433d4fa6943e89b923a9709
+EBUILD espeakup-0.2.ebuild 950 RMD160 e66747fa381c774692e98aedb77b4bd7a41097b8 SHA1 6fd79329b33267e89b4d15bf951637058116804b SHA256 b0efc77c883f0a6d694a39f1231cbd066399febe8452c0ef5fb21fd0ebba7077
+MISC ChangeLog 385 RMD160 eba62946847152e7e403accf3231ab6b5b7f6f1e SHA1 433a73dbb6cf11f2a02ec6345053659ad5a7ad07 SHA256 5f85d33002ddbbe39588c85588ca234e13c82997effa9cf6f3588691d291e52d
+MISC metadata.xml 379 RMD160 da030cc3f768bd3756b9f602ac8f694d392eb84c SHA1 1f772643fe71cd3d2c01fdaef115fcc76bd8fe3c SHA256 730c8985450ad52a4d2f4f57884dc8973705daf107fb3bcdf433e0039f4f20d9
diff --git a/app-accessibility/espeakup/espeakup-0.2.ebuild b/app-accessibility/espeakup/espeakup-0.2.ebuild
new file mode 100644
index 000000000000..c17b5e5fe1cb
--- /dev/null
+++ b/app-accessibility/espeakup/espeakup-0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-0.2.ebuild,v 1.1 2008/09/02 04:16:43 williamh Exp $
+
+DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
+HOMEPAGE="http://www.linux-speakup.org"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="app-accessibility/espeak"
+RDEPEND="${DEPEND}
+ app-accessibility/speakup"
+
+src_compile() {
+ emake || die "Compile failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed."
+ dodoc README ToDo
+ newinitd "${FILESDIR}"/espeakup.rc espeakup
+}
+
+pkg_postinst() {
+ elog "To get espeakup to start automatically, it is currently recommended"
+ echo "that you add it to the default run level, by giving the following"
+ elog "command as root."
+ elog
+ elog "rc-update add espeakup default"
+}
diff --git a/app-accessibility/espeakup/files/espeakup.rc b/app-accessibility/espeakup/files/espeakup.rc
new file mode 100644
index 000000000000..890c1eb289e6
--- /dev/null
+++ b/app-accessibility/espeakup/files/espeakup.rc
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+
+depend() {
+ after modules
+ use alsasound pulseaudio
+}
+
+start() {
+ ebegin "Starting espeakup"
+ start-stop-daemon --start --exec /usr/bin/espeakup
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping espeakup"
+ start-stop-daemon --stop --pidfile /var/run/espeakup.pid
+ eend $?
+}
+
+restart() {
+ svc_stop || exit 1
+ sleep 2
+ svc_start || exit 1
+}
diff --git a/app-accessibility/espeakup/metadata.xml b/app-accessibility/espeakup/metadata.xml
new file mode 100644
index 000000000000..484f3c3991ed
--- /dev/null
+++ b/app-accessibility/espeakup/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>accessibility</herd>
+<maintainer>
+ <email>williamh@gentoo.org</email>
+</maintainer>
+<longdescription>
+Espeakup is a small lightweight connector which makes it possible for
+speakup to use espeak as its synthesizer.
+</longdescription>
+</pkgmetadata>