summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-frameworks/sonnet/Manifest1
-rw-r--r--kde-frameworks/sonnet/sonnet-5.248.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
index 840405a34c5..c6dee0cc9d0 100644
--- a/kde-frameworks/sonnet/Manifest
+++ b/kde-frameworks/sonnet/Manifest
@@ -1 +1,2 @@
DIST sonnet-5.114.0.tar.xz 2437940 BLAKE2B c25aea5ac89a4a7d229db0579c2bcb0e79bc53726b4de63980049bb87b9619b3efc397147ba3329ea01093054e4c904407b1ee5117b8d9970ef59dcbb3270715 SHA512 42b8c429cbe49bf239211ff195871596026152b0e6dcc9dbfdadb9b8074a8826943ef3c08497e50b01d8fc721a02690df05407ea84a07536bd5e947e39865b8d
+DIST sonnet-5.248.0.tar.xz 2441912 BLAKE2B 974172abd440a8cda0943dee6518222e86c82a019f8a0be7744fd4c21df5ba97072aefd9d43dc100cfa33ade0d430e3fb6bcd156cb28199aa0a002a2eacff103 SHA512 201387be5ec8185d4eab3f60bfe9ba30ca49d83514dff3a43a301ce13a2f037aa7756efe55b34b9ceda946dbf1db6ecc87944d2238431b4d9ba24a078f5d4105
diff --git a/kde-frameworks/sonnet/sonnet-5.248.0.ebuild b/kde-frameworks/sonnet/sonnet-5.248.0.ebuild
new file mode 100644
index 00000000000..a444c4c6799
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.248.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_DESIGNERPLUGIN="true"
+QTMIN=6.6.0
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for providing spell-checking through abstraction of popular backends"
+
+LICENSE="LGPL-2+ LGPL-2.1+"
+KEYWORDS="~amd64"
+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)
+ )
+
+ ecm_src_configure
+}