Gentoo Archives: gentoo-commits

From: "Jesus Rivero (neurogeek)" <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/speech-dispatcher: ChangeLog speech-dispatcher-0.8.ebuild
Date: Wed, 27 Mar 2013 15:07:57
Message-Id: 20130327150753.889022171D@flycatcher.gentoo.org
1 neurogeek 13/03/27 15:07:53
2
3 Modified: ChangeLog
4 Added: speech-dispatcher-0.8.ebuild
5 Log:
6 Version bump. Closes bug #463384. Thanks Pacho.
7
8 (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 748B2C601F6F0683)
9
10 Revision Changes Path
11 1.83 app-accessibility/speech-dispatcher/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?rev=1.83&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?rev=1.83&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?r1=1.82&r2=1.83
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v
20 retrieving revision 1.82
21 retrieving revision 1.83
22 diff -u -r1.82 -r1.83
23 --- ChangeLog 17 Mar 2013 12:15:09 -0000 1.82
24 +++ ChangeLog 27 Mar 2013 15:07:53 -0000 1.83
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-accessibility/speech-dispatcher
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v 1.82 2013/03/17 12:15:09 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v 1.83 2013/03/27 15:07:53 neurogeek Exp $
30 +
31 +*speech-dispatcher-0.8 (27 Mar 2013)
32 +
33 + 27 Mar 2013; <neurogeek@g.o> +speech-dispatcher-0.8.ebuild:
34 + Version bump. Closes bug #463384. Thanks Pacho.
35
36 *speech-dispatcher-0.7.1-r2 (17 Mar 2013)
37
38
39
40
41 1.1 app-accessibility/speech-dispatcher/speech-dispatcher-0.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: speech-dispatcher-0.8.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.ebuild,v 1.1 2013/03/27 15:07:53 neurogeek Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python3_2 pypy{1_9,2_0} )
54
55 inherit autotools-utils python-r1
56
57 DESCRIPTION="Speech synthesis interface"
58 HOMEPAGE="http://www.freebsoft.org/speechd"
59 SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
64 IUSE="alsa ao +espeak flite nas pulseaudio python static-libs"
65
66 RDEPEND=">=dev-libs/glib-2.28:2
67 >=media-libs/libsndfile-1.0.2
68 alsa? ( media-libs/alsa-lib )
69 ao? ( media-libs/libao )
70 espeak? ( app-accessibility/espeak )
71 flite? ( app-accessibility/flite )
72 nas? ( media-libs/nas )
73 pulseaudio? ( media-sound/pulseaudio )"
74 DEPEND="${RDEPEND}
75 >=dev-libs/dotconf-1.3
76 >=dev-util/intltool-0.40.0
77 virtual/pkgconfig"
78
79 src_prepare() {
80 # Python bindings are built/installed manually.
81 sed -e "/SUBDIRS += python/d" -i src/Makefile.am || die
82
83 autotools-utils_src_prepare
84 }
85
86 src_configure() {
87 local myeconfargs=(
88 $(use_enable python)
89 $(use_with alsa)
90 $(use_with ao libao)
91 $(use_with espeak)
92 $(use_with flite)
93 $(use_with pulseaudio pulse)
94 $(use_with nas)
95 )
96 autotools-utils_src_configure
97 }
98
99 src_compile() {
100 use python && python_copy_sources
101
102 autotools-utils_src_compile all
103
104 if use python; then
105 building() {
106 cd src/api/python || die
107 emake \
108 pyexecdir="$(python_get_sitedir)" \
109 pythondir="$(python_get_sitedir)"
110 }
111 python_foreach_impl run_in_build_dir building
112 fi
113 }
114
115 src_install() {
116 autotools-utils_src_install
117
118 if use python; then
119 installation() {
120 cd src/api/python || die
121 emake \
122 DESTDIR="${D}" \
123 pyexecdir="$(python_get_sitedir)" \
124 pythondir="$(python_get_sitedir)" \
125 install
126 }
127 python_foreach_impl run_in_build_dir installation
128 python_replicate_script "${ED}"/usr/bin/spd-conf
129 fi
130 }
131
132 pkg_postinst() {
133 local editconfig="n"
134 if ! use espeak; then
135 ewarn "You have disabled espeak, which is speech-dispatcher's"
136 ewarn "default speech synthesizer."
137 ewarn
138 editconfig="y"
139 fi
140 if ! use pulseaudio; then
141 ewarn "You have disabled pulseaudio support."
142 ewarn "pulseaudio is speech-dispatcher's default audio subsystem."
143 ewarn
144 editconfig="y"
145 fi
146 if [[ "${editconfig}" == "y" ]]; then
147 ewarn "You must edit ${EROOT}etc/speech-dispatcher/speechd.conf"
148 ewarn "and make sure the settings there match your system."
149 ewarn
150 fi
151 elog "For festival support, you need to"
152 elog "install app-accessibility/festival-freebsoft-utils."
153 }