1 |
commit: 9f2a1fcece87647ca73971494f730da379ba2a6b |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 26 13:52:23 2016 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 26 13:52:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f2a1fce |
7 |
|
8 |
app-accessibility/espeakup: 0.80 version bump |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-accessibility/espeakup/Manifest | 1 + |
13 |
app-accessibility/espeakup/espeakup-0.80.ebuild | 63 +++++++++++++++++++++++++ |
14 |
2 files changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/app-accessibility/espeakup/Manifest b/app-accessibility/espeakup/Manifest |
17 |
index d37f8fc..e9fa11c 100644 |
18 |
--- a/app-accessibility/espeakup/Manifest |
19 |
+++ b/app-accessibility/espeakup/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST espeakup-0.71.tar.bz2 24663 SHA256 8307986998256db21e615c4edc1befedde28a6995971da258e9d513dd79bd3ab SHA512 01091560cd4843897fa6925a54b4c856fe57ed5728ddc0c091c93b1ae14eb2f4d07ab2247e40bd5a5968cc22ee3696abfe1b28f67b95aa7ab61e33667c51135d WHIRLPOOL 8cc6d335e40a560c14ed17fddc475473722606c7e98148f2f3aa786443b49bdee343cfa0c85e845ce79e8c0bdd330825232512e67869bf8aed6fac81d5e3f4b8 |
22 |
+DIST espeakup-0.80.tar.gz 39626 SHA256 4de284e30b6bdb0f9dee9c8ea02d13a3d20a61415b812338446b8b381e997ef4 SHA512 1b7e2bd46c3c13a5305746d2d2810ec94a8660f561e4f679ee4779be1b22178f8ac7de42d626d649710509f7b087b9a2f94608bde203d1bcd6d353229ed9ff83 WHIRLPOOL 911c3326631c36a6515b4e109421bfa76847a0803617cb1490ea5779024d38ae5ec0568aaee47b1691b816e24346624fda383ca89ae926c50d36aa0cea4f3a8c |
23 |
|
24 |
diff --git a/app-accessibility/espeakup/espeakup-0.80.ebuild b/app-accessibility/espeakup/espeakup-0.80.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..c50eee2 |
27 |
--- /dev/null |
28 |
+++ b/app-accessibility/espeakup/espeakup-0.80.ebuild |
29 |
@@ -0,0 +1,63 @@ |
30 |
+# Copyright 1999-2013 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+if [[ ${PV} == "9999" ]] ; then |
37 |
+ EGIT_REPO_URI="git://github.com/williamh/espeakup.git" |
38 |
+ inherit git-r3 |
39 |
+else |
40 |
+ EGIT_COMMIT=v${PV} |
41 |
+ SRC_URI="https://github.com/williamh/espeakup/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
42 |
+ KEYWORDS="~amd64 ~x86" |
43 |
+ inherit vcs-snapshot |
44 |
+fi |
45 |
+ |
46 |
+inherit linux-info |
47 |
+ |
48 |
+DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup" |
49 |
+HOMEPAGE="https://github.com/williamh/espeakup" |
50 |
+ |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+IUSE="" |
54 |
+ |
55 |
+COMMON_DEPEND="|| ( |
56 |
+ app-accessibility/espeak[portaudio] |
57 |
+ app-accessibility/espeak[pulseaudio] )" |
58 |
+DEPEND="${COMMON_DEPEND}" |
59 |
+RDEPEND="${COMMON_DEPEND}" |
60 |
+ |
61 |
+CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT" |
62 |
+ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!" |
63 |
+ERROR_SPEAKUP_SYNTH_SOFT="CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!" |
64 |
+ |
65 |
+pkg_setup() { |
66 |
+ if kernel_is -ge 2 6 37; then |
67 |
+ check_extra_config |
68 |
+ elif ! has_version app-accessibility/speakup; then |
69 |
+ ewarn "Cannot find speakup on your system." |
70 |
+ ewarn "Please upgrade your kernel to 2.6.37 or later and enable the" |
71 |
+ ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options" |
72 |
+ ewarn "or install app-accessibility/speakup." |
73 |
+ fi |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ emake DESTDIR="${D}" PREFIX=/usr install |
78 |
+ einstalldocs |
79 |
+ newconfd "${FILESDIR}"/espeakup.confd espeakup |
80 |
+ newinitd "${FILESDIR}"/espeakup.rc espeakup |
81 |
+} |
82 |
+ |
83 |
+pkg_postinst() { |
84 |
+ elog "To get espeakup to start automatically, it is currently recommended" |
85 |
+ elog "that you add it to the default run level, by giving the following" |
86 |
+ elog "command as root." |
87 |
+ elog |
88 |
+ elog "rc-update add espeakup default" |
89 |
+ elog |
90 |
+ elog "You can also set a default voice now for espeakup." |
91 |
+ elog "See /etc/conf.d/espeakup for how to do this." |
92 |
+} |