summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2009-12-14 15:57:42 +0000
committerWilliam Hubbs <williamh@gentoo.org>2009-12-14 15:57:42 +0000
commit75636f780f9bcae82b96883f3e74c9eef07c6dcf (patch)
tree666dc5f5c8ff9545327f3c5d00c1e39706224e39 /app-accessibility
parentVersion bump. Cleanup (diff)
downloadhistorical-75636f780f9bcae82b96883f3e74c9eef07c6dcf.tar.gz
historical-75636f780f9bcae82b96883f3e74c9eef07c6dcf.tar.bz2
historical-75636f780f9bcae82b96883f3e74c9eef07c6dcf.zip
version bump
Package-Manager: portage-2.2_rc59/cvs/Linux i686
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/espeak/ChangeLog7
-rw-r--r--app-accessibility/espeak/Manifest14
-rw-r--r--app-accessibility/espeak/espeak-1.42.04.ebuild79
3 files changed, 88 insertions, 12 deletions
diff --git a/app-accessibility/espeak/ChangeLog b/app-accessibility/espeak/ChangeLog
index ba9a8c62a385..2e7aa75dbcdb 100644
--- a/app-accessibility/espeak/ChangeLog
+++ b/app-accessibility/espeak/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-accessibility/espeak
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.78 2009/11/01 18:49:54 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.79 2009/12/14 15:57:42 williamh Exp $
+
+*espeak-1.42.04 (14 Dec 2009)
+
+ 14 Dec 2009; William Hubbs <williamh@gentoo.org> +espeak-1.42.04.ebuild:
+ version bump
*espeak-1.41.01 (07 Oct 2009)
diff --git a/app-accessibility/espeak/Manifest b/app-accessibility/espeak/Manifest
index b70fe23512d2..832afed93382 100644
--- a/app-accessibility/espeak/Manifest
+++ b/app-accessibility/espeak/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST espeak-1.40.02-source.zip 1400971 RMD160 caca57d5a6b5165d5b7edbb9c465cb37bc4ec3ec SHA1 de75304b0b58a18669bd05b3fa89573dc4787085 SHA256 b55e323a52be38337f8d5f219fd8878fc7b62b9e25d8cc15685e5f815bf6519e
DIST espeak-1.41.01-source.zip 1476908 RMD160 bb95144e78c57aa4607be927ea6832802966c2bb SHA1 458bf2f94d598b10ca5d4b9e6855d789e4557f2d SHA256 1c89178b8021f77352eb482e93f2545044c7010ec5c1f902fbdee899bfde01a2
+DIST espeak-1.42.04-source.zip 1537076 RMD160 1b0747501d81acf48241dc6b0da7fb555a1e3927 SHA1 fe3c0e20b994d2332d8841f61ccc2ae016a836b0 SHA256 3791bb853e9283950d58c02396b3b9b1313adf27c0004bcd1e0cdaf87a683eeb
EBUILD espeak-1.40.02.ebuild 2093 RMD160 bb84e442ed62e52e0805c072f3fcb4da2c97a81e SHA1 175da242ed6f6770c8f865314acbc2d6a2afb95e SHA256 15bbee28438b9269fde06627f7fe282a7706c7235fa873e4b517ed3f711e3220
EBUILD espeak-1.41.01.ebuild 1962 RMD160 a482cd702826f0de9a37c10e8206ca9425ee9eb2 SHA1 f9e1bd5828c674874a2599d32f3d34a856ec6970 SHA256 06663502e4153f3e5199eefcb202e45321d8dd9912fb5dfe65e6fcec3f7ee923
-MISC ChangeLog 10480 RMD160 fd787c2286484492822037521dcb09b29ce53466 SHA1 f86fd5eec953edd682863a67de266d60de61e3e2 SHA256 c5f07caeb390a29d35198b77316096d63ebe1c24a98fb8a97df5e95bf128963e
+EBUILD espeak-1.42.04.ebuild 1974 RMD160 ae3d442b3a699d5b768a655ed08983543a1439ba SHA1 68691fc59dd7119af276bb14a5c27be57d44dc92 SHA256 f1576744a8cc4fc8830cd872a49940e1c1f06252b029d6e226d381d658893fc9
+MISC ChangeLog 10607 RMD160 cad4521a2b5d40f9361447e80915e8ebea611b00 SHA1 bc36ab83e1522c108b1ca62bde3d9255f6a642ab SHA256 d45ced794b0e82026151a91a704b8d486ce3834ffa9fc2887ae65048ab20ee7f
MISC metadata.xml 229 RMD160 7f8d6a0235529eccff705022803122c9534628d7 SHA1 2295356b566d60c8eb979db0e598de9d1d8ccf49 SHA256 b128d301356b3f98f1d6093b4401c36143ff55fc62636612567b0995739b9e66
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
-
-iEYEARECAAYFAkrt9zoACgkQCRZPokWLroR7UgCfXcla3bGJx78IgqYG9X1rDBGh
-geQAoKv8BWtFfhgu+YpJcftjYmIQ1AKE
-=5uwB
------END PGP SIGNATURE-----
diff --git a/app-accessibility/espeak/espeak-1.42.04.ebuild b/app-accessibility/espeak/espeak-1.42.04.ebuild
new file mode 100644
index 000000000000..4ae940479aca
--- /dev/null
+++ b/app-accessibility/espeak/espeak-1.42.04.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.42.04.ebuild,v 1.1 2009/12/14 15:57:42 williamh Exp $
+
+EAPI="2"
+
+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 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="portaudio pulseaudio"
+RDEPEND="portaudio? ( >=media-libs/portaudio-19_pre20071207 )
+ pulseaudio? ( media-sound/pulseaudio )"
+ DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}
+
+get_audio() {
+ local MY_AUDIO
+
+ if use portaudio; then
+ MY_AUDIO=portaudio
+ elif use pulseaudio; then
+ MY_AUDIO=pulseaudio
+ else
+ MY_AUDIO=none
+ fi
+ echo ${MY_AUDIO}
+}
+
+pkg_setup() {
+ if ! use portaudio && ! use pulseaudio; then
+ ewarn
+ ewarn Since portaudio and pulseaudio are not in your use flags,
+ ewarn espeak will only be able to create wav files.
+ ewarn If this is not what you want, press ctrl-c and put either
+ ewarn portaudio or pulseaudio in your use flags.
+ ebeep
+ epause 10
+ elif use portaudio && use pulseaudio; then
+ die "You must choose either portaudio or pulseaudio, but not both."
+ fi
+}
+
+src_prepare() {
+ cd src
+ # gentoo uses portaudio 19.
+ if use portaudio; then
+ mv -f portaudio19.h portaudio.h
+ fi
+}
+
+src_compile() {
+ cd src
+ emake AUDIO="$(get_audio)" CXXFLAGS="${CXXFLAGS}" all || die "Compilation failed"
+
+ einfo "Fixing byte order of phoneme data files"
+ cd "${S}/platforms/big_endian"
+ make
+ ./espeak-phoneme-data "${S}/espeak-data"
+ cp -f phondata phonindex phontab "${S}/espeak-data"
+}
+
+src_install() {
+ cd src
+ make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" AUDIO="$(get_audio)" install || die "Installation failed"
+
+ cd ..
+ insinto /usr/share/espeak-data
+ doins -r dictsource
+ dodoc ChangeLog ReadMe
+ dohtml -r docs/*
+}