<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/f1d9bdc275cb1244d04c72eee0715486ca532a08">https://github.com/macports/macports-ports/commit/f1d9bdc275cb1244d04c72eee0715486ca532a08</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f1d9bdc275cb1244d04c72eee0715486ca532a08
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Wed Nov 3 12:44:06 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> opencv4-devel: revert to 4.5.2
</span><span style='display:block; white-space:pre;color:#404040;'> - Necessary due to contrib-related issues with 'dnn', in latest release
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/63679
</span>---
graphics/opencv4-devel/Portfile | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/opencv4-devel/Portfile b/graphics/opencv4-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3c9abb9fca9..5c308dd9d99 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/opencv4-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/opencv4-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,14 +50,21 @@ homepage https://opencv.org
</span> # So for now, revert to 4.5.0 for older MacOS releases, until we can
# determine a formal fix.
if {${os.major} > 12} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup opencv opencv 4.5.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set opencv_latest yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set opencv_latest no
</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 {${opencv_latest}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup opencv opencv 4.5.2
</span> revision 0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ epoch 1
</span>
checksums-append \
${distname}${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 8ba17a9c3a9d2c1d515d35aceb8629d9f6e2f78b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a35b800d1c17026cba3815019216e90c2ab994553258f6d73cd9a35d4ade59e9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 89726709
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 bd0cdb07ef5fe5c16c31cdd448b3286c3e28ff5a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 926387dff78bed95997baa9378b62151c34b86e6dfd3e8136b3e4e1fdb075114 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 88931021
</span>
livecheck.type regex
livecheck.url https://opencv.org/releases.html
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -438,12 +445,12 @@ if {${name} eq ${subport}} {
</span> distfiles-append \
${github.project}_contrib-${version}${extract.suffix}:${github.project}_contrib
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} > 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${opencv_latest}} {
</span> checksums-append \
${github.project}_contrib-${version}${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 ed7fabd08db3e57db41ae7844fa01fe99ea02b28 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 92275d7abdb85da720e4dfc669f1dccba1f412c8bf097232cf00077e713c2570 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 61052252
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 0570fcc9877360657254358864852ea009090a64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2005a3accacb01b672fee5666cd9033de7bbe8909eedc3704b9e9892434de613 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 60801888
</span> } else {
checksums-append \
${github.project}_contrib-${version}${extract.suffix} \
</pre><pre style='margin:0'>
</pre>