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/flite: ChangeLog flite-1.3.ebuild
Date: Thu, 24 Jan 2008 05:37:35
Message-Id: E1JHumJ-0000E3-Ts@stork.gentoo.org
1 williamh 08/01/24 05:37:31
2
3 Modified: ChangeLog
4 Added: flite-1.3.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.21 app-accessibility/flite/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/flite/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 11 Jan 2008 15:42:15 -0000 1.20
23 +++ ChangeLog 24 Jan 2008 05:37:31 -0000 1.21
24 @@ -1,6 +1,15 @@
25 # ChangeLog for app-accessibility/flite
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/ChangeLog,v 1.20 2008/01/11 15:42:15 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/ChangeLog,v 1.21 2008/01/24 05:37:31 williamh Exp $
29 +
30 +*flite-1.3 (24 Jan 2008)
31 +
32 + 24 Jan 2008; William Hubbs <williamh@g.o>
33 + +files/flite-1.3-alsa-support.patch, +files/flite-1.3-shared-libs.patch,
34 + +flite-1.3.ebuild:
35 + Version bump.
36 + The patches for alsa support and shared libraries were retrieved from
37 + http://dialogpalette.sourceforge.net/extras.html.
38
39 11 Jan 2008; Jeroen Roovers <jer@g.o> flite-1.2-r1.ebuild:
40 Stable for HPPA (bug #204504).
41
42
43
44 1.1 app-accessibility/flite/flite-1.3.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/flite-1.3.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/flite-1.3.ebuild?rev=1.1&content-type=text/plain
48
49 Index: flite-1.3.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.3.ebuild,v 1.1 2008/01/24 05:37:31 williamh Exp $
54
55 inherit eutils
56
57 DESCRIPTION="Flite text to speech engine"
58 HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
59 SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.gz"
60
61 LICENSE="BSD as-is"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
64 IUSE="alsa static"
65
66 S=${WORKDIR}/${P}-release
67
68 src_unpack() {
69 unpack ${P}-release.tar.gz
70 if use alsa; then
71 epatch "${FILESDIR}"/${P}-alsa-support.patch
72 fi
73 epatch "${FILESDIR}"/${P}-shared-libs.patch
74 }
75
76 src_compile() {
77 local myconf
78 if ! use static ; then
79 myconf="--enable-shared"
80 fi
81 myconf="${myconf} --with-vox=cmu_us_kal16"
82
83 econf ${myconf} || die "Failed configuration"
84 emake || die "Failed compilation"
85 }
86
87 src_install() {
88 dobin bin/* || die
89 dodoc ACKNOWLEDGEMENTS README
90
91 if use static ; then
92 dolib.a lib/*.a
93 else
94 for lib in lib/*.so*; do
95 if [ -f ${lib} ]; then
96 dolib.so ${lib}
97 lib=`basename ${lib}`
98 majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
99 noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
100
101 dosym ${lib} /usr/lib/${majlib}
102 dosym ${lib} /usr/lib/${noverlib}
103 fi
104 done
105 fi
106
107 insinto /usr/include/flite
108 cd "${S}"/include
109 for file in *.h; do
110 doins ${file}
111 dosed 's:#include "\(.*\)":#include <flite/\1>:g' /usr/include/flite/${file}
112 done
113
114 dosym flite/flite.h /usr/include/flite.h
115 }
116
117
118
119 --
120 gentoo-commits@l.g.o mailing list