commit: 13569417edf2072ea1d6074e4ae8f5c7c74aff21
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 18:23:11 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 18:34:04 2024 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=13569417
app-office/kmymoney: Disable IUSE addressbook (treecleaned deps)
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-office/kmymoney/kmymoney-5.1.9999.ebuild | 18 +++++++++---------
app-office/kmymoney/kmymoney-9999.ebuild | 18 +++++++++---------
app-office/kmymoney/metadata.xml | 2 +-
3 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/app-office/kmymoney/kmymoney-5.1.9999.ebuild
b/app-office/kmymoney/kmymoney-5.1.9999.ebuild
index 1d81d132dd..dd5cb58fc2 100644
--- a/app-office/kmymoney/kmymoney-5.1.9999.ebuild
+++ b/app-office/kmymoney/kmymoney-5.1.9999.ebuild
@@ -21,9 +21,14 @@ fi
LICENSE="GPL-2"
SLOT="5"
-IUSE="activities addressbook calendar hbci holidays"
+IUSE="activities calendar hbci holidays" # addressbook
[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
+# addressbook? (
+# >=kde-apps/akonadi-23.04:5
+# >=kde-apps/kidentitymanagement-23.04:5
+# >=kde-frameworks/kcontacts-${KFMIN}:5
+# )
RDEPEND="
>=app-crypt/gpgme-1.7.1-r1:=[cxx]
>=app-office/libalkimia-7.0.0:=
@@ -62,11 +67,6 @@ RDEPEND="
>=kde-frameworks/kxmlgui-${KFMIN}:5
>=kde-frameworks/sonnet-${KFMIN}:5
activities? ( >=kde-plasma/plasma-activities-${KFMIN}:5 )
- addressbook? (
- >=kde-apps/akonadi-23.04:5
- >=kde-apps/kidentitymanagement-23.04:5
- >=kde-frameworks/kcontacts-${KFMIN}:5
- )
calendar? ( dev-libs/libical:= )
hbci? (
>=dev-qt/qtdeclarative-${QTMIN}:5
@@ -96,9 +96,9 @@ src_configure() {
-DENABLE_WOOB=OFF # ported to Py3; not yet re-added in Gentoo
-DUSE_QT_DESIGNER=OFF
$(cmake_use_find_package activities KF5Activities)
- $(cmake_use_find_package addressbook KF5Contacts)
- $(cmake_use_find_package addressbook KPim5Akonadi)
- $(cmake_use_find_package addressbook KPim5IdentityManagement)
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5Contacts=ON # $(usex
addressbook)
+ -DCMAKE_DISABLE_FIND_PACKAGE_KPim5Akonadi=ON # $(usex
addressbook)
+ -DCMAKE_DISABLE_FIND_PACKAGE_KPim5IdentityManagement=ON #
$(usex addressbook)
-DENABLE_LIBICAL=$(usex calendar)
-DENABLE_KBANKING=$(usex hbci)
$(cmake_use_find_package holidays KF5Holidays)
diff --git a/app-office/kmymoney/kmymoney-9999.ebuild
b/app-office/kmymoney/kmymoney-9999.ebuild
index 3125457a3f..30ccb669cd 100644
--- a/app-office/kmymoney/kmymoney-9999.ebuild
+++ b/app-office/kmymoney/kmymoney-9999.ebuild
@@ -20,9 +20,14 @@ fi
LICENSE="GPL-2"
SLOT="5"
-IUSE="activities addressbook calendar hbci holidays"
+IUSE="activities calendar hbci holidays" # addressbook
[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
+# addressbook? (
+# >=kde-apps/akonadi-23.04:5
+# >=kde-apps/kidentitymanagement-23.04:5
+# >=kde-frameworks/kcontacts-${KFMIN}:5
+# )
RDEPEND="
>=app-crypt/gpgme-1.7.1-r1:=[cxx]
>=app-office/libalkimia-7.0.0:=
@@ -59,11 +64,6 @@ RDEPEND="
>=kde-frameworks/kxmlgui-${KFMIN}:5
>=kde-frameworks/sonnet-${KFMIN}:5
activities? ( >=kde-plasma/plasma-activities-${KFMIN}:5 )
- addressbook? (
- >=kde-apps/akonadi-23.04:5
- >=kde-apps/kidentitymanagement-23.04:5
- >=kde-frameworks/kcontacts-${KFMIN}:5
- )
calendar? ( dev-libs/libical:= )
hbci? (
>=dev-qt/qtdeclarative-${QTMIN}:5
@@ -92,9 +92,9 @@ src_configure() {
-DENABLE_WOOB=OFF # ported to Py3; not yet re-added in Gentoo
-DUSE_QT_DESIGNER=OFF
$(cmake_use_find_package activities KF5Activities)
- $(cmake_use_find_package addressbook KF5Contacts)
- $(cmake_use_find_package addressbook KPim5Akonadi)
- $(cmake_use_find_package addressbook KPim5IdentityManagement)
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5Contacts=ON # $(usex
addressbook)
+ -DCMAKE_DISABLE_FIND_PACKAGE_KPim5Akonadi=ON # $(usex
addressbook)
+ -DCMAKE_DISABLE_FIND_PACKAGE_KPim5IdentityManagement=ON #
$(usex addressbook)
-DENABLE_LIBICAL=$(usex calendar)
-DENABLE_KBANKING=$(usex hbci)
$(cmake_use_find_package holidays KF5Holidays)
diff --git a/app-office/kmymoney/metadata.xml b/app-office/kmymoney/metadata.xml
index 610446e10b..cc8d76c3a3 100644
--- a/app-office/kmymoney/metadata.xml
+++ b/app-office/kmymoney/metadata.xml
@@ -10,7 +10,7 @@
</upstream>
<use>
<flag name="activities">Enable
<pkg>kde-plasma/plasma-activities</pkg> integration</flag>
- <flag name="addressbook">Enable <pkg>kde-apps/akonadi</pkg>
contact integration</flag>
+<!-- <flag name="addressbook">Enable <pkg>kde-apps/akonadi</pkg>
contact integration</flag> -->
<flag name="experimental">Build unfinished features. DANGEROUS
to set - this *will* chew up data</flag>
<flag name="hbci">Enable HBCI support using
<pkg>net-libs/aqbanking</pkg></flag>
<flag name="holidays">Enable
<pkg>kde-frameworks/kholidays</pkg> integration</flag>