summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-09-13 12:40:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-13 15:19:28 +0200
commit784dfdf7bf43c94e3c8c73822c8b832d61aa7a30 (patch)
treea1d70696b6b266bd9624765a81511344baba3ce6 /kde-frameworks/sonnet
parentkde-frameworks/solid: 5.98.0 version bump (diff)
downloadgentoo-784dfdf7bf43c94e3c8c73822c8b832d61aa7a30.tar.gz
gentoo-784dfdf7bf43c94e3c8c73822c8b832d61aa7a30.tar.bz2
gentoo-784dfdf7bf43c94e3c8c73822c8b832d61aa7a30.zip
kde-frameworks/sonnet: 5.98.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.98.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
index 40c7da4737da..df12e822c99e 100644
--- a/kde-frameworks/sonnet/Manifest
+++ b/kde-frameworks/sonnet/Manifest
@@ -1,2 +1,3 @@
DIST sonnet-5.96.0.tar.xz 308092 BLAKE2B 89c568becffb3a13f7583e6e34e6e2046715f1abf906c9cda60ad8c14723b4b0c0330c25172a233067deea09f4e687d5afb8f357ffd9536adb392275697c4173 SHA512 4625328b255112fd6d727db8e91d47b9fd45ab9b19a754dc6bee0de96a1002a9e812c7de0ddfdb4c146581192f8a36e1a274903d7525b6a0541e6bcf2641f6f9
DIST sonnet-5.97.0.tar.xz 307820 BLAKE2B 4ca9fbab7c03eb22a8b4a8827996aa689ddf25b0a9981c826b86405edaf0bfe9753e4e8dbd676a6d7e63f57553180d235b36b62bfa75c0b255608ae867f9e4a1 SHA512 7b0b460e3e6ed4925033955768e91645e37a473bf3662306c7e912148387b28d507acc1efd36c6b001229b6d86ab863fc8f726aa4cc4b15e755ff1f560c6f770
+DIST sonnet-5.98.0.tar.xz 307848 BLAKE2B aa767ab37b075c8eb4cc78f97ca02b03e920e450a0c544d91726589611f54de6d36e5ac865a461dc8ef71aede17d0ef6d4362c5bbf92da4d3d7d86ff408e3a44 SHA512 165297c8376b812dcef612387b52a883dd0f6df3d3f381fe5b5bade26b3f0375ebd86a2568e2a90ca2b9c8fe632a3cf9d22f50bd61efeb04dcf15e3af3a87bc9
diff --git a/kde-frameworks/sonnet/sonnet-5.98.0.ebuild b/kde-frameworks/sonnet/sonnet-5.98.0.ebuild
new file mode 100644
index 000000000000..6a624120445d
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.98.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
+}