summaryrefslogtreecommitdiff
path: root/kde-frameworks/sonnet
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/sonnet')
-rw-r--r--kde-frameworks/sonnet/Manifest1
-rw-r--r--kde-frameworks/sonnet/sonnet-6.18.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..33b611bdacf
--- /dev/null
+++ b/kde-frameworks/sonnet/Manifest
@@ -0,0 +1 @@
+DIST sonnet-6.18.0.tar.xz 2413184 BLAKE2B 67e99e67800e4aecf6872c6c270375ce57095031b09fec08e8095af842ea9f800def1cfbdb44adcc794fba0574678beeac0c0add6a330e42826da098a37c6511 SHA512 885b308876c5055a5ad46153e7e3be06d2b454cd3e80f59ad3be597762130aadca3db3e025c8907ae2a83abf60986c414dd9afb33b7865868faaad54645e53df
diff --git a/kde-frameworks/sonnet/sonnet-6.18.0.ebuild b/kde-frameworks/sonnet/sonnet-6.18.0.ebuild
new file mode 100644
index 00000000000..5a467857ea1
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-6.18.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2025 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 ~loong ~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
+}