<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/14d7ad2be7522fe492798ba94d838ddc507a4bed">https://github.com/macports/macports-ports/commit/14d7ad2be7522fe492798ba94d838ddc507a4bed</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 14d7ad2be7522fe492798ba94d838ddc507a4bed
</span>Author: Ken <21211439+kencu@users.noreply.github.com>
AuthorDate: Sun Aug 21 00:46:36 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> gtk4: make quartz the default variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> at least for now, to test the build on the bots
</span><span style='display:block; white-space:pre;color:#404040;'> and show folks how it works
</span>---
gnome/gtk4/Portfile | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk4/Portfile b/gnome/gtk4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 24a1a67a299..d51ab4aa6a3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,14 +117,20 @@ variant x11 conflicts quartz {
</span> configure.args-append -Dx11-backend=true -Dmacos-backend=false
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if {![variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the x11 variant needs EGL support added to mesa and libepoxy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# and even then the performance is well below the quartz variant
</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;'>+
</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> }
variant tests description "build tests" {
configure.args-replace -Dbuild-tests=false -Dbuild-tests=true
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform darwin 8 {
# meson on Tiger cannot use rpaths, so we workaround with this to find dylib
build.env-append "DYLD_LIBRARY_PATH=${build_dir}/${gname}"
</pre><pre style='margin:0'>
</pre>