aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-10 18:30:11 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-11 08:19:41 +0200
commite7cc394d9efaa259be26311d31caf7b501d78dfe (patch)
treea5db41e31e1024d69698809607baac04f7a73fc4 /kde-apps/korganizer
parentapp-office/merkuro: Add new dependency (diff)
downloadkde-e7cc394d9efaa259be26311d31caf7b501d78dfe.tar.gz
kde-e7cc394d9efaa259be26311d31caf7b501d78dfe.tar.bz2
kde-e7cc394d9efaa259be26311d31caf7b501d78dfe.zip
kde-apps/korganizer: Add IUSE activities
Upstream commit fc87e86eaebf698d46b91e00ad7d18b17dbbfdbb Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/korganizer')
-rw-r--r--kde-apps/korganizer/korganizer-9999.ebuild4
-rw-r--r--kde-apps/korganizer/metadata.xml3
2 files changed, 6 insertions, 1 deletions
diff --git a/kde-apps/korganizer/korganizer-9999.ebuild b/kde-apps/korganizer/korganizer-9999.ebuild
index e630330f96..8476bfb10c 100644
--- a/kde-apps/korganizer/korganizer-9999.ebuild
+++ b/kde-apps/korganizer/korganizer-9999.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/korganizer/"
LICENSE="GPL-2+ handbook? ( FDL-1.2+ )"
SLOT="6"
KEYWORDS=""
-IUSE="telemetry"
+IUSE="activities telemetry"
# testkodaymatrix is broken, akonadi* tests need DBus, bug #665686
RESTRICT="test"
@@ -58,6 +58,7 @@ COMMON_DEPEND="
>=kde-frameworks/kwindowsystem-${KFMIN}:6
>=kde-frameworks/kxmlgui-${KFMIN}:6
x11-libs/libX11
+ activities? ( kde-plasma/plasma-activities:6 )
telemetry? ( >=kde-frameworks/kuserfeedback-${KFMIN}:6 )
"
DEPEND="${COMMON_DEPEND}
@@ -71,6 +72,7 @@ BDEPEND="test? ( >=kde-apps/akonadi-${PVCUT}:6[tools] )"
src_configure() {
local mycmakeargs=(
+ -DOPTION_USE_PLASMA_ACTIVITIES=$(usex activities)
$(cmake_use_find_package telemetry KF6UserFeedback)
)
diff --git a/kde-apps/korganizer/metadata.xml b/kde-apps/korganizer/metadata.xml
index 93144656e4..cd1d05c491 100644
--- a/kde-apps/korganizer/metadata.xml
+++ b/kde-apps/korganizer/metadata.xml
@@ -9,4 +9,7 @@
<bugs-to>https://bugs.kde.org/</bugs-to>
<remote-id type="kde-invent">pim/korganizer</remote-id>
</upstream>
+ <use>
+ <flag name="activities">Enable Plasma Activities support via <pkg>kde-plasma/plasma-activities</pkg></flag>
+ </use>
</pkgmetadata>