summaryrefslogtreecommitdiff
path: root/kde-frameworks/sonnet
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-01-07 21:43:32 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2025-01-08 23:59:34 +0100
commit1e2b70e1e340b92c315660aa007d79676cf17b54 (patch)
tree135915c12dad6ce909c663fd5d330aeb5a53228e /kde-frameworks/sonnet
parent714c47b421621a921bb98ab979dc88041fa47ec0 (diff)
downloadkde-1e2b70e1e340b92c315660aa007d79676cf17b54.tar.gz
kde-1e2b70e1e340b92c315660aa007d79676cf17b54.tar.bz2
kde-1e2b70e1e340b92c315660aa007d79676cf17b54.zip
kde-frameworks/sonnet: 6.10.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-6.10.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
new file mode 100644
index 00000000000..2827c26ec81
--- /dev/null
+++ b/kde-frameworks/sonnet/Manifest
@@ -0,0 +1 @@
+DIST sonnet-6.10.0.tar.xz 2435832 BLAKE2B 74ba617a8b9048d15d10bc7b46b386b3ea8c29d51953bf38c74eabf08a9679204f21ba285d17873d7c5764641a7ace6a1ddfc82aeadd36d1db971783ab778b13 SHA512 3d9649640017afa4a114876a0e2da9a7d683a588a0e2e6ce97cba4e7103039e66b329eda27166d05d8e6bb43ca5fe4c5f29d77b2373cc7d9627d7fa38eec5275
diff --git a/kde-frameworks/sonnet/sonnet-6.10.0.ebuild b/kde-frameworks/sonnet/sonnet-6.10.0.ebuild
new file mode 100644
index 00000000000..c9d221cc0d9
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-6.10.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_DESIGNERPLUGIN="true"
+QTMIN=6.7.2
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for providing spell-checking through abstraction of popular backends"
+
+LICENSE="LGPL-2+ LGPL-2.1+"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="aspell +hunspell qml"
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[gui,widgets]
+ aspell? ( app-text/aspell )
+ hunspell? ( app-text/hunspell:= )
+ qml? ( >=dev-qt/qtdeclarative-${QTMIN}:6 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
+
+CMAKE_SKIP_TESTS=(
+ # bug 779994
+ sonnet-test_autodetect
+ # bug 680032
+ sonnet-test_settings
+ sonnet-test_highlighter
+)
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package aspell ASPELL)
+ $(cmake_use_find_package hunspell HUNSPELL)
+ -DSONNET_USE_QML=$(usex qml)
+ )
+ if ! use aspell && ! use hunspell; then
+ mycmakeargs+=( -DSONNET_NO_BACKENDS=ON )
+ fi
+
+ ecm_src_configure
+}