1 |
neurogeek 10/06/30 14:40:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: speech-tools-2.0.95_beta.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.68 app-accessibility/speech-tools/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-tools/ChangeLog?rev=1.68&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-tools/ChangeLog?rev=1.68&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-tools/ChangeLog?r1=1.67&r2=1.68 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v |
19 |
retrieving revision 1.67 |
20 |
retrieving revision 1.68 |
21 |
diff -u -r1.67 -r1.68 |
22 |
--- ChangeLog 19 May 2010 16:20:50 -0000 1.67 |
23 |
+++ ChangeLog 30 Jun 2010 14:40:52 -0000 1.68 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-accessibility/speech-tools |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.67 2010/05/19 16:20:50 neurogeek Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.68 2010/06/30 14:40:52 neurogeek Exp $ |
29 |
+ |
30 |
+*speech-tools-2.0.95_beta (30 Jun 2010) |
31 |
+ |
32 |
+ 30 Jun 2010; Jesus Rivero <neurogeek@g.o> |
33 |
+ +speech-tools-2.0.95_beta.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
19 May 2010; Jesus Rivero <neurogeek@g.o> |
37 |
speech-tools-1.2.96_beta-r2.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-accessibility/speech-tools/speech-tools-2.0.95_beta.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-tools/speech-tools-2.0.95_beta.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-tools/speech-tools-2.0.95_beta.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: speech-tools-2.0.95_beta.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-2.0.95_beta.ebuild,v 1.1 2010/06/30 14:40:52 neurogeek Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils flag-o-matic toolchain-funcs |
55 |
|
56 |
MY_P=${P/speech-/speech_} |
57 |
MY_P=${MY_P/_beta/-beta} |
58 |
|
59 |
DESCRIPTION="Speech tools for Festival Text to Speech engine" |
60 |
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/" |
61 |
SRC_URI="http://www.festvox.org/packed/festival/${PV%_beta}/${MY_P}.tar.gz |
62 |
mirror://gentoo/${MY_P}-patches.tar.gz" |
63 |
LICENSE="FESTIVAL BSD as-is" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 |
IUSE="esd nas X" |
67 |
|
68 |
DEPEND="esd? ( media-sound/esound ) |
69 |
nas? ( media-libs/nas ) |
70 |
X? ( x11-libs/libX11 |
71 |
x11-libs/libXt ) |
72 |
!<app-accessibility/festival-1.96_beta |
73 |
!sys-power/powerman" |
74 |
|
75 |
S="${WORKDIR}/speech_tools" |
76 |
|
77 |
src_prepare() { |
78 |
EPATCH_SUFFIX="patch" |
79 |
epatch |
80 |
sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' main/siod_main.cc |
81 |
} |
82 |
|
83 |
src_configure() { |
84 |
local CONFIG=config/config.in |
85 |
sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG} |
86 |
if use esd; then |
87 |
sed -i -e "s/#.*\(INCLUDE_MODULES += ESD_AUDIO\)/\1/" ${CONFIG} |
88 |
fi |
89 |
if use nas; then |
90 |
sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG} |
91 |
fi |
92 |
if [ ! use X ]; then |
93 |
sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak |
94 |
fi |
95 |
append-ldflags -Wl,--no-as-needed |
96 |
econf || die |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
#emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CC_OTHER_FLAGS="${CFLAGS}" \ |
101 |
# OPTIMISE_LINKFLAGS="${LDFLAGS}" || die "Compile failed" |
102 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CC_OTHER_FLAGS="${CFLAGS}" \ |
103 |
OPTIMISE_LINKFLAGS="${LDFLAGS}" || die "Compile failed" |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
dolib.so lib/libest*.so* |
108 |
|
109 |
dodoc "${S}"/README |
110 |
dodoc "${S}"/lib/cstrutt.dtd |
111 |
|
112 |
insinto /usr/share/doc/${PF} |
113 |
doins -r lib/example_data |
114 |
|
115 |
insinto /usr/share/speech-tools |
116 |
doins -r config base_class |
117 |
|
118 |
insinto /usr/share/speech-tools/lib |
119 |
doins -r lib/siod |
120 |
|
121 |
cd include |
122 |
insinto /usr/include/speech-tools |
123 |
doins -r * |
124 |
dosym /usr/include/speech-tools /usr/share/speech-tools/include |
125 |
|
126 |
cd ../bin |
127 |
for file in *; do |
128 |
[ "${file}" = "Makefile" ] && continue |
129 |
dobin ${file} |
130 |
dstfile="${D}/usr/bin/${file}" |
131 |
sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile} |
132 |
sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" ${dstfile} |
133 |
sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile} |
134 |
|
135 |
# This just changes LD_LIBRARY_PATH |
136 |
sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} |
137 |
done |
138 |
|
139 |
cd "${S}" |
140 |
exeinto /usr/$(get_libdir)/speech-tools |
141 |
for file in `find main -perm +100 -type f`; do |
142 |
doexe ${file} |
143 |
done |
144 |
|
145 |
#Rename to avoid file collisions. See bug #287983 |
146 |
mv "${D}/usr/bin/dp" "${D}/usr/bin/speech-dp" |
147 |
#Remove /usr/bin/resynth as it is broken. See bug #253556 |
148 |
rm "${D}/usr/bin/resynth" |
149 |
} |
150 |
|
151 |
pkg_postinst() { |
152 |
elog "The /usr/bin/dp wrapper script has been renamed to /usr/bin/speech-dp" |
153 |
elog "due to file collision with other programs." |
154 |
elog "See bug #287983 for more details" |
155 |
|
156 |
elog "The /usr/bin/resynth program has been removed since it is broken" |
157 |
elog "See bug #253556 for more details" |
158 |
} |