commit:     1ce9b1bf3c6599e959d652e9eef1e8c7564b8fb5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 19:32:10 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 19:40:51 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=1ce9b1bf

kde-frameworks/purpose: Re-add IUSE kaccounts

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/purpose/purpose-9999.ebuild | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/kde-frameworks/purpose/purpose-9999.ebuild 
b/kde-frameworks/purpose/purpose-9999.ebuild
index f4a081da12..a46c0a18c7 100644
--- a/kde-frameworks/purpose/purpose-9999.ebuild
+++ b/kde-frameworks/purpose/purpose-9999.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Library for providing abstractions to get the 
developer's purposes
 
 LICENSE="LGPL-2.1+"
 KEYWORDS=""
-IUSE="bluetooth"
+IUSE="bluetooth +kaccounts"
 
 # requires running environment
 RESTRICT="test"
@@ -29,17 +29,17 @@ DEPEND="
        =kde-frameworks/knotifications-${PVCUT}*:6
        =kde-frameworks/kservice-${PVCUT}*:6
        =kde-frameworks/prison-${PVCUT}*:6
+       kaccounts? (
+               kde-apps/kaccounts-integration:6
+               net-libs/accounts-qt
+       )
 "
-#      kaccounts? (
-#              >=kde-apps/kaccounts-integration-19.04.3:6
-#              net-libs/accounts-qt
-#      )
 RDEPEND="${DEPEND}
        !${CATEGORY}/${PN}:5[-kf6compat(-)]
        >=kde-frameworks/kdeclarative-${PVCUT}:6
        bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:6 )
+       kaccounts? ( net-libs/accounts-qml )
 "
-#      kaccounts? ( net-libs/accounts-qml )
 
 src_prepare() {
        ecm_src_prepare
@@ -48,13 +48,13 @@ src_prepare() {
                cmake_run_in src/plugins cmake_comment_add_subdirectory 
bluetooth
 }
 
-# src_configure() {
-#      local mycmakeargs=(
-#              $(cmake_use_find_package kaccounts KAccounts)
-#      )
-# 
-#      ecm_src_configure
-# }
+src_configure() {
+       local mycmakeargs=(
+               $(cmake_use_find_package kaccounts KAccounts)
+       )
+
+       ecm_src_configure
+}
 
 pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then

Reply via email to