commit:     79664f921b9359bf12864341b8136727c8a563cd
Author:     Jay Faulkner <jay <AT> jvf <DOT> cc>
AuthorDate: Sat May  7 01:51:40 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat May  7 03:01:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79664f92

gnome-extra/evolution-ews: add optfeature for oauth

Support for oauth is needed for an extremely common use
case (office365) and is currently an undocumented
optional dependency.

Closes: https://github.com/gentoo/gentoo/pull/25362
Signed-off-by: Jay Faulkner <jay <AT> jvf.cc>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 gnome-extra/evolution-ews/evolution-ews-3.44.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnome-extra/evolution-ews/evolution-ews-3.44.1.ebuild 
b/gnome-extra/evolution-ews/evolution-ews-3.44.1.ebuild
index 4f5c552f73d3..478c6401b9f3 100644
--- a/gnome-extra/evolution-ews/evolution-ews-3.44.1.ebuild
+++ b/gnome-extra/evolution-ews/evolution-ews-3.44.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake gnome2
+inherit cmake gnome2 optfeature
 
 DESCRIPTION="Evolution module for connecting to Microsoft Exchange Web 
Services"
 HOMEPAGE="https://wiki.gnome.org/Apps/Evolution";
@@ -66,3 +66,7 @@ src_test() {
 src_install() {
        cmake_src_install
 }
+
+pkg_postinst() {
+       optfeature "oauth support" gnome-extra/evolution-data-server[oauth]
+}

Reply via email to