aboutsummaryrefslogtreecommitdiff
blob: 59ec3b8e8be6af6047804d29bd2555fe1dfccb84 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

DESCRIPTION="Speech analysis and synthesis"
HOMEPAGE="http://www.fon.hum.uva.nl/praat/ https://github.com/praat/praat"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

KEYWORDS="~amd64 ~x86"
IUSE=""
LICENSE="GPL-2"
SLOT="0"

DEPEND="
	x11-libs/gtk+:2
	media-libs/alsa-lib
	media-sound/pulseaudio"
RDEPEND="${DEPEND}"

src_prepare() {
	eapply_user
	# TODO: following line should be updated for non-linux etc. builds
	# (Flammie does not have testing equipment)
	cp "${S}"/makefiles/makefile.defs.linux.pulse "${S}"/makefile.defs || die
}

src_install() {
	dobin ${PN}
	insinto /usr/share/${PN}
	doins -r test
}