diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest index 8f9c17bd08fd9..62f831e7a9f1f 100644 --- a/kde-frameworks/sonnet/Manifest +++ b/kde-frameworks/sonnet/Manifest @@ -1 +1,2 @@ DIST sonnet-6.27.0.tar.xz 2414320 BLAKE2B d191c9ccee9f3638b4404d8ca60705aa77fc2fe1e8807389c5e6a0e9833bd3d6e43cf83bc95446a902326dfe8631e4a21417cbc7b06728e9520bef18b7d7bb2f SHA512 dd39addd26f495bcdbb3b19ca58fb2b08b623638d246b9d33378720e75196f66beef3aa6c79aec50ab073997842724c3f7b287004e42937daf376c71a4c44d43 +DIST sonnet-6.28.0.tar.xz 2414224 BLAKE2B a0c4634cd6766d1af9c1d3822b6e9ee36c287e0b9710bb33f747c14e8d70bc6a7a369ed24f939e66e49ff8b387363fc314c3f2934ff8df8125c733915b1d651a SHA512 6bd44d3a95df42924b7bf66c0fff419c54db10617f28cf78cec7beb4bc4cdc9c9b6425cf2d91ed172e080fb0cc50a0a694686f108e1ce22af0c0774f515838bd diff --git a/kde-frameworks/sonnet/sonnet-6.28.0.ebuild b/kde-frameworks/sonnet/sonnet-6.28.0.ebuild new file mode 100644 index 0000000000000..9521f872aad59 --- /dev/null +++ b/kde-frameworks/sonnet/sonnet-6.28.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_DESIGNERPLUGIN="true" +QTMIN=6.10.1 +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 +}