diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2006-08-22 19:06:07 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2006-08-22 19:06:07 +0000 |
commit | a05b8f67f46915b102b5ddb3f78b99177adab28d (patch) | |
tree | 3f25d62f8e4724991e97cc6a014e365949905aa0 /app-accessibility/gnome-speech | |
parent | Version bump (diff) | |
download | gentoo-2-a05b8f67f46915b102b5ddb3f78b99177adab28d.tar.gz gentoo-2-a05b8f67f46915b102b5ddb3f78b99177adab28d.tar.bz2 gentoo-2-a05b8f67f46915b102b5ddb3f78b99177adab28d.zip |
New release: 0.4.4
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'app-accessibility/gnome-speech')
-rw-r--r-- | app-accessibility/gnome-speech/ChangeLog | 8 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.4 | 3 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/gnome-speech-0.4.4.ebuild | 81 |
3 files changed, 91 insertions, 1 deletions
diff --git a/app-accessibility/gnome-speech/ChangeLog b/app-accessibility/gnome-speech/ChangeLog index 89798b314672..1cbd50639888 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.66 2006/08/16 13:07:02 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.67 2006/08/22 19:06:07 leonardop Exp $ + +*gnome-speech-0.4.4 (22 Aug 2006) + + 22 Aug 2006; Leonardo Boshell <leonardop@gentoo.org> + +gnome-speech-0.4.4.ebuild: + New release. 16 Aug 2006; Markus Rothe <corsair@gentoo.org> gnome-speech-0.4.0.ebuild: Stable on ppc64 diff --git a/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.4 b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.4 new file mode 100644 index 000000000000..a9841b5de33b --- /dev/null +++ b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.4 @@ -0,0 +1,3 @@ +MD5 c26dde244c969d7a00b229f256e77546 gnome-speech-0.4.4.tar.bz2 309806 +RMD160 c3efb407ca06149c67f6b4eb04d38c018b31ecc3 gnome-speech-0.4.4.tar.bz2 309806 +SHA256 318ebf3a3f4bd05d534202839ce779f1c823f26305b625703b9615c803d74e6c gnome-speech-0.4.4.tar.bz2 309806 diff --git a/app-accessibility/gnome-speech/gnome-speech-0.4.4.ebuild b/app-accessibility/gnome-speech/gnome-speech-0.4.4.ebuild new file mode 100644 index 000000000000..f7ca08cc805c --- /dev/null +++ b/app-accessibility/gnome-speech/gnome-speech-0.4.4.ebuild @@ -0,0 +1,81 @@ +# 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.4.ebuild,v 1.1 2006/08/22 19:06:07 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/libbonobo-1.97 + >=gnome-base/orbit-2.3.94 + >=dev-libs/glib-2 + freetts? ( + =app-accessibility/freetts-1.2* + >=app-accessibility/java-access-bridge-1.4.6 )" + +RDEPEND="$COMMON_DEPEND + freetts? ( virtual/jre ) + app-accessibility/festival" + +DEPEND="$COMMON_DEPEND + freetts? ( + virtual/jdk + 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() { + unpack "${A}" + cd "${S}" + + 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 +} |