diff options
-rw-r--r-- | app-accessibility/gnome-speech/ChangeLog | 8 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.17 | 3 | ||||
-rw-r--r-- | app-accessibility/gnome-speech/gnome-speech-0.4.17.ebuild | 80 |
3 files changed, 90 insertions, 1 deletions
diff --git a/app-accessibility/gnome-speech/ChangeLog b/app-accessibility/gnome-speech/ChangeLog index 8235d19dc7e8..1b9ecc3c3e6f 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.102 2007/11/06 16:53:15 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.103 2007/12/31 10:51:02 eva Exp $ + +*gnome-speech-0.4.17 (22 Dec 2007) + + 22 Dec 2007; Gilles Dartiguelongue <eva@gentoo.org> + +gnome-speech-0.4.17.ebuild: + bump to 0.4.17 06 Nov 2007; Raúl Porcel <armin76@gentoo.org> gnome-speech-0.4.16.ebuild: sparc stable wrt #193339 diff --git a/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.17 b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.17 new file mode 100644 index 000000000000..182f79cf189d --- /dev/null +++ b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.17 @@ -0,0 +1,3 @@ +MD5 a202dbc9df89e1c91e66cbf0fd21f26b gnome-speech-0.4.17.tar.bz2 319772 +RMD160 e6b968d36b81767d6a1b61453c686c50bf76069f gnome-speech-0.4.17.tar.bz2 319772 +SHA256 3c5577330c6440b52eb68a560c8e723a20ab8915d4aee5237c243240c53bc89e gnome-speech-0.4.17.tar.bz2 319772 diff --git a/app-accessibility/gnome-speech/gnome-speech-0.4.17.ebuild b/app-accessibility/gnome-speech/gnome-speech-0.4.17.ebuild new file mode 100644 index 000000000000..2ef6ff508c62 --- /dev/null +++ b/app-accessibility/gnome-speech/gnome-speech-0.4.17.ebuild @@ -0,0 +1,80 @@ +# 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.17.ebuild,v 1.1 2007/12/31 10:51:02 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" + + 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 +} |