<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/498a5a5b9d999c9d83ba84d870d96e428c67f52b">https://github.com/macports/macports-ports/commit/498a5a5b9d999c9d83ba84d870d96e428c67f52b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 498a5a5b9d999c9d83ba84d870d96e428c67f52b
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon May 29 00:37:24 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> libavif: enable aom, rav1e for older systems
</span>---
multimedia/libavif/Portfile | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libavif/Portfile b/multimedia/libavif/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e60a5de8bc7..112619516d3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/libavif/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libavif/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup github 1.0
</span> PortGroup cmake 1.1
github.setup AOMediaCodec libavif 0.11.1 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
checksums rmd160 97a8d07f4fe8ce185e376629ea6e5fce4bc92d11 \
sha256 0eb49965562a0e5e5de58389650d434cff32af84c34185b6c9b7b2fccae06d4e \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,20 +41,15 @@ configure.args-append -DAVIF_ENABLE_WERROR:BOOL=OFF \
</span> -DAVIF_CODEC_SVT:BOOL=ON
platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${os.major} < 11 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # TODO: Disable rav1e on 10.6, due to issues with cargo-c; re-enable once fixed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 10 || (${os.major} == 10 && ${build_arch} eq "ppc")} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # TODO: Disable rav1e on <10.6, due to issues with cargo-c; enable if fixed.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Do not enable on PPC until Rust is fixed or it becomes possible to build with gccrs.
</span> # See: https://trac.macports.org/ticket/65434
depends_lib-delete \
port:rav1e
configure.args-delete \
-DAVIF_CODEC_RAV1E:BOOL=ON
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${os.major} < 10 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:aom
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DAVIF_CODEC_AOM:BOOL=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
variant tests description "Enable testing" {
</pre><pre style='margin:0'>
</pre>