summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-14 22:17:43 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-14 22:33:47 +0100
commitab580f63115898c34646b7cd0fb4c52dfb745c7a (patch)
treec40d75e6170c8ccd7cb87f525da78d30aab30bbc
parentkde-frameworks/solid: 5.91.0 version bump (diff)
downloadgentoo-ab580f63115898c34646b7cd0fb4c52dfb745c7a.tar.gz
gentoo-ab580f63115898c34646b7cd0fb4c52dfb745c7a.tar.bz2
gentoo-ab580f63115898c34646b7cd0fb4c52dfb745c7a.zip
kde-frameworks/sonnet: 5.91.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/sonnet/Manifest1
-rw-r--r--kde-frameworks/sonnet/sonnet-5.91.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
index 9bd7e9ecf544..acb4e7f6b57a 100644
--- a/kde-frameworks/sonnet/Manifest
+++ b/kde-frameworks/sonnet/Manifest
@@ -1 +1,2 @@
DIST sonnet-5.90.0.tar.xz 308024 BLAKE2B 8c5960828906632361fd655d282dd3c6054e01fd45007ea9b5e4085951642c6bb0c57c6af0753beef9341f926e755300263a9b152fb03c0bb568413715d28fd4 SHA512 75adc7e45b8800601f2084c7d3ed88414e4f94f09fe682ca083b5c63fccbebb8e9009961513c1c8f609e5e7ebbfb41cc18ea35e7420a2ffb655b9479f3a368b0
+DIST sonnet-5.91.0.tar.xz 308264 BLAKE2B e456203622a5405f96a8054070a2a86fdd2199a529ab381a7ab678136cdeed6d85481c939a5ac9d05f83278e43f1daa2e56f27daa80a00e9c31aa17611b01671 SHA512 7b27a41769bd0eac762bfc0b2ca7411812f07878292646b2f8b4de85b42807e303c83672bc55e1e713e1931492439089bf2343e08bc4e519f1396998df998c1e
diff --git a/kde-frameworks/sonnet/sonnet-5.91.0.ebuild b/kde-frameworks/sonnet/sonnet-5.91.0.ebuild
new file mode 100644
index 000000000000..61222f127afd
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.91.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~riscv ~x86"
+IUSE="aspell +hunspell nls qml"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ aspell? ( app-text/aspell )
+ hunspell? ( app-text/hunspell:= )
+ qml? ( >=dev-qt/qtdeclarative-${QTMIN}:5 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package aspell ASPELL)
+ $(cmake_use_find_package hunspell HUNSPELL)
+ -DSONNET_USE_QML=$(usex qml)
+ )
+
+ 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
+}