blob: 80c90bcd019f9930200519114d93b4f86d7b6617 (
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
44
45
|
# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
TRINITY_MODULE_NAME="tdeaccessibility"
TRINITY_MODULE_TYPE="core"
TRINITY_HANDBOOK="optional"
TSM_EXTRACT_ALSO="kspeechsink translations"
inherit trinity-meta-2
DESCRIPTION="TDE text-to-speech subsystem"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
IUSE="akode alsa arts epos festival flite +freetts kate"
REQUIRED_USE="!arts? ( akode )"
DEPEND=" akode? ( ~media-libs/akode-${PV} )
alsa? ( media-libs/alsa-lib )
~trinity-base/kcontrol-${PV}"
RDEPEND=" ${DEPEND}
arts? ( trinity-base/arts )
festival? ( app-accessibility/festival )
epos? ( app-accessibility/epos )
flite? ( app-accessibility/flite )
freetts? ( app-accessibility/freetts )
kate? ( trinity-base/kate )"
src_configure() {
local mycmakeargs=(
-DWITH_ARTS="$(usex arts)"
-DWITH_AKODE="$(usex akode)"
-DBUILD_KTTSD_FESTIVAL="$(usex festival)"
-DBUILD_KTTSD_EPOS="$(usex epos)"
-DBUILD_KTTSD_FLITE="$(usex flite)"
-DBUILD_KTTSD_FREETTS="$(usex freetts)"
-DBUILD_KTTSD_KATE="$(usex kate)"
-DBUILD_KTTSD_COMMAND=ON
-DBUILD_KTTSD_HADIFIX=ON
)
trinity-meta-2_src_configure
}
|