Skip to content

Commit

Permalink
kde-apps/kdepim-addons: Add IUSE activities
Browse files Browse the repository at this point in the history
Upstream commit d8db1c059b447090d28ad2920a055e303058e6bb

Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Nov 10, 2024
1 parent dcfb99e commit 00e134d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kde-apps/kdepim-addons/kdepim-addons-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
Expand All @@ -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:= )
"
Expand All @@ -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)
)
Expand Down
1 change: 1 addition & 0 deletions kde-apps/kdepim-addons/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<bugs-to>https://bugs.kde.org/</bugs-to>
</upstream>
<use>
<flag name="activities">Enable Plasma Activities support via kde-plasma/plasma-activities</flag>
<flag name="importwizard">Enable additional import plugins for <pkg>kde-apps/akonadi-import-wizard</pkg></flag>
<flag name="markdown">Enable Markdown support via <pkg>app-text/discount</pkg></flag>
</use>
Expand Down

0 comments on commit 00e134d

Please sign in to comment.