summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-06-10 11:56:44 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-06-10 12:02:12 +0200
commit6c179b217458d048e78f1eb5df0eab43b8f4c498 (patch)
treeccb4ba39ec722a3dbc0f742adcdf97410bc003d5 /kde-frameworks
parentkde-frameworks/solid: 5.107.0 version bump (diff)
downloadgentoo-6c179b217458d048e78f1eb5df0eab43b8f4c498.tar.gz
gentoo-6c179b217458d048e78f1eb5df0eab43b8f4c498.tar.bz2
gentoo-6c179b217458d048e78f1eb5df0eab43b8f4c498.zip
kde-frameworks/sonnet: 5.107.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/sonnet/Manifest1
-rw-r--r--kde-frameworks/sonnet/sonnet-5.107.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
index 2e2740085ee5..833e04b0c47a 100644
--- a/kde-frameworks/sonnet/Manifest
+++ b/kde-frameworks/sonnet/Manifest
@@ -1,2 +1,3 @@
DIST sonnet-5.104.0.tar.xz 2437856 BLAKE2B e2d4121859d14f388f5ec5920903527b211542b73bf2813b7bc645dcb346101b349b81528eae7f64a0ac7f15c4e2866b14b03e14ae917d0e9a2310b31810a185 SHA512 6d5fc4b1d1fec57aabee95ec516ad6978a36cbd5ae0e475086452e4761899b9b44b8804ae4db4fb4d71ea9b8df3044c1db7d212b9a153549647e82656e677a87
DIST sonnet-5.106.0.tar.xz 2437976 BLAKE2B 4e4381deb24972747f5c74a783e4e8c009058c2a15a0aa67a71c7b1cddfb1d5f58352a7db2beb0e4c5d763728e5b40b45f7fbd640601410240ee73ffb01b20ec SHA512 dbcb20e6dbb8d7de2690734bbf931d94db0454ab11f5607ac2ed8acfd89edde8adaf86e5966cb30a7c1789d750f28d8fd9d03a141f8a7fca2a3d061e8adfc454
+DIST sonnet-5.107.0.tar.xz 2437636 BLAKE2B b2897e5cabf34b80d2a263215ca33af77fba9349468a7b4320fe09ff84cc2b27e451f6b02c0362283107a2dab36890a7259d8623479b4b000c15a91db90e99c9 SHA512 e6ade0e2947f967cdd41608183d86538f0ab9b109cf85c1a5adf6f555903b0fcb167ae5462674e9e330a7c7d4fba92421949b197b5936b78ab72d2f324838e14
diff --git a/kde-frameworks/sonnet/sonnet-5.107.0.ebuild b/kde-frameworks/sonnet/sonnet-5.107.0.ebuild
new file mode 100644
index 000000000000..88946dbe4933
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.107.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_DESIGNERPLUGIN="true"
+QTMIN=5.15.9
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for providing spell-checking through abstraction of popular backends"
+
+LICENSE="LGPL-2+ LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="aspell +hunspell qml"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ aspell? ( app-text/aspell )
+ hunspell? ( app-text/hunspell:= )
+ qml? ( >=dev-qt/qtdeclarative-${QTMIN}:5 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package aspell ASPELL)
+ $(cmake_use_find_package hunspell HUNSPELL)
+ -DSONNET_USE_QML=$(usex qml)
+ )
+
+ ecm_src_configure
+}
+
+src_test() {
+ # sonnet-test_settings: bug 680032
+ # sonnet-test_autodetect: bug 779994
+ local myctestargs=(
+ -E "(sonnet-test_autodetect|sonnet-test_settings|sonnet-test_highlighter)"
+ )
+
+ ecm_src_test
+}