summaryrefslogtreecommitdiff
blob: 56fbf9163eff722b42d9a33ad02c2defd39fe28f (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit kde

DESCRIPTION="KTranslator is a translation program to KDE"
HOMEPAGE="http://ktranslator.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="festival lowmem ocr"
#Flags to choose which plugins should be compiled
#IUSE="${IUSE} babylon dictd plaintext sdict stardict"
RDEPEND="ocr? ( app-text/gocr )
	festival? ( app-accessibility/festival )"

need-kde 3.3

src_compile() {
	myconf="$(use_enable !lowmem opts)"

	#Handling of flags to choose plugins which should be compiled
	#myconf=${myconf} --with-plugins=$(usev babylon),$(usev dictd),$(usev plaintext),$(usev sdict),$(usev stardict)"

	kde_src_compile
}