/[gentoo-x86]/app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild
Gentoo

Contents of /app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Thu Nov 13 10:36:23 2014 UTC (6 weeks, 2 days ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Drop package due bug #508854

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild,v 1.10 2013/02/02 22:18:46 ago Exp $
4
5 EAPI="4"
6 GNOME_TARBALL_SUFFIX="bz2"
7
8 inherit gnome2 eutils
9
10 DESCRIPTION="Simple general API for producing text-to-speech output"
11 HOMEPAGE="http://www.gnome.org/"
12
13 LICENSE="LGPL-2"
14 SLOT="1"
15 KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
16 IUSE="+espeak festival"
17
18 COMMON_DEPEND=">=gnome-base/orbit-2.3.94
19 >=gnome-base/libbonobo-1.97
20 >=dev-libs/glib-2:2
21 espeak? ( app-accessibility/espeak )"
22
23 RDEPEND="$COMMON_DEPEND
24 festival? ( app-accessibility/festival )"
25
26 DEPEND="$COMMON_DEPEND
27 virtual/pkgconfig"
28
29 pkg_setup() {
30 DOCS="AUTHORS ChangeLog NEWS README"
31 G2CONF="${G2CONF} $(use_with festival) --with-speech-dispatcher"
32
33 if ! use espeak; then
34 G2CONF="${G2CONF} --without-espeak-dir"
35 fi
36
37 # We don't want java support at all as configure is broken and nothing needs it
38 export JAVAC=no
39 }
40
41 src_prepare() {
42 gnome2_src_prepare
43
44 epatch "${FILESDIR}/${P}-disable-java.patch"
45 epatch "${FILESDIR}/${P}-glib-2.31.patch"
46
47 sed -i \
48 -e 's:\(GNOME_SPEECH_JAR_DIR=\).*:\1"/usr/share/java-access-bridge/lib/":' \
49 -e 's:\(FREETTS_DRIVER_JAR_DIR=\).*:\1"/usr/share/java-access-bridge/lib/":' \
50 "${S}"/configure
51 }

  ViewVC Help
Powered by ViewVC 1.1.20