# ChangeLog for app-accessibility/freetts
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/freetts/ChangeLog,v 1.23 2007/02/18 18:06:34 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/freetts/ChangeLog,v 1.24 2007/04/10 15:28:38 betelgeuse Exp $
+
+*freetts-1.2.1-r1 (10 Apr 2007)
+
+ 10 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +freetts-1.2.1-r1.ebuild:
+ Migrate to generation 2 and make jsapi options with the jsapi use flag
+ because it's a binary blob.
18 Feb 2007; Markus Rothe <corsair@gentoo.org> freetts-1.2.1.ebuild:
Stable on ppc64
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX jsapi-gentoo.diff 10444 RMD160 4cf8848814b9364d59c1d9949a5c9a292e3c7445 SHA1 311bec5e204e224a883900bfda4b3d0f8719eb8d SHA256 18b37ac9b844edd9de353992551e897ffa81fd3456bb42802967a1d422210280
MD5 7636ad68d9f8c572439c1beda2e3551b files/jsapi-gentoo.diff 10444
RMD160 4cf8848814b9364d59c1d9949a5c9a292e3c7445 files/jsapi-gentoo.diff 10444
SHA256 18b37ac9b844edd9de353992551e897ffa81fd3456bb42802967a1d422210280 files/jsapi-gentoo.diff 10444
DIST freetts-1.2-src.zip 14096993 RMD160 5f9f44e2dd4892739e86a783880175fc384d5378 SHA1 3d0ede9b1b27bdc1464c63abc4ad56bad0513ec7 SHA256 55cb6108fb9943a871d1376cea00fb2cf759d702753adf03e1beae36138540e9
DIST freetts-1.2.1-src.zip 14100414 RMD160 be2bff99b950268eb826a35dd3b508299e60f59b SHA1 e6369ad7d971a0900998061d635d5b17b882b144 SHA256 e21421f3b6bd4364f4310e273128f20b63a6b885e8f17d9a441df20d4c455280
+EBUILD freetts-1.2.1-r1.ebuild 1669 RMD160 f9156f70dfa1d039c4d1454652a160a44a6d6888 SHA1 b5da2d32050694282f24fbf2682ddd0c1907ef8a SHA256 306e4d663a582008a3ed4fcc7d8078cc7fab9fabcbb2c9caac4f7d142977641a
+MD5 93a173364cdf238aa7c0b6744510bb0b freetts-1.2.1-r1.ebuild 1669
+RMD160 f9156f70dfa1d039c4d1454652a160a44a6d6888 freetts-1.2.1-r1.ebuild 1669
+SHA256 306e4d663a582008a3ed4fcc7d8078cc7fab9fabcbb2c9caac4f7d142977641a freetts-1.2.1-r1.ebuild 1669
EBUILD freetts-1.2.1.ebuild 1665 RMD160 1dd902d4ac13f2c44981388b86059790e2b94f0c SHA1 47661e52902c90e9100c3e5250de47ee267b0525 SHA256 991801e09a53dbe768bb4840ce60f9b79ffabb949cbb7c4cdfb277522ad65403
MD5 e4d2a1b6fe4e499752770b8525d18f23 freetts-1.2.1.ebuild 1665
RMD160 1dd902d4ac13f2c44981388b86059790e2b94f0c freetts-1.2.1.ebuild 1665
MD5 9323c9341851f1e5ad449e01ef2b9a07 freetts-1.2.ebuild 1632
RMD160 fad86f59f61b627ba2c6df53836dcf546f6f9beb freetts-1.2.ebuild 1632
SHA256 5e894a695a6dc7c8210fcb00c9b98d69676c9234355754ce2e37b6bc834d6929 freetts-1.2.ebuild 1632
-MISC ChangeLog 2755 RMD160 4b26f22d33543d0e03a53103be6e3a215320d8fa SHA1 5bf73a89276832ac8965b6bbc849309f038042a7 SHA256 2cac26abfd4222c6623fec3dea439f332ccd1b34554e65c6e44aaea2fdadc9bc
-MD5 96294c5c5ba8212ea600863e9cafd448 ChangeLog 2755
-RMD160 4b26f22d33543d0e03a53103be6e3a215320d8fa ChangeLog 2755
-SHA256 2cac26abfd4222c6623fec3dea439f332ccd1b34554e65c6e44aaea2fdadc9bc ChangeLog 2755
+MISC ChangeLog 2976 RMD160 370c4f073967c903d82cf50eeaabaaf99bf3d8d4 SHA1 786379f8125719d91bac8e1455988d881c125d79 SHA256 efc0f3a9c897b146c58af89fcd8f574e99ae627b12e16932cfee45e27d6fba52
+MD5 edd06d442b4336d7b39649d948103a61 ChangeLog 2976
+RMD160 370c4f073967c903d82cf50eeaabaaf99bf3d8d4 ChangeLog 2976
+SHA256 efc0f3a9c897b146c58af89fcd8f574e99ae627b12e16932cfee45e27d6fba52 ChangeLog 2976
MISC metadata.xml 166 RMD160 61b5c672638182ae90aa0987021012f9bcac0c85 SHA1 03f155d94dfd6ed8455a0de382ae1956c3ec1692 SHA256 b405a4d46651e139c00ec6b19acf7bb3cd23456275250b6de43951b7559a0b21
MD5 e206f7cd655afe2644bb78cc9d15bd7f metadata.xml 166
RMD160 61b5c672638182ae90aa0987021012f9bcac0c85 metadata.xml 166
MD5 dd1929a7b679299055249acf01eef225 files/digest-freetts-1.2.1 250
RMD160 1f5d580281c2ed35267eb1948d9e513148f779e0 files/digest-freetts-1.2.1 250
SHA256 8888e4eecb351f9c3468015d2231ed6fa783365f967fec7fe6025bc2d4fa13ea files/digest-freetts-1.2.1 250
+MD5 dd1929a7b679299055249acf01eef225 files/digest-freetts-1.2.1-r1 250
+RMD160 1f5d580281c2ed35267eb1948d9e513148f779e0 files/digest-freetts-1.2.1-r1 250
+SHA256 8888e4eecb351f9c3468015d2231ed6fa783365f967fec7fe6025bc2d4fa13ea files/digest-freetts-1.2.1-r1 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGG60wcxLzpIGCsLQRAmbOAJ4nZHdNIVZxWQ3PNRokN5yz90VKkgCgnFc2
+8Ay9Nr076SIVSqEaYLsTFCA=
+=UYg5
+-----END PGP SIGNATURE-----
--- /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/freetts/freetts-1.2.1-r1.ebuild,v 1.1 2007/04/10 15:28:38 betelgeuse Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A speech synthesis system written entirely in Java"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://freetts.sourceforge.net/"
+
+RDEPEND=">=virtual/jre-1.4
+ mbrola? ( >=app-accessibility/mbrola-3.0.1h-r3 )"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ jsapi? ( app-arch/sharutils )
+ app-arch/unzip"
+
+LICENSE="jsapi? ( sun-bcla-jsapi ) freetts"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc jsapi mbrola"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}/lib"
+
+ chmod 0755 jsapi.sh
+ epatch "${FILESDIR}/jsapi-gentoo.diff"
+
+ use mbrola && echo "mbrola.base=/opt/mbrola/" >> "${S}/speech.properties"
+}
+
+src_compile() {
+ cd "${S}/lib"
+ if use jsapi; then
+ ./jsapi.sh || die "jsapi.sh failed"
+ fi
+ cd "${S}"
+ eant jars
+}
+
+# Tests dont' seem included
+# http://freetts.sourceforge.net/docs/index.php#how_test
+#src_test() {
+# ANT_TASKS="ant-junit" eant junit
+#}
+
+src_install() {
+ java-pkg_dojar lib/*.jar mbrola/*.jar
+
+ use mbrola && local jflags="--java_args -Dmbrola.base=/opt/mbrola"
+ java-pkg_dolauncher ${PN} --main com.sun.speech.freetts.FreeTTS ${jflags}
+
+ insinto /usr/share/${PN}
+ doins speech.properties
+
+ cp -R "${S}/demo" "${D}/usr/share/${PN}"
+ cp -R "${S}/tools" "${D}/usr/share/${PN}"
+
+ dodoc README.txt RELEASE_NOTES acknowledgments.txt || die
+ if use doc; then
+ insinto /usr/share/doc/${PF}/html
+ doins -r "${S}"/docs/*
+ java-pkg_dojavadoc "${S}/javadoc"
+ fi
+}