commit:     10ea09dba24809f701d2d2913014110df0f38492
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 24 14:33:26 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 14:53:10 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=10ea09db

kde-misc/kio-gdrive: Add missing cmake switch and REQUIRED_USE

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-misc/kio-gdrive/kio-gdrive-9999.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/kde-misc/kio-gdrive/kio-gdrive-9999.ebuild 
b/kde-misc/kio-gdrive/kio-gdrive-9999.ebuild
index 57cfe47121..6fa37a382b 100644
--- a/kde-misc/kio-gdrive/kio-gdrive-9999.ebuild
+++ b/kde-misc/kio-gdrive/kio-gdrive-9999.ebuild
@@ -19,7 +19,8 @@ SLOT="5"
 KEYWORDS=""
 IUSE="+kaccounts +share"
 
-BDEPEND="dev-util/intltool"
+REQUIRED_USE="share? ( kaccounts )"
+
 COMMON_DEPEND="
        >=dev-qt/qtgui-${QTMIN}:5
        >=dev-qt/qtwidgets-${QTMIN}:5
@@ -38,12 +39,14 @@ DEPEND="${COMMON_DEPEND}
 RDEPEND="${COMMON_DEPEND}
        kaccounts? ( >=kde-apps/kaccounts-providers-20.08.3:5 )
 "
+BDEPEND="dev-util/intltool"
 
 DOCS=( README.md )
 
 src_configure() {
        local mycmakeargs=(
                $(cmake_use_find_package kaccounts KAccounts)
+               $(cmake_use_find_package share KF5Purpose)
        )
        ecm_src_configure
 }

Reply via email to