<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/c46ed9b9250553650fe1f3fc4ac72b5c1e0bcecd">https://github.com/macports/macports-ports/commit/c46ed9b9250553650fe1f3fc4ac72b5c1e0bcecd</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 c46ed9b9250 cairomm: update to 1.18.0; add variant tests
</span>c46ed9b9250 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c46ed9b9250553650fe1f3fc4ac72b5c1e0bcecd
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Mon Apr 15 16:15:38 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> cairomm: update to 1.18.0; add variant tests
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/65859
</span>---
graphics/cairomm/Portfile | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/cairomm/Portfile b/graphics/cairomm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 96008a2d7f9..cb8334682ad 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/cairomm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/cairomm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@ PortGroup meson 1.0
</span>
name cairomm
set my_name cairomm
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.16.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.18.0
</span> revision 0
categories graphics
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,9 +27,12 @@ distname ${my_name}-${version}
</span> dist_subdir ${my_name}
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 a3d749af53be09c5fbe629a394a69a70cfcf8359 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6a63bf98a97dda2b0f55e34d1b5f3fb909ef8b70f9b8d382cb1ff3978e7dc13f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 593504
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f1854e3e0737d8cb1c68124d67fc3e8863346fc1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b81255394e3ea8e8aa887276d22afa8985fc8daef60692eb2407d23049f03cfb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 632520
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Disable unexpected download of subprojects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+meson.wrap_mode nodownload
</span>
depends_build-append \
port:mm-common \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,12 +40,17 @@ depends_build-append \
</span>
# Pull in legacy bindings via 'cairomm-1.0', so that dependents don't have to be changed
depends_lib-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cairomm-1.0 \
</span> path:lib/pkgconfig/cairo.pc:cairo \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:cairomm-1.0 \
</span> port:libsigcxx3
compiler.cxx_standard 2017
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild-documentation=false \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild-examples=false \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild-tests=false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # dummy variants to ensure that this port gets rebuilt if
# the corresponding variants for cairo change
variant x11 {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,6 +66,14 @@ if {[variant_isset x11]} {
</span> require_active_variants path:lib/pkgconfig/cairo.pc:cairo x11
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant tests description {Enable test support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild-tests=false \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild-tests=true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
</pre><pre style='margin:0'>
</pre>