# 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.10 2007/02/25 05:40:34 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.11 2007/04/20 03:54:52 leonardop Exp $
+
+*espeak-1.22 (20 Apr 2007)
+
+ 20 Apr 2007; Leonardo Boshell <leonardop@gentoo.org>
+ +files/espeak-1.22-makefile.patch, +espeak-1.22.ebuild:
+ New release. Integrated new logic to fix the byte order and compile the
+ necessary binary files in big-endian machines, as described in bug #163285.
*espeak-1.20-r1 (25 Feb 2007)
MD5 0ba2b29ae1337deecaa5d0ef9473b27b files/espeak-1.20-ppc64-segfault.patch 354
RMD160 b29461b997a41043f2b28a8e48fa0ee8d5a316be files/espeak-1.20-ppc64-segfault.patch 354
SHA256 c1e876365013fcf8ab67e8ed8c0a84e05e700345ab0d4d48c7ee7f34858e057f files/espeak-1.20-ppc64-segfault.patch 354
+AUX espeak-1.22-makefile.patch 463 RMD160 83ce4fcfe3d5bba083481d4c73dc7793779d57aa SHA1 4c1e3cd20d44921d694becc78324e708cc712ef7 SHA256 f6ecd6298e5e6a8228dd60170e45f27b6877bb9823e032c31a21a77471f547cc
+MD5 ebe5c5f7a31e5b55de32409d25543aae files/espeak-1.22-makefile.patch 463
+RMD160 83ce4fcfe3d5bba083481d4c73dc7793779d57aa files/espeak-1.22-makefile.patch 463
+SHA256 f6ecd6298e5e6a8228dd60170e45f27b6877bb9823e032c31a21a77471f547cc files/espeak-1.22-makefile.patch 463
DIST espeak-1.19-source.zip 669628 RMD160 a544181d60561e9f2ed8948b31e47b733562e121 SHA1 0f5ed89c99acadd04f664819f986f04b734f0e47 SHA256 32ded8994f317b9f5f12a2ee5fff621acc4770d5906aaccde6d6d97b06568c79
DIST espeak-1.20-source.zip 669313 RMD160 233f896de684a743313f70e0d953f90a29f76119 SHA1 a3bd1e3873b53ba8b060330b3cc6898b77f25dc2 SHA256 36933cb231081a4ce1053daf9cfc7a43767aeac2e278760e96888550446d2dc9
+DIST espeak-1.22-source.zip 835112 RMD160 86dbcba4e5eaab56820ad51cd9b2ee6909af3e82 SHA1 c477a9dc8fc70970925130c9c93c1af82bd7cf92 SHA256 3de077fc0397d8b63488a6c7cdb53aafb7808b4446fc5f9f3dd3cb5abc83151e
+DIST espeak-utils-1.22.tar.bz2 8226 RMD160 a4725e2172fa5ef730b34277bec5b2adf51091cc SHA1 b94e627bf0d8eb8ead739b6798180e030bcf50f4 SHA256 227083ed33a42803b01ff0e2383204f9f063eededf3bfdb859970e4852942299
EBUILD espeak-1.19.ebuild 1206 RMD160 4df2dfe539a0741d0224e377c4732c732419b779 SHA1 d179bc67f7f4f7d3baea82ceecdf7c43a7ef2b33 SHA256 35e0a0d5f5882064345d1de4291dac6ba589a4da5390cf6cc4898eb17bc9539d
MD5 0fbb7c85293d8dedd49d366209a63cdd espeak-1.19.ebuild 1206
RMD160 4df2dfe539a0741d0224e377c4732c732419b779 espeak-1.19.ebuild 1206
MD5 a596d0b512a76f27e3c55ce1eba5ce3c espeak-1.20-r1.ebuild 1239
RMD160 39216046fe5573252bbb34b26776277b4dd073ec espeak-1.20-r1.ebuild 1239
SHA256 965804123dcebab16d6bda6e9c6b1d33f26add7f8fdf53703d9df7e1b0ef59df espeak-1.20-r1.ebuild 1239
-MISC ChangeLog 2000 RMD160 939ea379d71751756bfdc28306c3bfee07d1a3ae SHA1 f2d1a002b9817866be4082f35b20aa1d8dd29a9b SHA256 567751e0007c7d9d9cfd7fc15b7be08829ca262feb6558aea3f325fa8ed34ee1
-MD5 c5938301b35fed6fd440c2bf759382a8 ChangeLog 2000
-RMD160 939ea379d71751756bfdc28306c3bfee07d1a3ae ChangeLog 2000
-SHA256 567751e0007c7d9d9cfd7fc15b7be08829ca262feb6558aea3f325fa8ed34ee1 ChangeLog 2000
+EBUILD espeak-1.22.ebuild 1721 RMD160 b7aeb622ad4ce50b77a1e9d015b761d571566021 SHA1 dee8c23c153f964d0d1f65f7aa276c199e805508 SHA256 7a5e742de76d5e88f157e3c9f1992a4a9c3106a72b792dab3750e37423493891
+MD5 2ebeebe9792359dc852c88be86e17137 espeak-1.22.ebuild 1721
+RMD160 b7aeb622ad4ce50b77a1e9d015b761d571566021 espeak-1.22.ebuild 1721
+SHA256 7a5e742de76d5e88f157e3c9f1992a4a9c3106a72b792dab3750e37423493891 espeak-1.22.ebuild 1721
+MISC ChangeLog 2295 RMD160 b4153f4164ea8df40031bccbf1b5802820e93d77 SHA1 0c5bd8f35f624d27908cf72c75f02cec6b5e5d72 SHA256 5042291f73eddc61bcf87a45ca2d538a7d9a248928c61f85342f5a0e348a5f95
+MD5 6b30df81b65212ae1a5b174f119ba336 ChangeLog 2295
+RMD160 b4153f4164ea8df40031bccbf1b5802820e93d77 ChangeLog 2295
+SHA256 5042291f73eddc61bcf87a45ca2d538a7d9a248928c61f85342f5a0e348a5f95 ChangeLog 2295
MISC metadata.xml 229 RMD160 7f8d6a0235529eccff705022803122c9534628d7 SHA1 2295356b566d60c8eb979db0e598de9d1d8ccf49 SHA256 b128d301356b3f98f1d6093b4401c36143ff55fc62636612567b0995739b9e66
MD5 82235b237bf37d432e6987e3be2235d1 metadata.xml 229
RMD160 7f8d6a0235529eccff705022803122c9534628d7 metadata.xml 229
MD5 563f4524e3e7154db6950b44521c4ba2 files/digest-espeak-1.20-r1 247
RMD160 9250684cc44873d019f51a8057ab4a1119ed2984 files/digest-espeak-1.20-r1 247
SHA256 c57e200f10255ba365d3aec1ea28007f7ff824570c3e64a02dfed76355fc162b files/digest-espeak-1.20-r1 247
+MD5 c403753b0ceacfb039c8429f0b0f61d3 files/digest-espeak-1.22 497
+RMD160 8c70c46d2e5fd061cc674d45ce0ae27f2b7e9ccb files/digest-espeak-1.22 497
+SHA256 2dc563b1ce12fd10cba8fbe03246f9a75eaddc6f01404aa4750515bb9add6beb files/digest-espeak-1.22 497
--- /dev/null
+# 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.22.ebuild,v 1.1 2007/04/20 03:54:52 leonardop 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
+ mirror://gentoo/${PN}-utils-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~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
+
+ # Apply patch to support big-endian processors
+ epatch "${FILESDIR}/${PN}-1.20-big-endian.patch"
+
+ # Apply patch for ppc64 segfault
+ epatch "${FILESDIR}/${PN}-1.20-ppc64-segfault.patch"
+
+ # Let's not fail in make install
+ epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+src_compile() {
+ cd src
+ emake CXXFLAGS="${CXXFLAGS}" || die "Compilation failed"
+
+ einfo "Fixing byte order of phoneme data files"
+ cd "${WORKDIR}/${PN}-utils-${PV}"
+ 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/}
+ ../src/speak --compile=$lang
+ done
+}
+
+src_install() {
+ cd src
+ make DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die "Installation failed"
+
+ cd "${S}"
+ dodoc ChangeLog ReadMe
+ dohtml -r docs/*
+}
--- /dev/null
+MD5 57e84d1afc0992f65c568dcddea73fee espeak-1.22-source.zip 835112
+RMD160 86dbcba4e5eaab56820ad51cd9b2ee6909af3e82 espeak-1.22-source.zip 835112
+SHA256 3de077fc0397d8b63488a6c7cdb53aafb7808b4446fc5f9f3dd3cb5abc83151e espeak-1.22-source.zip 835112
+MD5 221a8fe899afb522b343fbbc5198f584 espeak-utils-1.22.tar.bz2 8226
+RMD160 a4725e2172fa5ef730b34277bec5b2adf51091cc espeak-utils-1.22.tar.bz2 8226
+SHA256 227083ed33a42803b01ff0e2383204f9f063eededf3bfdb859970e4852942299 espeak-utils-1.22.tar.bz2 8226
--- /dev/null
+diff -NrudpB espeak-1.22-source/src/Makefile espeak-1.22-source-patched/src/Makefile
+--- espeak-1.22-source/src/Makefile 2007-04-04 07:39:47.000000000 -0500
++++ espeak-1.22-source-patched/src/Makefile 2007-04-19 21:57:19.000000000 -0500
+@@ -75,7 +75,7 @@ distclean: clean
+
+ install: all
+ # Create directories
+- rm -r $(DESTDIR)$(DATADIR)
++ rm -rf $(DESTDIR)$(DATADIR)
+ $(MKDIR) $(DESTDIR)$(BINDIR)
+ $(MKDIR) $(DESTDIR)$(LIBDIR)
+ $(MKDIR) $(DESTDIR)$(INCDIR)