1 |
williamh 09/12/31 21:31:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: flite-1.4.ebuild |
5 |
Log: |
6 |
version bump for #299032, thanks to Chris Bruner. |
7 |
(Portage version: 2.2_rc61/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.33 app-accessibility/flite/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/ChangeLog?rev=1.33&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/ChangeLog?rev=1.33&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/ChangeLog?r1=1.32&r2=1.33 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-accessibility/flite/ChangeLog,v |
19 |
retrieving revision 1.32 |
20 |
retrieving revision 1.33 |
21 |
diff -u -r1.32 -r1.33 |
22 |
--- ChangeLog 26 Dec 2009 16:31:50 -0000 1.32 |
23 |
+++ ChangeLog 31 Dec 2009 21:31:39 -0000 1.33 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-accessibility/flite |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/ChangeLog,v 1.32 2009/12/26 16:31:50 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/ChangeLog,v 1.33 2009/12/31 21:31:39 williamh Exp $ |
29 |
+ |
30 |
+*flite-1.4 (31 Dec 2009) |
31 |
+ |
32 |
+ 31 Dec 2009; William Hubbs <williamh@g.o> +flite-1.4.ebuild, |
33 |
+ +files/flite-1.4-respect-destdir.patch: |
34 |
+ version bump for #299032, thanks to Chris Bruner. |
35 |
|
36 |
26 Dec 2009; Raúl Porcel <armin76@g.o> flite-1.3.ebuild: |
37 |
sparc stable wrt #289439 |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-accessibility/flite/flite-1.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/flite-1.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/flite-1.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: flite-1.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.4.ebuild,v 1.1 2009/12/31 21:31:39 williamh Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils |
55 |
|
56 |
DESCRIPTION="Flite text to speech engine" |
57 |
HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html" |
58 |
SRC_URI=" http://www.speech.cs.cmu.edu/${PN}/packed/${P}/${P}-release.tar.bz2" |
59 |
|
60 |
LICENSE="BSD as-is" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
63 |
IUSE="alsa oss" |
64 |
|
65 |
S=${WORKDIR}/${P}-release |
66 |
|
67 |
get_audio() { |
68 |
if use alsa; then |
69 |
echo alsa |
70 |
elif use oss; then |
71 |
echo oss |
72 |
else |
73 |
echo none |
74 |
fi |
75 |
} |
76 |
|
77 |
src_prepare() { |
78 |
epatch "${FILESDIR}"/${P}-respect-destdir.patch |
79 |
} |
80 |
|
81 |
src_configure() { |
82 |
econf \ |
83 |
--with-audio=$(get_audio) || die "configuration failed" |
84 |
} |
85 |
|
86 |
src_compile() { |
87 |
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "Failed compilation" |
88 |
} |
89 |
|
90 |
src_install() { |
91 |
emake DESTDIR="${D}" install || die "installation failed" |
92 |
dodoc ACKNOWLEDGEMENTS README |
93 |
} |
94 |
|
95 |
pkg_postinst() { |
96 |
if [ "$(get_audio)" = "none" ]; then |
97 |
ewarn "you have built flite without audio support." |
98 |
ewarn "If you want audio support for flite, you need" |
99 |
ewarn "alsa or oss in your use flags." |
100 |
fi |
101 |
} |