diff options
author | William Hubbs <williamh@gentoo.org> | 2007-08-28 04:59:24 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2007-08-28 04:59:24 +0000 |
commit | 2a59e44b82f59963b8758d1ac5cb95e4ad7094e3 (patch) | |
tree | 0aedc57d97b58d508d4698b5082e1119fc58e72c /app-accessibility/speech-tools | |
parent | Stable for HPPA (bug #190019). (diff) | |
download | gentoo-2-2a59e44b82f59963b8758d1ac5cb95e4ad7094e3.tar.gz gentoo-2-2a59e44b82f59963b8758d1ac5cb95e4ad7094e3.tar.bz2 gentoo-2-2a59e44b82f59963b8758d1ac5cb95e4ad7094e3.zip |
Version bump.
(Portage version: 2.1.3.7)
Diffstat (limited to 'app-accessibility/speech-tools')
3 files changed, 103 insertions, 1 deletions
diff --git a/app-accessibility/speech-tools/ChangeLog b/app-accessibility/speech-tools/ChangeLog index 2483aba61c14..0490d80de214 100644 --- a/app-accessibility/speech-tools/ChangeLog +++ b/app-accessibility/speech-tools/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-accessibility/speech-tools # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.48 2007/04/11 19:37:15 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.49 2007/08/28 04:59:24 williamh Exp $ + +*speech-tools-1.2.96_beta (28 Aug 2007) + + 28 Aug 2007; William Hubbs <williamh@gentoo.org> + +speech-tools-1.2.96_beta.ebuild: + Version bump #188820. + Also, I have been able to re-instate festival's dependency on this package for + this version. 11 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> speech-tools-1.2.3-r2.ebuild: diff --git a/app-accessibility/speech-tools/files/digest-speech-tools-1.2.96_beta b/app-accessibility/speech-tools/files/digest-speech-tools-1.2.96_beta new file mode 100644 index 000000000000..c82911afabd9 --- /dev/null +++ b/app-accessibility/speech-tools/files/digest-speech-tools-1.2.96_beta @@ -0,0 +1,3 @@ +MD5 887e0c7586facb97cfc0114a105763b2 speech_tools-1.2.96-beta.tar.gz 1275015 +RMD160 3d2acc841a8b14e0bff66c9bb08293206f501a7a speech_tools-1.2.96-beta.tar.gz 1275015 +SHA256 fa1ce5698e1253ee21e67629f394733ef6ad578af671e3a90ea8b73898a12428 speech_tools-1.2.96-beta.tar.gz 1275015 diff --git a/app-accessibility/speech-tools/speech-tools-1.2.96_beta.ebuild b/app-accessibility/speech-tools/speech-tools-1.2.96_beta.ebuild new file mode 100644 index 000000000000..02fe20eefa97 --- /dev/null +++ b/app-accessibility/speech-tools/speech-tools-1.2.96_beta.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-1.2.96_beta.ebuild,v 1.1 2007/08/28 04:59:24 williamh Exp $ + + +inherit eutils toolchain-funcs + +MY_P=${P/speech-/speech_} +MY_P=${MY_P/_beta/-beta} + +DESCRIPTION="Speech tools for Festival Text to Speech engine" +HOMEPAGE="http://www.cstr.ed.ac.uk/" +SRC_URI="http://www.festvox.org/packed/festival/latest/${MY_P}.tar.gz" +LICENSE="FESTIVAL BSD as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="esd nas X" + +DEPEND="esd? ( media-sound/esound ) + nas? ( media-libs/nas ) + X? ( x11-libs/libX11 + x11-libs/libXt ) + !<=app-accessibility/festival-1.96_beta" + +S="${WORKDIR}/speech_tools" + +src_unpack() { + local CONFIG=${S}/config/config.in + + unpack ${A} + +# set compiler flags for base_class + sed -i -e "s:-O3:\$(OPTIMISE_CXXFLAGS):" ${S}/base_class/Makefile + + # enable building shared libraries + sed -i -e "s/#.*\(SHARED=2\)/\1/" ${CONFIG} + + use esd && sed -i -e "s/#.*\(INCLUDE_MODULES += ESD_AUDIO\)/\1/" ${CONFIG} + use nas && sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG} + use X || sed -i -e "s/-lX11 -lXt//" ${S}/config/modules/esd_audio.mak +} + +src_compile() { + econf || die + emake -j1 OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die +} + +src_install() { + dolib.so lib/libest*.so.1* + dosym libestbase.so.1.2.96.1 /usr/$(get_libdir)/libestbase.so + dosym libestools.so.1.2.96.1 /usr/$(get_libdir)/libestools.so + dosym libeststring.so.1.2 /usr/$(get_libdir)/libeststring.so + dolib.a lib/{libestbase.a,libestools.a,libeststring.a} + + cd bin + for file in *; do + [ "${file}" = "Makefile" ] && continue + dobin ${file} + dstfile="/usr/bin/${file}" + dosed "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile} + dosed "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" ${dstfile} + dosed "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile} + + # This just changes LD_LIBRARY_PATH + dosed "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} + done + + cd ${S} + exeinto /usr/$(get_libdir)/speech-tools + for file in `find main -perm +100 -type f`; do + doexe ${file} + done + + insinto /usr/share/speech-tools + doins -r config + + insinto /usr/share/speech-tools/lib + doins -r lib/siod + + insinto /usr/share/doc/${PF} + doins -r lib/example_data + + cd include + insinto /usr/include/speech-tools + doins -r * + dosym /usr/include/speech-tools /usr/share/speech-tools/include + cd ${S} + + dodoc ${S}/README + dodoc ${S}/lib/cstrutt.dtd +} |