summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/sonnet')
-rw-r--r--kde-frameworks/sonnet/Manifest1
-rw-r--r--kde-frameworks/sonnet/sonnet-5.81.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
index c0e2aa516e2e..021d1a958f2c 100644
--- a/kde-frameworks/sonnet/Manifest
+++ b/kde-frameworks/sonnet/Manifest
@@ -1,2 +1,3 @@
DIST sonnet-5.77.0.tar.xz 294360 BLAKE2B e0131044b8ea1e5dc4c7508bc661b5ce61c95de148bd95ae1ca68d0b04f43db64ef4c2e330466bed7de8ccbc2e8bd31609d13995c75edaa41ad9c5407131499d SHA512 f453edf4e4becb2e4433ace3a2251f7261d4dfa549a70877fd46c37432fe6e117e542f4db1331893bcc4ac22ed99bc620e5facf03cf783a64a19ca76f7783df0
DIST sonnet-5.80.0.tar.xz 293860 BLAKE2B 64d800fa0740cfa65772ebecaf033a275be7a0b9d9e9e94a38647e44f17166836788995b64f0b11b2aa9fe319155437cfd0e905071ddbf5b52270bb5b8030c3e SHA512 703f43e6498927c781126ca556cde6034314501dca7443466bc86f78f06736ef01cf1846d888e490c88d38ccf449cb4e759207a66f8a09300ae7b4e7ac6a9f88
+DIST sonnet-5.81.0.tar.xz 293948 BLAKE2B 7d6d421a64afac47375c12fb9dc2b61a437150dba10543c6bab4bfbfd40f87dfa4aa0c812d3b443fa14fe4bb1ef1f107172e385d66c57d669ef46779e4f2f35d SHA512 42a7273b10cac8924551d833ef5c0d3eaef8b146cbfd1e978868b6a3857a1746dc4374a354c4eadb5e35141870942f0419ca256b2f4cc049c1ef8d85e7787fd5
diff --git a/kde-frameworks/sonnet/sonnet-5.81.0.ebuild b/kde-frameworks/sonnet/sonnet-5.81.0.ebuild
new file mode 100644
index 000000000000..c2df24e9d697
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.81.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
+}