commit: 898cceccced471385bcb68e2326c535a6e26623f
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 11 17:07:54 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 17:09:25 2024 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=898ccecc
kde-apps/mailcommon: Add IUSE activities, update dependencies
Upstream commits:
194b88c206568a62519c1dbfd22fd875628db153
4b0e71b62292781f923430244fc8d27444417393
60396904de04823c2021ccdb066f078f2f098b1d
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-apps/mailcommon/mailcommon-9999.ebuild | 13 ++++++++++---
kde-apps/mailcommon/metadata.xml | 2 ++
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/kde-apps/mailcommon/mailcommon-9999.ebuild
b/kde-apps/mailcommon/mailcommon-9999.ebuild
index eca1ba5c10..69cf885b9d 100644
--- a/kde-apps/mailcommon/mailcommon-9999.ebuild
+++ b/kde-apps/mailcommon/mailcommon-9999.ebuild
@@ -16,7 +16,7 @@ DESCRIPTION="Common mail library"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="6"
KEYWORDS=""
-IUSE=""
+IUSE="activities"
RESTRICT="test"
@@ -34,7 +34,7 @@ DEPEND="
>=kde-apps/libkdepim-${PVCUT}:6
>=kde-apps/mailimporter-${PVCUT}:6
>=kde-apps/messagelib-${PVCUT}:6
- >=kde-apps/pimcommon-${PVCUT}:6
+ >=kde-apps/pimcommon-${PVCUT}:6[activities?]
>=kde-frameworks/karchive-${KFMIN}:6
>=kde-frameworks/kcodecs-${KFMIN}:6
>=kde-frameworks/kcompletion-${KFMIN}:6
@@ -47,11 +47,18 @@ DEPEND="
>=kde-frameworks/kio-${KFMIN}:6
>=kde-frameworks/kitemmodels-${KFMIN}:6
>=kde-frameworks/kitemviews-${KFMIN}:6
- >=kde-frameworks/ktextwidgets-${KFMIN}:6
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
>=kde-frameworks/kwindowsystem-${KFMIN}:6
>=kde-frameworks/kxmlgui-${KFMIN}:6
>=kde-frameworks/syntax-highlighting-${KFMIN}:6
>=media-libs/phonon-4.12.0[qt6(+)]
+ activities? ( kde-plasma/plasma-activities:6 )
"
RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DOPTION_USE_PLASMA_ACTIVITIES=$(usex activities)
+ )
+ ecm_src_configure
+}
diff --git a/kde-apps/mailcommon/metadata.xml b/kde-apps/mailcommon/metadata.xml
index 0bc83685a4..820418eeb0 100644
--- a/kde-apps/mailcommon/metadata.xml
+++ b/kde-apps/mailcommon/metadata.xml
@@ -7,8 +7,10 @@
</maintainer>
<upstream>
<bugs-to>https://bugs.kde.org/</bugs-to>
+ <remote-id type="kde-invent">pim/mailcommon</remote-id>
</upstream>
<use>
<flag name="designer">Build plugins for
<pkg>dev-qt/designer</pkg></flag>
+ <flag name="activities">Enable Plasma Activities support via
<pkg>kde-plasma/plasma-activities</pkg></flag>
</use>
</pkgmetadata>