diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-07-03 20:33:16 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-07-03 20:33:16 +0000 |
commit | f22e877aaffd8da2457c2dbf8a4f725cc9e1d06e (patch) | |
tree | e6e6a71d52530cc7d8f41e307486d6c3ea4e36b8 /app-accessibility/gnome-speech | |
parent | alpha/ia64/sparc/x86 stable wrt #230411 (diff) | |
download | gentoo-2-f22e877aaffd8da2457c2dbf8a4f725cc9e1d06e.tar.gz gentoo-2-f22e877aaffd8da2457c2dbf8a4f725cc9e1d06e.tar.bz2 gentoo-2-f22e877aaffd8da2457c2dbf8a4f725cc9e1d06e.zip |
bump to to 0.4.20. Fixes related to espeak.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
Diffstat (limited to 'app-accessibility/gnome-speech')
-rw-r--r-- | app-accessibility/gnome-speech/ChangeLog | 8 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/gnome-speech-0.4.20.ebuild | 80 |
2 files changed, 87 insertions, 1 deletions
diff --git a/app-accessibility/gnome-speech/ChangeLog b/app-accessibility/gnome-speech/ChangeLog index c0c28dc9b700..b93fe1d60096 100644 --- a/app-accessibility/gnome-speech/ChangeLog +++ b/app-accessibility/gnome-speech/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-accessibility/gnome-speech # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.117 2008/06/03 01:39:34 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.118 2008/07/03 20:33:16 eva Exp $ + +*gnome-speech-0.4.20 (03 Jul 2008) + + 03 Jul 2008; Gilles Dartiguelongue <eva@gentoo.org> + +gnome-speech-0.4.20.ebuild: + bump to to 0.4.20. Fixes related to espeak. 03 Jun 2008; Jeroen Roovers <jer@gentoo.org> gnome-speech-0.4.18.ebuild: Stable for HPPA too (maybe bug #212986). diff --git a/app-accessibility/gnome-speech/gnome-speech-0.4.20.ebuild b/app-accessibility/gnome-speech/gnome-speech-0.4.20.ebuild new file mode 100644 index 000000000000..b8627e3446a9 --- /dev/null +++ b/app-accessibility/gnome-speech/gnome-speech-0.4.20.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/gnome-speech-0.4.20.ebuild,v 1.1 2008/07/03 20:33:16 eva Exp $ + +JAVA_PKG_OPT_USE="freetts" + +inherit java-pkg-opt-2 gnome2 + +DESCRIPTION="Simple general API for producing text-to-speech output" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="LGPL-2" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +# espeak not added; it needs tons of keywords +IUSE="freetts" + +COMMON_DEPEND=">=gnome-base/orbit-2.3.94 + >=gnome-base/libbonobo-1.97 + >=dev-libs/glib-2 + freetts? ( + =app-accessibility/freetts-1.2* + >=app-accessibility/java-access-bridge-1.4.6 )" + +RDEPEND="$COMMON_DEPEND + freetts? ( >=virtual/jre-1.4 ) + app-accessibility/festival" + +DEPEND="$COMMON_DEPEND + freetts? ( >=virtual/jdk-1.4 ) + >=dev-util/pkgconfig-0.9" + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} --with-festival --with-speech-dispatcher --without-espeak-dir" + + if use freetts; then + java-pkg-opt-2_pkg_setup + + local JABDIR="${ROOT}usr/share/java-access-bridge/lib" + + G2CONF="${G2CONF} --with-java-home=${JAVA_HOME} \ + --with-jab-dir=${JABDIR} \ + --with-freetts-dir=${ROOT}usr/share/freetts/lib" + else + export JAVAC=no + fi +} + +src_unpack() { + gnome2_src_unpack + + if use freetts; then + sed -i -e \ + 's/@GNOME_SPEECH_INSTALLED_CLASSPATH@/$(java-config -p gnome-speech-1,java-access-bridge)/' \ + drivers/freetts/freetts-synthesis-driver.in || die "sed error" + fi + + sed -i \ + -e 's:\(GNOME_SPEECH_JAR_DIR=\).*:\1"/usr/share/java-access-bridge/lib/":' \ + -e 's:\(FREETTS_DRIVER_JAR_DIR=\).*:\1"/usr/share/java-access-bridge/lib/":' \ + "${S}"/configure +} + +src_install() { + gnome2_src_install + + if use freetts; then + java-pkg_dojar "${D}"/usr/share/jar/*.jar + rm -rf "${D}"/usr/share/jar + fi +} + +pkg_postinst() { + elog + elog "Gnome Speech has been successfully installed. You may now use the" + elog "speech interface using app-accessibility/orca." + elog +} |