diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-13 19:43:28 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-13 19:43:28 +0100 |
| commit | 60ae79d5b705bcf9a503f30eef6d8ee1aba57c40 (patch) | |
| tree | a87375f3c4ddc7a1736400e026a03016462ec968 | |
| parent | f7175e293ffe904b6b61dfa9411cb545816d4649 (diff) | |
| download | kde-60ae79d5b705bcf9a503f30eef6d8ee1aba57c40.tar.gz kde-60ae79d5b705bcf9a503f30eef6d8ee1aba57c40.tar.bz2 kde-60ae79d5b705bcf9a503f30eef6d8ee1aba57c40.zip | |
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@gentoo.org>
| -rw-r--r-- | kde-frameworks/sonnet/metadata.xml | 1 | ||||
| -rw-r--r-- | kde-frameworks/sonnet/sonnet-5.88.0.ebuild | 11 | ||||
| -rw-r--r-- | 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 2f06842351f..3831387b762 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 dfbc16b7039..336d50b85f6 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 897c6ca121a..476cbfdc700 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 |
