You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.0 KiB
48 lines
1.0 KiB
3 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
3 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=8
|
||
3 years ago
|
|
||
|
ECM_DESIGNERPLUGIN="true"
|
||
|
QTMIN=5.15.2
|
||
|
VIRTUALX_REQUIRED="test"
|
||
|
inherit ecm kde.org
|
||
|
|
||
|
DESCRIPTION="Framework for providing spell-checking through abstraction of popular backends"
|
||
3 years ago
|
|
||
3 years ago
|
LICENSE="LGPL-2+ LGPL-2.1+"
|
||
3 years ago
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||
|
IUSE="aspell +hunspell nls qml"
|
||
3 years ago
|
|
||
|
DEPEND="
|
||
|
>=dev-qt/qtgui-${QTMIN}:5
|
||
|
>=dev-qt/qtwidgets-${QTMIN}:5
|
||
|
aspell? ( app-text/aspell )
|
||
|
hunspell? ( app-text/hunspell:= )
|
||
3 years ago
|
qml? ( >=dev-qt/qtdeclarative-${QTMIN}:5 )
|
||
3 years ago
|
"
|
||
|
RDEPEND="${DEPEND}"
|
||
3 years ago
|
BDEPEND="
|
||
|
nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
|
||
|
"
|
||
3 years ago
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
$(cmake_use_find_package aspell ASPELL)
|
||
|
$(cmake_use_find_package hunspell HUNSPELL)
|
||
3 years ago
|
-DSONNET_USE_QML=$(usex qml)
|
||
3 years ago
|
)
|
||
|
|
||
|
ecm_src_configure
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
# sonnet-test_settings: bug 680032
|
||
|
# sonnet-test_autodetect: bug 779994
|
||
|
local myctestargs=(
|
||
|
-E "(sonnet-test_autodetect|sonnet-test_settings|sonnet-test_highlighter)"
|
||
|
)
|
||
|
|
||
|
ecm_src_test
|
||
|
}
|