diff options
| -rw-r--r-- | kde-frameworks/sonnet/Manifest | 1 | ||||
| -rw-r--r-- | kde-frameworks/sonnet/sonnet-5.74.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest new file mode 100644 index 00000000000..529e07c441a --- /dev/null +++ b/kde-frameworks/sonnet/Manifest @@ -0,0 +1 @@ +DIST sonnet-5.74.0.tar.xz 293316 BLAKE2B 55f73f617b98c85a4f63abea6eb327ee2f017ee2d63f3c739269afb5311e392b153d8c6a7f29dc9be095450c48d7a220cc387d6d842175a345044c084bc868bb SHA512 80f19d6f7c168f6daed208769c5abe1c664b48cd5d8f3ddd75f3992f917859d14281ed12b819b5bc9f501849243de639388a8e47dc60e0d3bda0e5b8426a54e6 diff --git a/kde-frameworks/sonnet/sonnet-5.74.0.ebuild b/kde-frameworks/sonnet/sonnet-5.74.0.ebuild new file mode 100644 index 00000000000..f5798c21f8c --- /dev/null +++ b/kde-frameworks/sonnet/sonnet-5.74.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_DESIGNERPLUGIN="true" +QTMIN=5.14.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() { + # bugs: 680032 + local myctestargs=( + -E "(sonnet-test_settings|sonnet-test_highlighter)" + ) + + ecm_src_test +} |
