commit:     a7838908dcec91eedd73dab5168e380aac2b053d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 21:24:57 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec 13 22:23:59 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a7838908

kde-apps/kdepim-meta: Add USE bogofilter,clamav,spamassassin

Optional runtime dependencies of kde-apps/kmail.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/kdepim-meta/kdepim-meta-18.12.49.9999.ebuild | 8 +++++++-
 kde-apps/kdepim-meta/kdepim-meta-9999.ebuild          | 8 +++++++-
 kde-apps/kdepim-meta/metadata.xml                     | 5 +++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/kde-apps/kdepim-meta/kdepim-meta-18.12.49.9999.ebuild 
b/kde-apps/kdepim-meta/kdepim-meta-18.12.49.9999.ebuild
index 0c6338dcd2..a910d4b251 100644
--- a/kde-apps/kdepim-meta/kdepim-meta-18.12.49.9999.ebuild
+++ b/kde-apps/kdepim-meta/kdepim-meta-18.12.49.9999.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://www.kde.org/applications/development";
 LICENSE="metapackage"
 SLOT="5"
 KEYWORDS=""
-IUSE=""
+IUSE="bogofilter clamav spamassassin"
 
 RDEPEND="
        >=kde-apps/akonadi-${PV}:${SLOT}
@@ -69,3 +69,9 @@ RDEPEND="
        >=kde-apps/pimcommon-${PV}:${SLOT}
        !kde-apps/kdepim-meta:4
 "
+# Optional runtime dependencies: kde-apps/kmail
+RDEPEND="${RDEPEND}
+       bogofilter? ( mail-filter/bogofilter )
+       clamav? ( app-antivirus/clamav )
+       spamassassin? ( mail-filter/spamassassin )
+"

diff --git a/kde-apps/kdepim-meta/kdepim-meta-9999.ebuild 
b/kde-apps/kdepim-meta/kdepim-meta-9999.ebuild
index 0c6338dcd2..a910d4b251 100644
--- a/kde-apps/kdepim-meta/kdepim-meta-9999.ebuild
+++ b/kde-apps/kdepim-meta/kdepim-meta-9999.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://www.kde.org/applications/development";
 LICENSE="metapackage"
 SLOT="5"
 KEYWORDS=""
-IUSE=""
+IUSE="bogofilter clamav spamassassin"
 
 RDEPEND="
        >=kde-apps/akonadi-${PV}:${SLOT}
@@ -69,3 +69,9 @@ RDEPEND="
        >=kde-apps/pimcommon-${PV}:${SLOT}
        !kde-apps/kdepim-meta:4
 "
+# Optional runtime dependencies: kde-apps/kmail
+RDEPEND="${RDEPEND}
+       bogofilter? ( mail-filter/bogofilter )
+       clamav? ( app-antivirus/clamav )
+       spamassassin? ( mail-filter/spamassassin )
+"

diff --git a/kde-apps/kdepim-meta/metadata.xml 
b/kde-apps/kdepim-meta/metadata.xml
index 2fdbf33d96..42d0035b36 100644
--- a/kde-apps/kdepim-meta/metadata.xml
+++ b/kde-apps/kdepim-meta/metadata.xml
@@ -5,4 +5,9 @@
                <email>k...@gentoo.org</email>
                <name>Gentoo KDE Project</name>
        </maintainer>
+       <use>
+               <flag name="bogofilter">Install 
<pkg>mail-filter/bogofilter</pkg> for spam filter support in 
<pkg>kde-apps/kmail</pkg></flag>
+               <flag name="clamav">Install <pkg>app-antivirus/clamav</pkg> for 
virus detection support in <pkg>kde-apps/kmail</pkg></flag>
+               <flag name="spamassassin">Install 
<pkg>mail-filter/spamassassin</pkg> for spam filter support in 
<pkg>kde-apps/kmail</pkg></flag>
+       </use>
 </pkgmetadata>

Reply via email to