# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="1" KMNAME=kdeaccessibility inherit kde4svn-meta DESCRIPTION="KDE text-to-speech subsystem" KEYWORDS="" IUSE="alsa debug htmlhandbook +ktts +phonon" COMMONDEPEND="ktts? ( alsa? ( >=media-libs/alsa-lib-1.0.14a ) phonon? ( media-sound/phonon ) ) >=kde-base/kcmshell-${PV}:${SLOT} >=kde-base/knotify-${PV}:${SLOT}" DEPEND="${DEPEND} ${COMMONDEPEND}" RDEPEND="${RDEPEND} ${COMMONDEPEND} ktts? ( app-accessibility/festival app-accessibility/epos app-accessibility/freetts app-accessibility/flite )" src_compile() { mycmakeargs="${mycmakeargs} $(cmake-utils_use_with alsa Alsa) -DKDE4_KTTSD_PHONON=$(use phonon && echo OFF || echo ON) -DKDE4_KTTSD_ALSA=$(use alsa && echo ON || echo OFF) $(cmake-utils_use_with ktts Kttsmodule)" kde4overlay-meta_src_compile }