summaryrefslogtreecommitdiff
blob: b5fa480802c1e4c955cb6ebbf0568130a159b2a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=2
WX_GTK_VER=2.8

inherit wxwidgets

DESCRIPTION="Espeak voice editor."
HOMEPAGE="http://espeak.sourceforge.net/"
SRC_URI="mirror://sourceforge/espeak/${P}.zip"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 hppa ppc sparc x86"
IUSE=""

RDEPEND="x11-libs/wxGTK
media-libs/portaudio
=app-accessibility/espeak-${PV}"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_compile() {
	cp ${FILESDIR}/* ${S}/src
	cd ${S}/src
	rm portaudio*.h
	epatch format.diff
	aclocal
	autoconf
	./configure
	emake || die
}

src_install() {
	cd ${S}
	exeinto /usr/bin
	doexe ${S}/src/espeakedit
	insinto /usr/share/espeak-data
	doins -r phsource praat-mod
	dodoc License.txt ReadMe
	dohtml -r docs/*
}