diff options
author | William Hubbs <williamh@gentoo.org> | 2008-04-26 05:26:16 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2008-04-26 05:26:16 +0000 |
commit | 75f5adf6e05ac8cda1c5890b27696e59077054c9 (patch) | |
tree | dee36f3d5958bd3c82793a227e0c72711882e82f /app-accessibility | |
parent | whitespace (diff) | |
download | historical-75f5adf6e05ac8cda1c5890b27696e59077054c9.tar.gz historical-75f5adf6e05ac8cda1c5890b27696e59077054c9.tar.bz2 historical-75f5adf6e05ac8cda1c5890b27696e59077054c9.zip |
Rev bump to install the dictsource directory for bug #218597.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/espeak/ChangeLog | 8 | ||||
-rw-r--r-- | app-accessibility/espeak/Manifest | 3 | ||||
-rw-r--r-- | app-accessibility/espeak/espeak-1.37-r1.ebuild | 79 |
3 files changed, 88 insertions, 2 deletions
diff --git a/app-accessibility/espeak/ChangeLog b/app-accessibility/espeak/ChangeLog index 339c7b657ecc..9f3fba0b75aa 100644 --- a/app-accessibility/espeak/ChangeLog +++ b/app-accessibility/espeak/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-accessibility/espeak # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.43 2008/04/20 19:30:49 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.44 2008/04/26 05:26:16 williamh Exp $ + +*espeak-1.37-r1 (26 Apr 2008) + + 26 Apr 2008; William Hubbs <williamh@gentoo.org> +espeak-1.37-r1.ebuild: + Rev bump to install dictsource directory in /usr/share/espeak-data for + #218597. *espeak-1.37 (20 Apr 2008) diff --git a/app-accessibility/espeak/Manifest b/app-accessibility/espeak/Manifest index 06d85a3f6c67..eca0c9519c2e 100644 --- a/app-accessibility/espeak/Manifest +++ b/app-accessibility/espeak/Manifest @@ -5,6 +5,7 @@ DIST espeak-1.37-source.zip 1292986 RMD160 9d73fe3e60c7cae4dbcfd693007bd631e9d9a EBUILD espeak-1.25.ebuild 1438 RMD160 518d275393a41030ad1122e7e60ec6ed43071f40 SHA1 99c12a17a49679bbccff243e2cc682cb21f3c586 SHA256 4148b52d32ce6be315b2e5a9fda2f3d021b150fcf66b0b4c644dcf6e1cd76955 EBUILD espeak-1.36.02.ebuild 1924 RMD160 d25e15d0416dfdfddb320ca9a8f4d785ecac3e9a SHA1 7f1dd65b2c55698f959f61b96b843ffa4c41b8c4 SHA256 ab67daf4a283b90579636fe4411d761668f6f0af679cac0cf1e6629c360d1eb9 EBUILD espeak-1.36.ebuild 1923 RMD160 1a2a85481466938018ef733b90b72c2977da0d09 SHA1 cec9dff73262c7d255172788d22b563badf921d9 SHA256 44ec30de5650aafe56c78e5a17532154536acc42d5d91c8c5c929a30b51afb6c +EBUILD espeak-1.37-r1.ebuild 2078 RMD160 7b1905f2c46f3b019e3fe662cbb599234718c6f3 SHA1 22db809b3c2231787be0f5b29dbfc833ba94915d SHA256 00127a95d4ef7ee43fad44a91e0ecfada45bbf5170ff99f743d0f39e3a322ef2 EBUILD espeak-1.37.ebuild 2022 RMD160 1e9539d7a71061611bdff2023a0e08e72f1e1282 SHA1 1b62f00ac0e8ea7519b308c00eacc70cb917cf72 SHA256 cfce8f61c5c8ca9b9da72a97bcccf8efc1fed5f1ffc9997f0478cac53f95827b -MISC ChangeLog 6859 RMD160 5cc44094d6dec601e23a8ca9889514fc69c93df9 SHA1 9a151091d461c51c68835c887b0caac8f8280c2f SHA256 09fc19a4d8f59f3d96cc6778ed0dd791ed52003d75bfb237e3157eec5d3975cd +MISC ChangeLog 7050 RMD160 d9aa681b4505de4132fccb48da8ef87cde099daf SHA1 87cb5beed8e43b32aff952516a49b13824862f89 SHA256 39e016a66eda0fc1bf73cdd1a48e6db28b01383d95a3c6e5574212e22b31c09b MISC metadata.xml 229 RMD160 7f8d6a0235529eccff705022803122c9534628d7 SHA1 2295356b566d60c8eb979db0e598de9d1d8ccf49 SHA256 b128d301356b3f98f1d6093b4401c36143ff55fc62636612567b0995739b9e66 diff --git a/app-accessibility/espeak/espeak-1.37-r1.ebuild b/app-accessibility/espeak/espeak-1.37-r1.ebuild new file mode 100644 index 000000000000..2f1df16561b9 --- /dev/null +++ b/app-accessibility/espeak/espeak-1.37-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.37-r1.ebuild,v 1.1 2008/04/26 05:26:16 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 ~ppc64 ~sparc ~x86" +IUSE="portaudio pulseaudio" +DEPEND="portaudio? ( >=media-libs/portaudio-18.1-r5 ) + pulseaudio? ( media-sound/pulseaudio ) + app-arch/unzip" + +S=${WORKDIR}/${MY_P} + +get_audio() { + local MY_AUDIO + + MY_AUDIO=none + if use portaudio; then + MY_AUDIO=portaudio + elif use pulseaudio; then + MY_AUDIO=pulseaudio + 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 bbe 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_unpack() { + unpack ${A} + + # portaudio.h is by default the same as portaudio18.h, but use the version + # 19 API if available + if use portaudio; then + if has_version "=media-libs/portaudio-19*" ; then + mv -f "${S}/src/portaudio19.h" "${S}/src/portaudio.h" + fi + 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/* +} |