From: | "Mart Raudsepp (leio)" <leio@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-accessibility/gnome-speech: ChangeLog gnome-speech-0.4.18.ebuild |
Date: | Sun, 03 Feb 2008 20:37:30 |
Message-Id: | E1JLlah-000825-Lt@stork.gentoo.org |
1 | leio 08/02/03 20:37:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gnome-speech-0.4.18.ebuild |
5 | Log: |
6 | Version bump to fix bug 205274, thanks to David Csercsics |
7 | (Portage version: 2.1.4.1) |
8 | |
9 | Revision Changes Path |
10 | 1.109 app-accessibility/gnome-speech/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/gnome-speech/ChangeLog?rev=1.109&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/gnome-speech/ChangeLog?rev=1.109&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/gnome-speech/ChangeLog?r1=1.108&r2=1.109 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v |
19 | retrieving revision 1.108 |
20 | retrieving revision 1.109 |
21 | diff -u -r1.108 -r1.109 |
22 | --- ChangeLog 3 Feb 2008 11:44:17 -0000 1.108 |
23 | +++ ChangeLog 3 Feb 2008 20:37:27 -0000 1.109 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-accessibility/gnome-speech |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.108 2008/02/03 11:44:17 armin76 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.109 2008/02/03 20:37:27 leio Exp $ |
29 | + |
30 | +*gnome-speech-0.4.18 (03 Feb 2008) |
31 | + |
32 | + 03 Feb 2008; Mart Raudsepp <leio@g.o> +gnome-speech-0.4.18.ebuild: |
33 | + Version bump to fix bug 205274, thanks to David Csercsics |
34 | |
35 | 03 Feb 2008; Raúl Porcel <armin76@g.o> gnome-speech-0.4.17.ebuild: |
36 | alpha/ia64/sparc stable wrt #208366 |
37 | |
38 | |
39 | |
40 | 1.1 app-accessibility/gnome-speech/gnome-speech-0.4.18.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/gnome-speech/gnome-speech-0.4.18.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/gnome-speech/gnome-speech-0.4.18.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: gnome-speech-0.4.18.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/gnome-speech-0.4.18.ebuild,v 1.1 2008/02/03 20:37:27 leio Exp $ |
50 | |
51 | JAVA_PKG_OPT_USE="freetts" |
52 | |
53 | inherit java-pkg-opt-2 gnome2 |
54 | |
55 | DESCRIPTION="Simple general API for producing text-to-speech output" |
56 | HOMEPAGE="http://www.gnome.org/" |
57 | |
58 | LICENSE="LGPL-2" |
59 | SLOT="1" |
60 | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
61 | # espeak not added; it needs tons of keywords |
62 | IUSE="freetts" |
63 | |
64 | COMMON_DEPEND=">=gnome-base/orbit-2.3.94 |
65 | >=gnome-base/libbonobo-1.97 |
66 | >=dev-libs/glib-2 |
67 | freetts? ( |
68 | =app-accessibility/freetts-1.2* |
69 | >=app-accessibility/java-access-bridge-1.4.6 )" |
70 | |
71 | RDEPEND="$COMMON_DEPEND |
72 | freetts? ( >=virtual/jre-1.4 ) |
73 | app-accessibility/festival" |
74 | |
75 | DEPEND="$COMMON_DEPEND |
76 | freetts? ( >=virtual/jdk-1.4 ) |
77 | >=dev-util/pkgconfig-0.9" |
78 | |
79 | DOCS="AUTHORS ChangeLog NEWS README" |
80 | |
81 | pkg_setup() { |
82 | G2CONF="${G2CONF} --with-festival --with-speech-dispatcher --without-espeak-dir" |
83 | |
84 | if use freetts; then |
85 | java-pkg-opt-2_pkg_setup |
86 | |
87 | local JABDIR="${ROOT}usr/share/java-access-bridge/lib" |
88 | |
89 | G2CONF="${G2CONF} --with-java-home=${JAVA_HOME} \ |
90 | --with-jab-dir=${JABDIR} \ |
91 | --with-freetts-dir=${ROOT}usr/share/freetts/lib" |
92 | else |
93 | export JAVAC=no |
94 | fi |
95 | } |
96 | |
97 | src_unpack() { |
98 | gnome2_src_unpack |
99 | |
100 | if use freetts; then |
101 | sed -i -e \ |
102 | 's/@GNOME_SPEECH_INSTALLED_CLASSPATH@/$(java-config -p gnome-speech-1,java-access-bridge)/' \ |
103 | drivers/freetts/freetts-synthesis-driver.in || die "sed error" |
104 | fi |
105 | |
106 | sed -i \ |
107 | -e 's:\(GNOME_SPEECH_JAR_DIR=\).*:\1"/usr/share/java-access-bridge/lib/":' \ |
108 | -e 's:\(FREETTS_DRIVER_JAR_DIR=\).*:\1"/usr/share/java-access-bridge/lib/":' \ |
109 | "${S}"/configure |
110 | } |
111 | |
112 | src_install() { |
113 | gnome2_src_install |
114 | |
115 | if use freetts; then |
116 | java-pkg_dojar "${D}"/usr/share/jar/*.jar |
117 | rm -rf "${D}"/usr/share/jar |
118 | fi |
119 | } |
120 | |
121 | pkg_postinst() { |
122 | elog |
123 | elog "Gnome Speech has been successfully installed. You may now use the" |
124 | elog "speech interface using app-accessibility/gnopernicus." |
125 | elog |
126 | } |
127 | |
128 | |
129 | |
130 | -- |
131 | gentoo-commits@l.g.o mailing list |