summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-01-08 12:07:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-01-08 22:07:47 +0100
commit1b99c9fa74d7ca2466f2417da6e54354ebc0c5d0 (patch)
tree246d044c0af069431f8c0c0842ae1a02880cb9ef /kde-frameworks/sonnet
parentkde-frameworks/solid: 5.90.0 version bump (diff)
downloadgentoo-1b99c9fa74d7ca2466f2417da6e54354ebc0c5d0.tar.gz
gentoo-1b99c9fa74d7ca2466f2417da6e54354ebc0c5d0.tar.bz2
gentoo-1b99c9fa74d7ca2466f2417da6e54354ebc0c5d0.zip
kde-frameworks/sonnet: 5.90.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.90.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
index 9163b375ba45..6515252ad47a 100644
--- a/kde-frameworks/sonnet/Manifest
+++ b/kde-frameworks/sonnet/Manifest
@@ -1,2 +1,3 @@
DIST sonnet-5.88.0.tar.xz 305036 BLAKE2B 22923be6928540c0e46c3e9abd9452b2bf7595a25333a37b401d45bd3cc2d9c952b4c943781e9697bfe62b689d8e3e78e3df814e57192c0e31ef7d826752e1dc SHA512 3a4a7362794dc937d70f96e098c84530ef373f985e69b384922d0ba749cffaa760dabdc9a90a45a6b7cf413bcf20f7f10e2e6ba440c25bd0090d7aad42b77e41
DIST sonnet-5.89.0.tar.xz 307760 BLAKE2B 25469512546cbea045a1415373001bcb2110c5ab59b26097614be367f914e28092db3274dfd39fea7ab0fcb80d273d84dc7bba3870dadd78751ff95eb65bc5b9 SHA512 81e7d38b4c632892fab7b34e289b603864ac3af1891b4057c67e9e77bd3f4adeaf8e012d76f073a04ada5633c243f5750e8414d6411445006612af13d6d567f8
+DIST sonnet-5.90.0.tar.xz 308024 BLAKE2B 8c5960828906632361fd655d282dd3c6054e01fd45007ea9b5e4085951642c6bb0c57c6af0753beef9341f926e755300263a9b152fb03c0bb568413715d28fd4 SHA512 75adc7e45b8800601f2084c7d3ed88414e4f94f09fe682ca083b5c63fccbebb8e9009961513c1c8f609e5e7ebbfb41cc18ea35e7420a2ffb655b9479f3a368b0
diff --git a/kde-frameworks/sonnet/sonnet-5.90.0.ebuild b/kde-frameworks/sonnet/sonnet-5.90.0.ebuild
new file mode 100644
index 000000000000..61222f127afd
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.90.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
+}