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/