diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-13 20:20:09 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-13 20:58:16 +0100 |
commit | 14003368cd1f1a3f313245847b3dc8f8224aed24 (patch) | |
tree | 6f34e743d969038e700f871c1b03fc7a8d53d448 /kde-frameworks/sonnet | |
parent | kde-frameworks/solid: 5.88.0 version bump (diff) | |
download | gentoo-14003368cd1f1a3f313245847b3dc8f8224aed24.tar.gz gentoo-14003368cd1f1a3f313245847b3dc8f8224aed24.tar.bz2 gentoo-14003368cd1f1a3f313245847b3dc8f8224aed24.zip |
kde-frameworks/sonnet: 5.88.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/sonnet')
-rw-r--r-- | kde-frameworks/sonnet/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/sonnet/metadata.xml | 1 | ||||
-rw-r--r-- | kde-frameworks/sonnet/sonnet-5.88.0.ebuild | 47 |
3 files changed, 49 insertions, 0 deletions
diff --git a/kde-frameworks/sonnet/Manifest b/kde-frameworks/sonnet/Manifest index fe996a365824..b88291914e9b 100644 --- a/kde-frameworks/sonnet/Manifest +++ b/kde-frameworks/sonnet/Manifest @@ -1,2 +1,3 @@ DIST sonnet-5.85.0.tar.xz 297068 BLAKE2B 7f5bad0ebe851443dd2150be3784442008ffd7ad7acdacb42d0f3495490477a1f570a0aec6dd1b600ca01a5f9fa13c87f56cceb50c98cc2ab399ce85bc04c369 SHA512 50ed8787a8c7378574376ef0539b211eafb349f139fabe6d22788af91d57e758c994ddfdf72d83d76009570dbc8dd4bcb3df3add5c9dc17347b9263e09969930 DIST sonnet-5.87.0.tar.xz 297372 BLAKE2B d889e81eb6553adb241ad47c4687faec8460d9949c6612dadc59ad383eb82fe909dd79a0ce67738acc2db3818c1e096dbf68c0c79e751176ee0b7c536cee3b12 SHA512 ca3f2abe345c50d6914a6a76aa1983992703161424eced64cad8e190d5ae04770164c624e9d1d619bb8aaafb942e322f8c0267568d3f181e0dd6de9b05cc37fd +DIST sonnet-5.88.0.tar.xz 305036 BLAKE2B 22923be6928540c0e46c3e9abd9452b2bf7595a25333a37b401d45bd3cc2d9c952b4c943781e9697bfe62b689d8e3e78e3df814e57192c0e31ef7d826752e1dc SHA512 3a4a7362794dc937d70f96e098c84530ef373f985e69b384922d0ba749cffaa760dabdc9a90a45a6b7cf413bcf20f7f10e2e6ba440c25bd0090d7aad42b77e41 diff --git a/kde-frameworks/sonnet/metadata.xml b/kde-frameworks/sonnet/metadata.xml index 2f06842351f9..3831387b762d 100644 --- a/kde-frameworks/sonnet/metadata.xml +++ b/kde-frameworks/sonnet/metadata.xml @@ -12,6 +12,7 @@ <flag name="aspell">Enable the app-text/aspell spell-checking backend</flag> <flag name="designer">Build plugins for <pkg>dev-qt/designer</pkg></flag> <flag name="hunspell">Enable the app-text/hunspell spell-checking backend</flag> + <flag name="qml">Enable QML/QtQuick support via dev-qt/qtdeclarative</flag> </use> <slots> <subslots> diff --git a/kde-frameworks/sonnet/sonnet-5.88.0.ebuild b/kde-frameworks/sonnet/sonnet-5.88.0.ebuild new file mode 100644 index 000000000000..336d50b85f6a --- /dev/null +++ b/kde-frameworks/sonnet/sonnet-5.88.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_DESIGNERPLUGIN="true" +QTMIN=5.15.2 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="Framework for providing spell-checking through abstraction of popular backends" + +LICENSE="LGPL-2+ LGPL-2.1+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="aspell +hunspell nls 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=" + nls? ( >=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 +} |