Gentoo Archives: gentoo-commits

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