summaryrefslogtreecommitdiff
path: root/app-accessibility/mbrola/mbrola-3.3-r1.ebuild
blob: ace3b7357ad2373c9ff2e0b0a2a0374b326969db (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit toolchain-funcs

DESCRIPTION="Speech synthesizer based on the concatenation of diphones"
HOMEPAGE="https://github.com/numediart/MBROLA"
SRC_URI="https://github.com/numediart/MBROLA/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"

RDEPEND="app-accessibility/mbrola-voices"

S="${WORKDIR}/MBROLA-${PV}"

PATCHES=(
	"${FILESDIR}"/${P}-Makefile.patch
)

src_compile() {
	emake -j1 CC="$(tc-getCC)"
}

src_install() {
	dobin Bin/mbrola
	DOCS=( README.md Documentation/*.txt )
	einstalldocs
}