Gentoo Archives: gentoo-commits

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