1 |
commit: c455513b974be658d3a118ff6daeef13498762a0 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 6 22:20:25 2016 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 6 22:24:51 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c455513b |
7 |
|
8 |
app-accessibility/eflite: revision bump for /sbin/openrc-run migration |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
RepoMan-Options: --force |
12 |
|
13 |
app-accessibility/eflite/eflite-0.4.1-r3.ebuild | 46 +++++++++++++++++++++++++ |
14 |
app-accessibility/eflite/files/eflite.rc | 2 +- |
15 |
2 files changed, 47 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-accessibility/eflite/eflite-0.4.1-r3.ebuild b/app-accessibility/eflite/eflite-0.4.1-r3.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000..dfd1f5d |
20 |
--- /dev/null |
21 |
+++ b/app-accessibility/eflite/eflite-0.4.1-r3.ebuild |
22 |
@@ -0,0 +1,46 @@ |
23 |
+# Copyright 1999-2016 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI="5" |
28 |
+inherit autotools eutils user |
29 |
+ |
30 |
+DESCRIPTION="A speech server that allows emacspeak and other screen readers to interact with festival lite" |
31 |
+HOMEPAGE="http://eflite.sourceforge.net" |
32 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="GPL-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86" |
37 |
+IUSE="+16k_voice" |
38 |
+ |
39 |
+DEPEND=">=app-accessibility/flite-1.4" |
40 |
+RDEPEND="${DEPEND}" |
41 |
+ |
42 |
+src_prepare() { |
43 |
+ sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' * |
44 |
+ epatch "${FILESDIR}"/${PN}-0.4.1-flite14.patch |
45 |
+ eautoreconf |
46 |
+} |
47 |
+ |
48 |
+src_configure() { |
49 |
+ local myconf |
50 |
+ if use 16k_voice; then |
51 |
+ myconf='--with-vox=cmu_us_kal16' |
52 |
+ fi |
53 |
+ econf ${myconf} |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ einstall |
58 |
+ dodoc ChangeLog README INSTALL eflite_test.txt |
59 |
+ |
60 |
+ insinto /etc/eflite |
61 |
+ doins "${FILESDIR}"/es.conf |
62 |
+ |
63 |
+ newinitd "${FILESDIR}"/eflite.rc eflite |
64 |
+} |
65 |
+ |
66 |
+pkg_postinst() { |
67 |
+ enewgroup speech |
68 |
+} |
69 |
|
70 |
diff --git a/app-accessibility/eflite/files/eflite.rc b/app-accessibility/eflite/files/eflite.rc |
71 |
index ff91540..69854e1 100644 |
72 |
--- a/app-accessibility/eflite/files/eflite.rc |
73 |
+++ b/app-accessibility/eflite/files/eflite.rc |
74 |
@@ -1,4 +1,4 @@ |
75 |
-#!/sbin/runscript |
76 |
+#!/sbin/openrc-run |
77 |
# Copyright 1999-2004 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
# $Id$ |