blob: ffbccc989ae96c88c445f4cc277f1eda772fa4aa (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kttsd/kttsd-3.4.3.ebuild,v 1.10 2006/03/27 20:14:58 agriffis Exp $
KMNAME=kdeaccessibility
MAXKDEVER=$PV
KM_DEPRANGE="$PV $MAXKDEVER"
inherit kde-meta eutils
DESCRIPTION="KDE text-to-speech subsystem"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
IUSE="gstreamer"
DEPEND="arts? ( $(deprange $PV $MAXKDEVER kde-base/arts) )
$(deprange-dual $PV $MAXKDEVER kde-base/kcontrol)
gstreamer? ( =media-libs/gstreamer-0.8* )"
RDEPEND="${DEPEND}
arts? ( || ( app-accessibility/festival
app-accessibility/epos
app-accessibility/flite
app-accessibility/freetts ) )
gstreamer? ( || ( app-accessibility/festival
app-accessibility/epos
app-accessibility/flite ) )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9.0"
pkg_setup() {
kde_pkg_setup
if use gstreamer; then
ewarn "gstreamer support in kdeaccessibility is experimental"
fi
}
src_unpack() {
kde-meta_src_unpack
epatch ${FILESDIR}/kdeaccessibility-3.4.0-noarts.patch
}
src_compile() {
myconf="$(use_enable gstreamer kttsd-gstreamer)"
kde-meta_src_compile
}
|