From 00e134dafc9e9d7eff64d412cdf402f9b9a2b033 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 10 Nov 2024 23:11:06 +0100 Subject: [PATCH] kde-apps/kdepim-addons: Add IUSE activities Upstream commit d8db1c059b447090d28ad2920a055e303058e6bb Signed-off-by: Andreas Sturmlechner --- kde-apps/kdepim-addons/kdepim-addons-9999.ebuild | 6 ++++-- kde-apps/kdepim-addons/metadata.xml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild index a3a7771955f..5d783baa0ce 100644 --- a/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild +++ b/kde-apps/kdepim-addons/kdepim-addons-9999.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://apps.kde.org/kontact/" LICENSE="GPL-2+ LGPL-2.1+" SLOT="6" KEYWORDS="" -IUSE="importwizard markdown" +IUSE="activities importwizard markdown" RESTRICT="test" @@ -42,7 +42,7 @@ RDEPEND=" >=kde-apps/libktnef-${PVCUT}:6 >=kde-apps/mailcommon-${PVCUT}:6 >=kde-apps/messagelib-${PVCUT}:6 - >=kde-apps/pimcommon-${PVCUT}:6 + >=kde-apps/pimcommon-${PVCUT}:6[activities?] >=kde-frameworks/kcolorscheme-${KFMIN}:6 >=kde-frameworks/kcompletion-${KFMIN}:6 >=kde-frameworks/kconfig-${KFMIN}:6 @@ -60,6 +60,7 @@ RDEPEND=" >=kde-frameworks/kxmlgui-${KFMIN}:6 >=kde-frameworks/prison-${KFMIN}:6 >=kde-frameworks/syntax-highlighting-${KFMIN}:6 + activities? ( kde-plasma/plasma-activities:6 ) importwizard? ( >=kde-apps/akonadi-import-wizard-${PVCUT}:6 ) markdown? ( app-text/discount:= ) " @@ -70,6 +71,7 @@ src_configure() { # not packaged (bug 911819), but if present leads to rust shenanigans -DCMAKE_DISABLE_FIND_PACKAGE_Corrosion=ON # for adblock support, bug 940898 -DCMAKE_DISABLE_FIND_PACKAGE_KLLMCore=ON # utilities/alpaka, not packaged + -DOPTION_USE_PLASMA_ACTIVITIES=$(usex activities) $(cmake_use_find_package importwizard KPim6ImportWizard) $(cmake_use_find_package markdown Discount) ) diff --git a/kde-apps/kdepim-addons/metadata.xml b/kde-apps/kdepim-addons/metadata.xml index ad367e9b99a..1c11d8c6883 100644 --- a/kde-apps/kdepim-addons/metadata.xml +++ b/kde-apps/kdepim-addons/metadata.xml @@ -9,6 +9,7 @@ https://bugs.kde.org/ + Enable Plasma Activities support via kde-plasma/plasma-activities Enable additional import plugins for kde-apps/akonadi-import-wizard Enable Markdown support via app-text/discount