diff options
| -rw-r--r-- | kde-frameworks/sonnet/Manifest | 1 | ||||
| -rw-r--r-- | kde-frameworks/sonnet/sonnet-5.85.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest new file mode 100644 index 00000000000..3b530632f01 --- /dev/null +++ b/kde-frameworks/sonnet/Manifest @@ -0,0 +1 @@ +DIST sonnet-5.85.0.tar.xz 297068 BLAKE2B 7f5bad0ebe851443dd2150be3784442008ffd7ad7acdacb42d0f3495490477a1f570a0aec6dd1b600ca01a5f9fa13c87f56cceb50c98cc2ab399ce85bc04c369 SHA512 50ed8787a8c7378574376ef0539b211eafb349f139fabe6d22788af91d57e758c994ddfdf72d83d76009570dbc8dd4bcb3df3add5c9dc17347b9263e09969930 diff --git a/kde-frameworks/sonnet/sonnet-5.85.0.ebuild b/kde-frameworks/sonnet/sonnet-5.85.0.ebuild new file mode 100644 index 00000000000..c2df24e9d69 --- /dev/null +++ b/kde-frameworks/sonnet/sonnet-5.85.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +LICENSE="LGPL-2+ LGPL-2.1+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="aspell +hunspell nls" + +BDEPEND=" + nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 ) +" +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + aspell? ( app-text/aspell ) + hunspell? ( app-text/hunspell:= ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package aspell ASPELL) + $(cmake_use_find_package hunspell HUNSPELL) + ) + + 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 +} |
