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/espeak: ChangeLog espeak-1.30.ebuild
Date: Tue, 01 Jan 2008 04:37:56
Message-Id: E1J9Ysx-0002Bf-9n@stork.gentoo.org
1 williamh 08/01/01 04:37:51
2
3 Modified: ChangeLog
4 Added: espeak-1.30.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.27 app-accessibility/espeak/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 26 Dec 2007 22:25:47 -0000 1.26
23 +++ ChangeLog 1 Jan 2008 04:37:50 -0000 1.27
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-accessibility/espeak
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.26 2007/12/26 22:25:47 phreak Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.27 2008/01/01 04:37:50 williamh Exp $
30 +
31 +*espeak-1.30 (01 Jan 2008)
32 +
33 + 01 Jan 2008; William Hubbs <williamh@g.o> +espeak-1.30.ebuild:
34 + Version bump.
35
36 26 Dec 2007; Christian Heim <phreak@g.o> espeak-1.19.ebuild,
37 espeak-1.20-r1.ebuild, espeak-1.25.ebuild, espeak-1.26.ebuild,
38 @@ -113,7 +118,7 @@
39 New release, as required by the latest gnome-speech. Honour CXXFLAGS. Use
40 the Makefile to install instead of doing it manually.
41
42 - 06 Nov 2006; Piotr Jaroszyński <peper@g.o> espeak-1.16.ebuild:
43 + 06 Nov 2006; Piotr Jaroszyński <peper@g.o> espeak-1.16.ebuild:
44 Add ~amd64 wrt bug #154245.
45
46 *espeak-1.16 (29 Oct 2006)
47
48
49
50 1.1 app-accessibility/espeak/espeak-1.30.ebuild
51
52 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/espeak-1.30.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/espeak/espeak-1.30.ebuild?rev=1.1&content-type=text/plain
54
55 Index: espeak-1.30.ebuild
56 ===================================================================
57 # Copyright 1999-2008 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.30.ebuild,v 1.1 2008/01/01 04:37:50 williamh Exp $
60
61 inherit eutils
62
63 MY_P="${P}-source"
64 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
65 DESCRIPTION="Speech synthesizer for English and other languages"
66 HOMEPAGE="http://espeak.sourceforge.net/"
67 LICENSE="GPL-3"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
70 IUSE=""
71 DEPEND=">=media-libs/portaudio-18.1-r5
72 app-arch/unzip"
73
74 S=${WORKDIR}/${MY_P}
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79
80 # portaudio.h is by default the same as portaudio18.h, but use the version
81 # 19 API if available
82 if has_version "=media-libs/portaudio-19*" ; then
83 mv -f "${S}/src/portaudio19.h" "${S}/src/portaudio.h"
84 fi
85
86 # Add a patch for a segfault on ppc64.
87 # epatch "${FILESDIR}/${P}-ppc64-segfault.patch"
88 }
89
90 src_compile() {
91 cd src
92 emake CXXFLAGS="${CXXFLAGS}" || die "Compilation failed"
93
94 einfo "Fixing byte order of phoneme data files"
95 cd "${S}/platforms/big_endian"
96 make
97 ./espeak-phoneme-data "${S}/espeak-data"
98 cp -f phondata phonindex phontab "${S}/espeak-data"
99
100 einfo "Compiling dict files"
101 cd "${S}/dictsource"
102 export HOME="${S}"
103 local lang
104 for l in *_rules; do
105 lang=${l/_rules/}
106 "${S}/src/speak" --compile=$lang
107 done
108 }
109
110 src_install() {
111 cd src
112 make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "Installation failed"
113
114 cd ..
115 dodoc ChangeLog ReadMe
116 dohtml -r docs/*
117 }
118
119
120
121 --
122 gentoo-commits@g.o mailing list