Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/speech-dispatcher: metadata.xml ChangeLog speech-dispatcher-0.6.7.ebuild
Date: Sun, 06 Sep 2009 19:35:30
Message-Id: E1MkNWK-0000aX-H8@stork.gentoo.org
1 williamh 09/09/06 19:35:28
2
3 Modified: metadata.xml ChangeLog
4 speech-dispatcher-0.6.7.ebuild
5 Log:
6 update for bug 281130.
7 (Portage version: 2.2_rc40/cvs/Linux i686)
8
9 Revision Changes Path
10 1.6 app-accessibility/speech-dispatcher/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/metadata.xml?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/metadata.xml?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/metadata.xml?r1=1.5&r2=1.6
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/metadata.xml,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- metadata.xml 17 Jul 2008 20:51:16 -0000 1.5
23 +++ metadata.xml 6 Sep 2009 19:35:28 -0000 1.6
24 @@ -7,6 +7,7 @@
25 <email>williamh@g.o</email>
26 </maintainer>
27 <use>
28 + <flag name='espeak'>Adds support for espeak speech engine</flag>
29 <flag name='flite'>Adds support for flite speech engine</flag>
30 </use>
31 </pkgmetadata>
32
33
34
35 1.46 app-accessibility/speech-dispatcher/ChangeLog
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?rev=1.46&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?rev=1.46&content-type=text/plain
39 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?r1=1.45&r2=1.46
40
41 Index: ChangeLog
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v
44 retrieving revision 1.45
45 retrieving revision 1.46
46 diff -u -r1.45 -r1.46
47 --- ChangeLog 4 Sep 2009 13:56:54 -0000 1.45
48 +++ ChangeLog 6 Sep 2009 19:35:28 -0000 1.46
49 @@ -1,6 +1,12 @@
50 # ChangeLog for app-accessibility/speech-dispatcher
51 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
52 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v 1.45 2009/09/04 13:56:54 williamh Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v 1.46 2009/09/06 19:35:28 williamh Exp $
54 +
55 + 06 Sep 2009; William Hubbs <williamh@g.o>
56 + speech-dispatcher-0.6.7.ebuild, metadata.xml:
57 + Update for bug #281130.
58 + - I added -D_GNU_SOURCE to the cppflags as suggested by vapier.
59 + - I also added support for the espeak use flag.
60
61 04 Sep 2009; William Hubbs <williamh@g.o>
62 -files/speech-dispatcher-0.6.7-glibc-2.10.patch:
63
64
65
66 1.6 app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild
67
68 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild?rev=1.6&view=markup
69 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild?rev=1.6&content-type=text/plain
70 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild?r1=1.5&r2=1.6
71
72 Index: speech-dispatcher-0.6.7.ebuild
73 ===================================================================
74 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild,v
75 retrieving revision 1.5
76 retrieving revision 1.6
77 diff -u -r1.5 -r1.6
78 --- speech-dispatcher-0.6.7.ebuild 4 Sep 2009 13:54:51 -0000 1.5
79 +++ speech-dispatcher-0.6.7.ebuild 6 Sep 2009 19:35:28 -0000 1.6
80 @@ -1,8 +1,10 @@
81 # Copyright 1999-2009 Gentoo Foundation
82 # Distributed under the terms of the GNU General Public License v2
83 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild,v 1.5 2009/09/04 13:54:51 williamh Exp $
84 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild,v 1.6 2009/09/06 19:35:28 williamh Exp $
85
86 -inherit eutils
87 +EAPI="2"
88 +
89 +inherit eutils flag-o-matic
90
91 DESCRIPTION="speech-dispatcher speech synthesis interface"
92 HOMEPAGE="http://www.freebsoft.org/speechd"
93 @@ -11,31 +13,34 @@
94 LICENSE="GPL-2"
95 SLOT="0"
96 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc x86"
97 -IUSE="alsa flite nas pulseaudio python"
98 +IUSE="alsa +espeak flite nas pulseaudio python"
99
100 RDEPEND="dev-libs/dotconf
101 >=dev-libs/glib-2
102 alsa? ( media-libs/alsa-lib )
103 + espeak? ( app-accessibility/espeak )
104 flite? ( app-accessibility/flite )
105 nas? ( media-libs/nas )
106 pulseaudio? ( media-sound/pulseaudio )
107 - python? ( dev-lang/python )
108 - app-accessibility/espeak"
109 + python? ( dev-lang/python )"
110 DEPEND="${RDEPEND}
111 dev-util/pkgconfig"
112
113 -src_unpack() {
114 - unpack ${A}
115 - cd "${S}"
116 - sed -i -e 's/\(SUBDIRS.*\)python/\1/' src/Makefile.in || die
117 +src_prepare() {
118 + sed -i -e 's/\(SUBDIRS.*\)python/\1/' src/Makefile.in
119 + epatch "${FILESDIR}"/${P}-getline-ss.patch
120 }
121
122 -src_compile() {
123 +src_configure() {
124 econf \
125 $(use_with alsa) \
126 $(use_with flite) \
127 $(use_with pulseaudio pulse) \
128 $(use_with nas) || die "configure failed"
129 +}
130 +
131 +src_compile() {
132 + append-cppflags -D_GNU_SOURCE
133 make all || die "make failed"
134 }
135
136 @@ -56,5 +61,12 @@
137 }
138
139 pkg_postinst() {
140 + if ! use espeak; then
141 + ewarn
142 + ewarn "You have disabled espeak, which is speech-dispatcher's"
143 + ewarn "default speech synthesizer."
144 + ewarn "You must edit ${ROOT}etc/speechd/speechd.conf"
145 + fi
146 + elog
147 elog "To enable Festival support, you must install app-accessibility/festival-freebsoft-utils."
148 }