summaryrefslogtreecommitdiff
blob: 86ad86c67e3e2d00fdf89c764814dea3f25f8190 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/ksayit/ksayit-3.5.10.ebuild,v 1.6 2009/07/12 13:36:50 armin76 Exp $
KMNAME=kdeaccessibility
EAPI="1"
inherit kde-meta

DESCRIPTION="KDE text-to-speech frontend."
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE=""

DEPEND=">=kde-base/kttsd-${PV}:${SLOT}
	|| ( >=kde-base/kdemultimedia-arts-${PV}:${SLOT} >=kde-base/kdemultimedia-${PV}:${SLOT} )"

pkg_setup() {
	kde_pkg_setup

	if has_version kde-base/kdemultimedia:${SLOT} && ! built_with_use kde-base/kdemultimedia:${SLOT} arts ; then
		eerror "You have \"arts\" USE flag enabled, but kde-base/kdemultimedia:${SLOT} was built with this flag disabled."
		die "Reinstall kde-base/kdemultimedia:${SLOT} with USE=\"arts\""
	fi
}

src_compile() {
	myconf="--enable-ksayit-audio-plugins"
	kde-meta_src_compile
}