diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2007-04-25 01:10:09 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2007-04-25 01:10:09 +0000 |
commit | 10b64972f3dc30421c29a9cdee754cbce5801b71 (patch) | |
tree | 51b14517701857cfec22088d74b3775e49e2ce71 /app-accessibility/gnome-speech | |
parent | Changing profiles.desc for the 2007 32bit profile from ppc64 to ppc to make r... (diff) | |
download | gentoo-2-10b64972f3dc30421c29a9cdee754cbce5801b71.tar.gz gentoo-2-10b64972f3dc30421c29a9cdee754cbce5801b71.tar.bz2 gentoo-2-10b64972f3dc30421c29a9cdee754cbce5801b71.zip |
Bump to 0.4.11
(Portage version: 2.1.2.4)
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.11 | 3 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/gnome-speech-0.4.11.ebuild | 81 |
3 files changed, 91 insertions, 1 deletions
diff --git a/app-accessibility/gnome-speech/ChangeLog b/app-accessibility/gnome-speech/ChangeLog index c79881ba6e01..58c8e6dc94b3 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.83 2007/04/10 19:28:02 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.84 2007/04/25 01:10:09 dang Exp $ + +*gnome-speech-0.4.11 (25 Apr 2007) + + 25 Apr 2007; Daniel Gryniewicz <dang@gentoo.org> + +gnome-speech-0.4.11.ebuild: + Bump to 0.4.11 *gnome-speech-0.4.10-r1 (10 Apr 2007) diff --git a/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.11 b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.11 new file mode 100644 index 000000000000..7b2a4e6519f8 --- /dev/null +++ b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.11 @@ -0,0 +1,3 @@ +MD5 feb95274bd7788e5db0dd7284cc14b8b gnome-speech-0.4.11.tar.bz2 326719 +RMD160 547feb2a1bc3559a3cfdda14b4e99df64a93dd77 gnome-speech-0.4.11.tar.bz2 326719 +SHA256 87f6d115e412a1a777cc5977b3aada81eb5154c280e856ac649d94d31d0effbc gnome-speech-0.4.11.tar.bz2 326719 diff --git a/app-accessibility/gnome-speech/gnome-speech-0.4.11.ebuild b/app-accessibility/gnome-speech/gnome-speech-0.4.11.ebuild new file mode 100644 index 000000000000..9b161a41c995 --- /dev/null +++ b/app-accessibility/gnome-speech/gnome-speech-0.4.11.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2007 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.11.ebuild,v 1.1 2007/04/25 01:10:09 dang 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" +# 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="--with-festival --with-speech-dispatcher" + + 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/gnopernicus." + elog +} |