blob: 363d600be72d1677ec74fec44f960fee75d4bcd4 (
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
31
32
33
34
35
36
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
FRAMEWORKS_DOXYGEN="true"
FRAMEWORKS_TYPE="tier1"
inherit kde-frameworks
DESCRIPTION="An abstraction layer for common spell checking applications"
LICENSE="LGPL-2.1+"
KEYWORDS=""
IUSE="spell"
RDEPEND="
dev-qt/qtgui:5
dev-qt/qtwidgets:5
spell? ( app-text/enchant )
"
DEPEND="${RDEPEND}"
DOCS=( README )
src_configure() {
# The features provided by aspell, hspell, and hunspell
# are all available via enchant.
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_ASPELL=true
-DCMAKE_DISABLE_FIND_PACKAGE_HSPELL=true
-DCMAKE_DISABLE_FIND_PACKAGE_HUNSPELL=true
$(cmake-utils_use_find_package spell ENCHANT)
)
kde-frameworks_src_configure
}
|