diff options
-rw-r--r-- | kde-frameworks/sonnet/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/sonnet/sonnet-6.4.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest index 380111d13f46..594b9027b6f4 100644 --- a/kde-frameworks/sonnet/Manifest +++ b/kde-frameworks/sonnet/Manifest @@ -1,2 +1,3 @@ DIST sonnet-5.116.0.tar.xz 2406608 BLAKE2B 9ccdcf3ff032182ea5a76de9b2a523c48ada455cda5b997d534042bf25371c95bfc017d6d8c57fc16b49ad41e8049b0f51ea10c392b7bb4ba9d54d9de3ab26c0 SHA512 d40f721679f77d0eef706eddaa4369c63bb28a45852f0ad8f09518762ef249983dcdc1b4fac2b08fa37b2f4d53a6c301ec1abe2aab2af075ee52d442c248e88b DIST sonnet-6.3.0.tar.xz 2432984 BLAKE2B 015cb21c2e528258eeaa2962451d022fe7e46ae79d4e19bead2e856aba718801b3f384c2f57875685c2985502b41c57ac8e46e7388c756023d50c4fd717a312a SHA512 6d80a047db12fe2ef8de17f40beb4174370faf7923de9380084f89a3ec800f622c54a66d3f95cd3ec13748fe083b37d4c6bbb825cd8ef1fd02ec0f5caf466a99 +DIST sonnet-6.4.0.tar.xz 2432824 BLAKE2B fdc79f7c2843cef02d15456a230bcefa64773630c06913db71ec0939d50bcd8016b2c70312f3704c132af59fade6822524022bf524f0840e4e9e048c0ce77817 SHA512 1b51674606c9ea3e898051f187c0ec85f2676d6f0c8ec5ab5a0f43931c7e7d8c96bd7b0bff5a43a4c62be825b0dc5b6b82a77adfacbdbf04615fb5e52bfa1b48 diff --git a/kde-frameworks/sonnet/sonnet-6.4.0.ebuild b/kde-frameworks/sonnet/sonnet-6.4.0.ebuild new file mode 100644 index 000000000000..c1dc6ae8cb00 --- /dev/null +++ b/kde-frameworks/sonnet/sonnet-6.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_DESIGNERPLUGIN="true" +QTMIN=6.6.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 ~riscv" +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]" + +PATCHES=( "${FILESDIR}/${PN}-6.3.0-cmake.patch" ) # in 6.5; bug 935488 + +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 +} |