1 |
williamh 10/02/17 06:03:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: espeak-1.43.ebuild |
5 |
Removed: espeak-1.42.04-r1.ebuild |
6 |
Log: |
7 |
version bump |
8 |
(Portage version: 2.2_rc62/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.87 app-accessibility/espeak/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/ChangeLog?rev=1.87&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/ChangeLog?rev=1.87&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/ChangeLog?r1=1.86&r2=1.87 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v |
20 |
retrieving revision 1.86 |
21 |
retrieving revision 1.87 |
22 |
diff -u -r1.86 -r1.87 |
23 |
--- ChangeLog 17 Feb 2010 01:36:56 -0000 1.86 |
24 |
+++ ChangeLog 17 Feb 2010 06:03:31 -0000 1.87 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-accessibility/espeak |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.86 2010/02/17 01:36:56 reavertm Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.87 2010/02/17 06:03:31 williamh Exp $ |
30 |
+ |
31 |
+*espeak-1.43 (17 Feb 2010) |
32 |
+ |
33 |
+ 17 Feb 2010; William Hubbs <williamh@g.o> |
34 |
+ -espeak-1.42.04-r1.ebuild, +espeak-1.43.ebuild: |
35 |
+ version bump |
36 |
|
37 |
17 Feb 2010; Maciej Mrozowski <reavertm@g.o> |
38 |
espeak-1.42.04-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-accessibility/espeak/espeak-1.43.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/espeak-1.43.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/espeak-1.43.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: espeak-1.43.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.43.ebuild,v 1.1 2010/02/17 06:03:31 williamh Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
MY_P="${P}-source" |
58 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" |
59 |
DESCRIPTION="Speech synthesizer for English and other languages" |
60 |
HOMEPAGE="http://espeak.sourceforge.net/" |
61 |
LICENSE="GPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
64 |
IUSE="portaudio pulseaudio" |
65 |
RDEPEND="portaudio? ( >=media-libs/portaudio-19_pre20071207 ) |
66 |
pulseaudio? ( media-sound/pulseaudio )" |
67 |
DEPEND="${RDEPEND} |
68 |
app-arch/unzip" |
69 |
|
70 |
S=${WORKDIR}/${MY_P} |
71 |
|
72 |
get_audio() { |
73 |
local MY_AUDIO |
74 |
|
75 |
if use portaudio; then |
76 |
MY_AUDIO=portaudio |
77 |
elif use pulseaudio; then |
78 |
MY_AUDIO=pulseaudio |
79 |
else |
80 |
MY_AUDIO=none |
81 |
fi |
82 |
echo ${MY_AUDIO} |
83 |
} |
84 |
|
85 |
pkg_setup() { |
86 |
if use portaudio && use pulseaudio; then |
87 |
die "You must choose either portaudio or pulseaudio, but not both." |
88 |
fi |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
cd src |
93 |
# gentoo uses portaudio 19. |
94 |
if use portaudio; then |
95 |
mv -f portaudio19.h portaudio.h |
96 |
fi |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
cd src |
101 |
emake PREFIX="${EPREFIX}/usr" AUDIO="$(get_audio)" CXXFLAGS="${CXXFLAGS}" all || die "Compilation failed" |
102 |
|
103 |
einfo "Fixing byte order of phoneme data files" |
104 |
cd "${S}/platforms/big_endian" |
105 |
make |
106 |
./espeak-phoneme-data "${S}/espeak-data" |
107 |
cp -f phondata phonindex phontab "${S}/espeak-data" |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
cd src |
112 |
make DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="\$(PREFIX)/$(get_libdir)" AUDIO="$(get_audio)" install || die "Installation failed" |
113 |
|
114 |
cd .. |
115 |
insinto /usr/share/espeak-data |
116 |
doins -r dictsource |
117 |
dodoc ChangeLog ReadMe |
118 |
dohtml -r docs/* |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
if ! use portaudio && ! use pulseaudio; then |
123 |
ewarn "Since portaudio and pulseaudio are not in your use flags," |
124 |
ewarn "espeak will only be able to create wav files." |
125 |
ewarn "If this is not what you want, please reemerge ${CATEGORY}/${PN}" |
126 |
ewarn "with either portaudio or pulseaudio USE flag enabled." |
127 |
fi |
128 |
} |