diff options
author | Christopher Brannon <cbrannon@gentoo.org> | 2011-03-23 17:15:06 +0000 |
---|---|---|
committer | Christopher Brannon <cbrannon@gentoo.org> | 2011-03-23 17:15:06 +0000 |
commit | 0596b012246db4891e3fdfa1d79d07c9793bdbc7 (patch) | |
tree | 642eae602a0899cac18c827ef56ef00017280013 /app-accessibility/freetts | |
parent | Clean up old revisions. (diff) | |
download | gentoo-2-0596b012246db4891e3fdfa1d79d07c9793bdbc7.tar.gz gentoo-2-0596b012246db4891e3fdfa1d79d07c9793bdbc7.tar.bz2 gentoo-2-0596b012246db4891e3fdfa1d79d07c9793bdbc7.zip |
Change the location in which we search for mbrola.
As of app-accessibility/freetts-1.2.1-r2, it is expected
in /usr/share/mbrola.
(Portage version: 2.1.9.44/cvs/Linux i686)
Diffstat (limited to 'app-accessibility/freetts')
-rw-r--r-- | app-accessibility/freetts/ChangeLog | 15 | ||||
-rw-r--r-- | app-accessibility/freetts/freetts-1.2.1-r1.ebuild | 6 | ||||
-rw-r--r-- | app-accessibility/freetts/freetts-1.2.1-r2.ebuild | 66 |
3 files changed, 82 insertions, 5 deletions
diff --git a/app-accessibility/freetts/ChangeLog b/app-accessibility/freetts/ChangeLog index 6bb0c0d6acdd..b877374a565d 100644 --- a/app-accessibility/freetts/ChangeLog +++ b/app-accessibility/freetts/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for app-accessibility/freetts -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/freetts/ChangeLog,v 1.31 2008/07/17 20:43:15 cardoe Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/freetts/ChangeLog,v 1.32 2011/03/23 17:15:06 cbrannon Exp $ + +*freetts-1.2.1-r2 (23 Mar 2011) + + 23 Mar 2011; Christopher Brannon <cbrannon@gentoo.org> + freetts-1.2.1-r1.ebuild, +freetts-1.2.1-r2.ebuild: + Change the directory in which we look for mbrola. + This requires a revbump. The new revision depends on + app-accessibility/mbrola-3.01h-r6. + app-accessibility/freetts-1.2.1-r1's dependencies +were adjusted, since it will not work with +app-accessibility/mbrola-3.01h-r6. 17 Jul 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/app-accessibility/freetts/freetts-1.2.1-r1.ebuild b/app-accessibility/freetts/freetts-1.2.1-r1.ebuild index cbd8f5613c13..1091234f66b5 100644 --- a/app-accessibility/freetts/freetts-1.2.1-r1.ebuild +++ b/app-accessibility/freetts/freetts-1.2.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2011 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.5 2007/09/14 21:45:45 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/freetts/freetts-1.2.1-r1.ebuild,v 1.6 2011/03/23 17:15:06 cbrannon Exp $ inherit eutils java-pkg-2 java-ant-2 @@ -9,7 +9,7 @@ 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 )" + mbrola? ( <=app-accessibility/mbrola-3.0.1h-r5 ) " DEPEND=">=virtual/jdk-1.4 ${RDEPEND} jsapi? ( app-arch/sharutils ) diff --git a/app-accessibility/freetts/freetts-1.2.1-r2.ebuild b/app-accessibility/freetts/freetts-1.2.1-r2.ebuild new file mode 100644 index 000000000000..42b55093836d --- /dev/null +++ b/app-accessibility/freetts/freetts-1.2.1-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2011 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-r2.ebuild,v 1.1 2011/03/23 17:15:06 cbrannon 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-r6 ) " +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=/usr/share/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=/usr/share/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 +} |