summaryrefslogtreecommitdiff
blob: 88d16b4e71aa45f5a8fd64ad6cba7ccf1a5a8b11 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/ksayit/ksayit-3.5.9.ebuild,v 1.8 2008/05/18 22:09:09 maekke 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/arts-${PV}:${SLOT}
	|| ( >=kde-base/kdemultimedia-arts-${PV}:${SLOT} >=kde-base/kdemultimedia-${PV}:${SLOT} )"

RDEPEND="${DEPEND}"

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
}