diff options
author | William Hubbs <williamh@gentoo.org> | 2007-05-19 07:25:11 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2007-05-19 07:25:11 +0000 |
commit | 672dd41ff1c0877b440847511acf066b0dc9ebf8 (patch) | |
tree | 6af7df324bb1571c06f9e91ee112878eca20f721 /app-accessibility/espeak | |
parent | Version bumped. Removed ~ppc and ~sparc for dependency. (diff) | |
download | gentoo-2-672dd41ff1c0877b440847511acf066b0dc9ebf8.tar.gz gentoo-2-672dd41ff1c0877b440847511acf066b0dc9ebf8.tar.bz2 gentoo-2-672dd41ff1c0877b440847511acf066b0dc9ebf8.zip |
Version bump.
(Portage version: 2.1.2.7)
Diffstat (limited to 'app-accessibility/espeak')
-rw-r--r-- | app-accessibility/espeak/ChangeLog | 7 | ||||
-rw-r--r-- | app-accessibility/espeak/espeak-1.25.ebuild | 61 | ||||
-rw-r--r-- | app-accessibility/espeak/files/digest-espeak-1.25 | 3 |
3 files changed, 70 insertions, 1 deletions
diff --git a/app-accessibility/espeak/ChangeLog b/app-accessibility/espeak/ChangeLog index 8b2536f0edee..00904a111329 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.13 2007/05/06 17:40:43 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.14 2007/05/19 07:25:11 williamh Exp $ + +*espeak-1.25 (19 May 2007) + + 19 May 2007; William Hubbs <williamh@gentoo.org> +espeak-1.25.ebuild: + Version bump. 06 May 2007; Tobias Scherbaum <dertobi123@gentoo.org> espeak-1.22.ebuild: Added ~ppc, bug #163285 diff --git a/app-accessibility/espeak/espeak-1.25.ebuild b/app-accessibility/espeak/espeak-1.25.ebuild new file mode 100644 index 000000000000..715254f7bbe7 --- /dev/null +++ b/app-accessibility/espeak/espeak-1.25.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.25.ebuild,v 1.1 2007/05/19 07:25:11 williamh Exp $ + +inherit eutils + +MY_P="${P}-source" + +DESCRIPTION="Speech synthesizer for English and other languages" +HOMEPAGE="http://espeak.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~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 +} + +src_compile() { + cd ${S}/src + emake CXXFLAGS="${CXXFLAGS}" || die "Compilation failed" + + einfo "Fixing byte order of phoneme data files" + cd ${S}/big_endian + make + ./espeak-phoneme-data "${S}/espeak-data" + cp -f phondata phonindex phontab "${S}/espeak-data" + + einfo "Compiling dict files" + cd "${S}/dictsource" + export HOME="${S}" + local lang + for l in *_rules; do + lang=${l/_rules/} + ${S}/src/speak --compile=$lang + done +} + +src_install() { + cd ${S}/src + make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "Installation failed" + + cd "${S}" + dodoc ChangeLog ReadMe + dohtml -r docs/* +} diff --git a/app-accessibility/espeak/files/digest-espeak-1.25 b/app-accessibility/espeak/files/digest-espeak-1.25 new file mode 100644 index 000000000000..9a396c5512d3 --- /dev/null +++ b/app-accessibility/espeak/files/digest-espeak-1.25 @@ -0,0 +1,3 @@ +MD5 2ab4a6c93ab27bb0f568f45e16c6645a espeak-1.25-source.zip 912952 +RMD160 68c06d6ca30b3bf3c5b865151b1c3d720c9a5626 espeak-1.25-source.zip 912952 +SHA256 981ccad8255677aa6858d7b206cebed183c9d4586ed886da707259e5b379e302 espeak-1.25-source.zip 912952 |