diff options
author | William Hubbs <williamh@gentoo.org> | 2007-07-20 13:21:27 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2007-07-20 13:21:27 +0000 |
commit | b482fe53ada4ce60d313b1f23fd845eccc947134 (patch) | |
tree | 0ad4ec7dee173dedc11ce691df3f103f799399e4 /app-accessibility | |
parent | Stable on sparc wrt security #185497 (diff) | |
download | gentoo-2-b482fe53ada4ce60d313b1f23fd845eccc947134.tar.gz gentoo-2-b482fe53ada4ce60d313b1f23fd845eccc947134.tar.bz2 gentoo-2-b482fe53ada4ce60d313b1f23fd845eccc947134.zip |
Version bump.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/espeak/ChangeLog | 7 | ||||
-rw-r--r-- | app-accessibility/espeak/espeak-1.28.ebuild | 61 | ||||
-rw-r--r-- | app-accessibility/espeak/files/digest-espeak-1.28 | 3 |
3 files changed, 70 insertions, 1 deletions
diff --git a/app-accessibility/espeak/ChangeLog b/app-accessibility/espeak/ChangeLog index 28c0048e090f..18eee33c26b3 100644 --- a/app-accessibility/espeak/ChangeLog +++ b/app-accessibility/espeak/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-accessibility/espeak # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.21 2007/07/04 20:19:52 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.22 2007/07/20 13:21:27 williamh Exp $ + +*espeak-1.28 (19 Jul 2007) + + 19 Jul 2007; William Hubbs <williamh@gentoo.org> +espeak-1.28.ebuild: + Version bump. *espeak-1.27 (04 Jul 2007) diff --git a/app-accessibility/espeak/espeak-1.28.ebuild b/app-accessibility/espeak/espeak-1.28.ebuild new file mode 100644 index 000000000000..e7c258c9ab9e --- /dev/null +++ b/app-accessibility/espeak/espeak-1.28.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.28.ebuild,v 1.1 2007/07/20 13:21:27 williamh Exp $ + +inherit eutils + +MY_P="${P}-source" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" +DESCRIPTION="Speech synthesizer for English and other languages" +HOMEPAGE="http://espeak.sourceforge.net/" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" +DEPEND=">=media-libs/portaudio-18.1-r5 + app-arch/unzip" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + # portaudio.h is by default the same as portaudio18.h, but use the version + # 19 API if available + if has_version "=media-libs/portaudio-19*" ; then + mv -f "${S}/src/portaudio19.h" "${S}/src/portaudio.h" + fi + + # Add a patch for a segfault on ppc64. +# epatch ${FILESDIR}/${P}-ppc64-segfault.patch +} + +src_compile() { + cd src + emake CXXFLAGS="${CXXFLAGS}" || die "Compilation failed" + + einfo "Fixing byte order of phoneme data files" + cd ../big_endian + make + ./espeak-phoneme-data "${S}/espeak-data" + cp -f phondata phonindex phontab "${S}/espeak-data" + + einfo "Compiling dict files" + cd ../dictsource + export HOME="${S}" + local lang + for l in *_rules; do + lang=${l/_rules/} + ${S}/src/speak --compile=$lang + done +} + +src_install() { + cd src + make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "Installation failed" + + cd .. + dodoc ChangeLog ReadMe + dohtml -r docs/* +} diff --git a/app-accessibility/espeak/files/digest-espeak-1.28 b/app-accessibility/espeak/files/digest-espeak-1.28 new file mode 100644 index 000000000000..917cf929797e --- /dev/null +++ b/app-accessibility/espeak/files/digest-espeak-1.28 @@ -0,0 +1,3 @@ +MD5 6eb2ee58909d2819550b1d016f30da74 espeak-1.28-source.zip 1054248 +RMD160 e48f57daca3710326b0918c3adf6cc444830c7fc espeak-1.28-source.zip 1054248 +SHA256 94ef096b577e69c70e2852c3312ba8f53800940853a14af5e74387c4455ae867 espeak-1.28-source.zip 1054248 |