commit: 60ae79d5b705bcf9a503f30eef6d8ee1aba57c40
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 13 18:43:28 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 13 18:43:28 2021 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=60ae79d5
kde-frameworks/sonnet: Add IUSE qml
Upstream commit ec5e00ad8965d5a3ce430e8b4e14133e179a36b7
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-frameworks/sonnet/metadata.xml | 1 +
kde-frameworks/sonnet/sonnet-5.88.0.ebuild | 11 +++++++----
kde-frameworks/sonnet/sonnet-9999.ebuild | 11 +++++++----
3 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/kde-frameworks/sonnet/metadata.xml
b/kde-frameworks/sonnet/metadata.xml
index 2f06842351..3831387b76 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
index dfbc16b703..336d50b85f 100644
--- a/kde-frameworks/sonnet/sonnet-5.88.0.ebuild
+++ b/kde-frameworks/sonnet/sonnet-5.88.0.ebuild
@@ -9,25 +9,28 @@ 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"
+IUSE="aspell +hunspell nls qml"
-BDEPEND="
- nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
-"
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
diff --git a/kde-frameworks/sonnet/sonnet-9999.ebuild
b/kde-frameworks/sonnet/sonnet-9999.ebuild
index 897c6ca121..476cbfdc70 100644
--- a/kde-frameworks/sonnet/sonnet-9999.ebuild
+++ b/kde-frameworks/sonnet/sonnet-9999.ebuild
@@ -9,25 +9,28 @@ 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=""
-IUSE="aspell +hunspell nls"
+IUSE="aspell +hunspell nls qml"
-BDEPEND="
- nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
-"
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