diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2006-07-25 01:56:20 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2006-07-25 01:56:20 +0000 |
commit | 6eca813bbbd769c96b31e18869a633e126ef5b90 (patch) | |
tree | 279dc80259b7dcfea88ab4a38124207320407816 /app-accessibility/gnome-speech | |
parent | New release: 0.12.6 (diff) | |
download | historical-6eca813bbbd769c96b31e18869a633e126ef5b90.tar.gz historical-6eca813bbbd769c96b31e18869a633e126ef5b90.tar.bz2 historical-6eca813bbbd769c96b31e18869a633e126ef5b90.zip |
New release: 0.4.2
Package-Manager: portage-2.1.1_pre3-r4
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.2 | 3 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/gnome-speech-0.4.2.ebuild | 79 |
3 files changed, 89 insertions, 1 deletions
diff --git a/app-accessibility/gnome-speech/ChangeLog b/app-accessibility/gnome-speech/ChangeLog index 942175a813eb..f2dd1cc750ed 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.62 2006/07/17 14:49:22 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.63 2006/07/25 01:56:20 leonardop Exp $ + +*gnome-speech-0.4.2 (25 Jul 2006) + + 25 Jul 2006; Leonardo Boshell <leonardop@gentoo.org> + -gnome-speech-0.3.10.ebuild, +gnome-speech-0.4.2.ebuild: + New release. 17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> gnome-speech-0.4.0.ebuild: diff --git a/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.2 b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.2 new file mode 100644 index 000000000000..1341e31a1d73 --- /dev/null +++ b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.2 @@ -0,0 +1,3 @@ +MD5 df06441a5b560830264c0557e3d3c376 gnome-speech-0.4.2.tar.bz2 309107 +RMD160 6384d22deda7c2f41ba455009f1855b36c5f80f6 gnome-speech-0.4.2.tar.bz2 309107 +SHA256 0cff0d2efd569b24cca3dec39dfe661b6af65df5d07606ece47d3ac6131968c4 gnome-speech-0.4.2.tar.bz2 309107 diff --git a/app-accessibility/gnome-speech/gnome-speech-0.4.2.ebuild b/app-accessibility/gnome-speech/gnome-speech-0.4.2.ebuild new file mode 100644 index 000000000000..c191ba37887b --- /dev/null +++ b/app-accessibility/gnome-speech/gnome-speech-0.4.2.ebuild @@ -0,0 +1,79 @@ +# 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.2.ebuild,v 1.1 2006/07/25 01:56:20 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 + 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 +} |