summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-13 19:43:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-14 10:29:13 +0200
commit8191465f13330c875c72a216cc2c3408dcf251b3 (patch)
treed0036077ea08997a2b4d0c87a49cfe967ba348b6 /kde-frameworks/sonnet
parentkde-frameworks/solid: 5.97.0 version bump (diff)
downloadgentoo-8191465f13330c875c72a216cc2c3408dcf251b3.tar.gz
gentoo-8191465f13330c875c72a216cc2c3408dcf251b3.tar.bz2
gentoo-8191465f13330c875c72a216cc2c3408dcf251b3.zip
kde-frameworks/sonnet: 5.97.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/sonnet')
-rw-r--r--kde-frameworks/sonnet/Manifest1
-rw-r--r--kde-frameworks/sonnet/sonnet-5.97.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
index d8d254990ae6..40c7da4737da 100644
--- a/kde-frameworks/sonnet/Manifest
+++ b/kde-frameworks/sonnet/Manifest
@@ -1 +1,2 @@
DIST sonnet-5.96.0.tar.xz 308092 BLAKE2B 89c568becffb3a13f7583e6e34e6e2046715f1abf906c9cda60ad8c14723b4b0c0330c25172a233067deea09f4e687d5afb8f357ffd9536adb392275697c4173 SHA512 4625328b255112fd6d727db8e91d47b9fd45ab9b19a754dc6bee0de96a1002a9e812c7de0ddfdb4c146581192f8a36e1a274903d7525b6a0541e6bcf2641f6f9
+DIST sonnet-5.97.0.tar.xz 307820 BLAKE2B 4ca9fbab7c03eb22a8b4a8827996aa689ddf25b0a9981c826b86405edaf0bfe9753e4e8dbd676a6d7e63f57553180d235b36b62bfa75c0b255608ae867f9e4a1 SHA512 7b0b460e3e6ed4925033955768e91645e37a473bf3662306c7e912148387b28d507acc1efd36c6b001229b6d86ab863fc8f726aa4cc4b15e755ff1f560c6f770
diff --git a/kde-frameworks/sonnet/sonnet-5.97.0.ebuild b/kde-frameworks/sonnet/sonnet-5.97.0.ebuild
new file mode 100644
index 000000000000..6a624120445d
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.97.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.5
+VIRTUALX_REQUIRED="test"
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for providing spell-checking through abstraction of popular backends"
+
+LICENSE="LGPL-2+ LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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
+}