summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-25 09:42:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-25 09:42:30 +0000
commit947c6de9e8a1c60a9936cbb984c110d3b14d9248 (patch)
tree2156e0f5713ae4aa8d79c259564706e8ce118d87 /kde-base/kttsd/kttsd-3.5.4.ebuild
parentremove old versions (diff)
downloadhistorical-947c6de9e8a1c60a9936cbb984c110d3b14d9248.tar.gz
historical-947c6de9e8a1c60a9936cbb984c110d3b14d9248.tar.bz2
historical-947c6de9e8a1c60a9936cbb984c110d3b14d9248.zip
Bump to 3.5.4 (pre-release).
Package-Manager: portage-2.1.1_pre3-r3
Diffstat (limited to 'kde-base/kttsd/kttsd-3.5.4.ebuild')
-rw-r--r--kde-base/kttsd/kttsd-3.5.4.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/kde-base/kttsd/kttsd-3.5.4.ebuild b/kde-base/kttsd/kttsd-3.5.4.ebuild
new file mode 100644
index 000000000000..875394662fa2
--- /dev/null
+++ b/kde-base/kttsd/kttsd-3.5.4.ebuild
@@ -0,0 +1,42 @@
+# 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.5.4.ebuild,v 1.1 2006/07/25 08:30:35 flameeyes Exp $
+KMNAME=kdeaccessibility
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta
+
+DESCRIPTION="KDE text-to-speech subsystem"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="akode alsa gstreamer"
+DEPEND="akode? ( media-libs/akode )
+ alsa? ( media-libs/alsa-lib )
+ gstreamer? ( =media-libs/gstreamer-0.8*
+ =media-libs/gst-plugins-0.8* )
+ $(deprange-dual $PV $MAXKDEVER kde-base/kcontrol)
+ !arts? ( !alsa? ( !gstreamer? ( media-libs/akode ) ) )"
+
+RDEPEND="${DEPEND}
+ || ( app-accessibility/festival
+ app-accessibility/epos
+ app-accessibility/flite
+ app-accessibility/freetts )"
+
+pkg_setup() {
+ kde_pkg_setup
+ if ! use arts && ! use alsa && ! use gstreamer && ! use akode ; then
+ ewarn "No audio backend chosen. Defaulting to media-libs/akode."
+ fi
+}
+
+src_compile() {
+ local myconf="$(use_with alsa) $(use_with gstreamer)"
+
+ if ! use arts && ! use alsa && ! use gstreamer ; then
+ myconf="${myconf} --with-akokde"
+ else
+ myconf="${myconf} $(use_with akode)"
+ fi
+
+ kde-meta_src_compile
+}