<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2024bda9700c8715ac4dc22822ef7d553a3a81c1">https://github.com/macports/macports-ports/commit/2024bda9700c8715ac4dc22822ef7d553a3a81c1</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2024bda9700 gtk-vnc: add x11 variant
</span>2024bda9700 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2024bda9700c8715ac4dc22822ef7d553a3a81c1
</span>Author: Mohamed Akram <mohd.akram@outlook.com>
AuthorDate: Mon Jul 17 15:46:59 2023 +0400
<span style='display:block; white-space:pre;color:#404040;'> gtk-vnc: add x11 variant
</span>---
gnome/gtk-vnc/Portfile | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk-vnc/Portfile b/gnome/gtk-vnc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b55cfd706ed..4b031798729 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk-vnc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk-vnc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup meson 1.0
</span>
name gtk-vnc
version 1.3.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> maintainers {danchr @danchr} openmaintainer
categories gnome devel
license {LGPL GPL-3}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,15 +59,26 @@ configure.cppflags-append \
</span> livecheck.type gnome
livecheck.regex LATEST-IS-(\\d+\\.\\d*\\d(?:\\.\\d+)*)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant quartz {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant quartz conflicts x11 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants gtk3 quartz
</span> # src/vncdisplaykeymap.c includes <gdk/gdkquartz.h>, which in turn
# includes AppKit -- and that one fails hard in a regular C compiler...
configure.cflags-append \
-ObjC
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants gtk3 quartz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants gtk3 "" quartz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant x11 conflicts quartz {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants gtk3 x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset x11]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +quartz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset quartz] && ![variant_isset x11]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "Either +x11 or +quartz is required"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
</pre><pre style='margin:0'>
</pre>