diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2006-11-07 05:39:30 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2006-11-07 05:39:30 +0000 |
commit | 5735a720ab1ee266cb9ec1941fcdedd5a85461ed (patch) | |
tree | c9b75ed1615c10af49d788f664d609533dffab00 /app-accessibility | |
parent | stable x86; bug #151376 (diff) | |
download | gentoo-2-5735a720ab1ee266cb9ec1941fcdedd5a85461ed.tar.gz gentoo-2-5735a720ab1ee266cb9ec1941fcdedd5a85461ed.tar.bz2 gentoo-2-5735a720ab1ee266cb9ec1941fcdedd5a85461ed.zip |
New release: 0.4.6
(Portage version: 2.1.2_rc1-r3)
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/gnome-speech/ChangeLog | 8 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.6 | 3 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/gnome-speech-0.4.6.ebuild | 80 |
3 files changed, 90 insertions, 1 deletions
diff --git a/app-accessibility/gnome-speech/ChangeLog b/app-accessibility/gnome-speech/ChangeLog index 5157083c75a4..25c8d2db8fb5 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.69 2006/10/19 14:46:34 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.70 2006/11/07 05:39:30 leonardop Exp $ + +*gnome-speech-0.4.6 (07 Nov 2006) + + 07 Nov 2006; Leonardo Boshell <leonardop@gentoo.org> + +gnome-speech-0.4.6.ebuild: + Version bump. 19 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> gnome-speech-0.4.0.ebuild: diff --git a/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.6 b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.6 new file mode 100644 index 000000000000..3cf0798ca5de --- /dev/null +++ b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.6 @@ -0,0 +1,3 @@ +MD5 4abb15089e20edeccbe2edbac6572f4e gnome-speech-0.4.6.tar.bz2 311080 +RMD160 4e6ca040f590492aa58b40ed6cd8b690b05fcde7 gnome-speech-0.4.6.tar.bz2 311080 +SHA256 eef3e578ef6d1614a2793cfbac28c345b673bfc1e2219841977a8c1b8f892b19 gnome-speech-0.4.6.tar.bz2 311080 diff --git a/app-accessibility/gnome-speech/gnome-speech-0.4.6.ebuild b/app-accessibility/gnome-speech/gnome-speech-0.4.6.ebuild new file mode 100644 index 000000000000..cc114896d2c1 --- /dev/null +++ b/app-accessibility/gnome-speech/gnome-speech-0.4.6.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2006 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.6.ebuild,v 1.1 2006/11/07 05:39:30 leonardop Exp $ + +inherit java-pkg 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" +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-java/java-config ) + >=dev-util/pkgconfig-0.9" + +DOCS="AUTHORS ChangeLog NEWS README" + + +pkg_setup() { + G2CONF="--with-festival --with-speech-dispatcher" + + if use freetts; then + java-pkg_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() { + einfo + einfo "Gnome Speech has been successfully installed. You may now use the" + einfo "speech interface using app-accessibility/gnopernicus." + einfo +} |