<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6246aa76bc1cc6d44f639680b124069f730d67b5">https://github.com/macports/macports-ports/commit/6246aa76bc1cc6d44f639680b124069f730d67b5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6246aa76bc1cc6d44f639680b124069f730d67b5
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Mon Apr 22 14:11:55 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> evolution-data-server: add variant 'oauth2', disabled by default
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/69798
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/macports/macports-ports/pull/23657
</span>---
gnome/evolution-data-server/Portfile | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/evolution-data-server/Portfile b/gnome/evolution-data-server/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9f75d3ff0d5..d9a0d0b16db 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/evolution-data-server/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/evolution-data-server/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup cmake 1.1
</span>
name evolution-data-server
version 3.36.5
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 8
</span>
categories gnome
license LGPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,6 +73,7 @@ configure.args-append \
</span> -DENABLE_INSTALLED_TESTS=OFF \
-DENABLE_INTROSPECTION=OFF \
-DENABLE_IPV6=ON \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DENABLE_OAUTH2=OFF \
</span> -DENABLE_SCHEMAS_COMPILE=OFF \
-DENABLE_SMIME=ON \
-DENABLE_VALA_BINDINGS=OFF \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -97,6 +98,15 @@ post-activate {
</span> system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant oauth2 description {Enable OAuth2 authentication} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:json-glib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DENABLE_OAUTH2=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DENABLE_OAUTH2=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant phonenumber description {Phone number parsing/validation using libphonenumber} {
depends_lib-append \
port:libphonenumber-cpp
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -109,14 +119,9 @@ variant phonenumber description {Phone number parsing/validation using libphonen
</span> platform darwin {
if {${configure.cxx_stdlib} eq "libstdc++"} {
# google auth requires webkit2gtk-4.0 >= 2.11.91 json-glib >= 1.0.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_OAUTH2=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_OAUTH2=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:json-glib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset oauth2]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "Variant 'oauth2' not available for this macOS release"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
</pre><pre style='margin:0'>
</pre>