summaryrefslogtreecommitdiff
path: root/kde-frameworks
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-03-04 13:42:10 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-03-04 13:42:10 +0100
commit489f838f8f102ba7d363e158d40ac77d4529ab5a (patch)
tree5ae326d75b5705fce671df5567c6fc7a3f545dfe /kde-frameworks
parenta6b8521701823c8280326363cca7a58afb6a0f91 (diff)
downloadkde-489f838f8f102ba7d363e158d40ac77d4529ab5a.tar.gz
kde-489f838f8f102ba7d363e158d40ac77d4529ab5a.tar.bz2
kde-489f838f8f102ba7d363e158d40ac77d4529ab5a.zip
kde-frameworks/sonnet: 5.104.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.104.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest
new file mode 100644
index 00000000000..182c7b22612
--- /dev/null
+++ b/kde-frameworks/sonnet/Manifest
@@ -0,0 +1 @@
+DIST sonnet-5.104.0.tar.xz 2437856 BLAKE2B e2d4121859d14f388f5ec5920903527b211542b73bf2813b7bc645dcb346101b349b81528eae7f64a0ac7f15c4e2866b14b03e14ae917d0e9a2310b31810a185 SHA512 6d5fc4b1d1fec57aabee95ec516ad6978a36cbd5ae0e475086452e4761899b9b44b8804ae4db4fb4d71ea9b8df3044c1db7d212b9a153549647e82656e677a87
diff --git a/kde-frameworks/sonnet/sonnet-5.104.0.ebuild b/kde-frameworks/sonnet/sonnet-5.104.0.ebuild
new file mode 100644
index 00000000000..7a7c5fa14e0
--- /dev/null
+++ b/kde-frameworks/sonnet/sonnet-5.104.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_DESIGNERPLUGIN="true"
+QTMIN=5.15.5
+VIRTUALX_REQUIRED="test"
+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
+}