diff options
author | Pacho Ramos <pacho@gentoo.org> | 2011-06-05 17:32:15 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2011-06-05 17:32:15 +0000 |
commit | 5534cda70b38b53bdde4e0c646a5590f83c9e5c3 (patch) | |
tree | 20842267771150ee380230622575b6b04fa00dd2 /app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild | |
parent | Stable for HPPA (bug #369681). (diff) | |
download | gentoo-2-5534cda70b38b53bdde4e0c646a5590f83c9e5c3.tar.gz gentoo-2-5534cda70b38b53bdde4e0c646a5590f83c9e5c3.tar.bz2 gentoo-2-5534cda70b38b53bdde4e0c646a5590f83c9e5c3.zip |
Drop java support as configure is completly broken and makes that support automagic (bug #188136), also, looks like nothing in the tree needs that support and other distributions are already suppling this without java support for a long time.
(Portage version: 2.1.9.50/cvs/Linux x86_64)
Diffstat (limited to 'app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild')
-rw-r--r-- | app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild b/app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild new file mode 100644 index 000000000000..9806160b9ee9 --- /dev/null +++ b/app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2011 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.25-r1.ebuild,v 1.1 2011/06/05 17:32:15 pacho Exp $ + +EAPI="4" + +inherit gnome2 eutils + +DESCRIPTION="Simple general API for producing text-to-speech output" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="LGPL-2" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="+espeak festival" + +COMMON_DEPEND=">=gnome-base/orbit-2.3.94 + >=gnome-base/libbonobo-1.97 + >=dev-libs/glib-2:2 + espeak? ( app-accessibility/espeak )" + +RDEPEND="$COMMON_DEPEND + festival? ( app-accessibility/festival )" + +DEPEND="$COMMON_DEPEND + >=dev-util/pkgconfig-0.9" + +pkg_setup() { + DOCS="AUTHORS ChangeLog NEWS README" + G2CONF="${G2CONF} $(use_with festival) --with-speech-dispatcher" + + if ! use espeak; then + G2CONF="${G2CONF} --without-espeak-dir" + fi + + # We don't want java support at all as configure is broken and nothing needs it + export JAVAC=no +} + +src_prepare() { + gnome2_src_prepare + + epatch "${FILESDIR}/${P}-disable-java.patch" + + 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 +} |