aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-10 20:36:17 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-11 08:19:52 +0200
commit1f659daa44547729249a499e61c737bd80f8ef3a (patch)
treeca09fc5398351ef40805134f257ad75c33968229 /kde-apps/kaddressbook
parentkde-apps/kalarm: Add IUSE mpv (diff)
downloadkde-1f659daa44547729249a499e61c737bd80f8ef3a.tar.gz
kde-1f659daa44547729249a499e61c737bd80f8ef3a.tar.bz2
kde-1f659daa44547729249a499e61c737bd80f8ef3a.zip
kde-apps/kaddressbook: Add IUSE activities
Upstream commits: f87246cd8049176d4574c854bc336e17edbfe108 05e3e59bf58da81b8a883126143bd7641c8969a5 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kaddressbook')
-rw-r--r--kde-apps/kaddressbook/kaddressbook-9999.ebuild4
-rw-r--r--kde-apps/kaddressbook/metadata.xml3
2 files changed, 6 insertions, 1 deletions
diff --git a/kde-apps/kaddressbook/kaddressbook-9999.ebuild b/kde-apps/kaddressbook/kaddressbook-9999.ebuild
index e756df728b..9371db68c5 100644
--- a/kde-apps/kaddressbook/kaddressbook-9999.ebuild
+++ b/kde-apps/kaddressbook/kaddressbook-9999.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/kaddressbook/"
LICENSE="GPL-2+ handbook? ( FDL-1.2+ )"
SLOT="6"
KEYWORDS=""
-IUSE="telemetry"
+IUSE="activities telemetry"
DEPEND="
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
@@ -46,6 +46,7 @@ DEPEND="
>=kde-frameworks/kservice-${KFMIN}:6
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
>=kde-frameworks/kxmlgui-${KFMIN}:6
+ activities? ( kde-plasma/plasma-activities:6 )
telemetry? ( >=kde-frameworks/kuserfeedback-${KFMIN}:6 )
"
RDEPEND="${DEPEND}
@@ -54,6 +55,7 @@ RDEPEND="${DEPEND}
src_configure() {
local mycmakeargs=(
+ -DOPTION_USE_PLASMA_ACTIVITIES=$(usex activities)
$(cmake_use_find_package telemetry KF6UserFeedback)
)
diff --git a/kde-apps/kaddressbook/metadata.xml b/kde-apps/kaddressbook/metadata.xml
index 96bdebeb58..b1f26c25b4 100644
--- a/kde-apps/kaddressbook/metadata.xml
+++ b/kde-apps/kaddressbook/metadata.xml
@@ -9,4 +9,7 @@
<bugs-to>https://bugs.kde.org/</bugs-to>
<remote-id type="kde-invent">pim/kaddressbook</remote-id>
</upstream>
+ <use>
+ <flag name="activities">Enable Plasma Activities support via <pkg>kde-plasma/plasma-activities</pkg></flag>
+ </use>
</pkgmetadata>