<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/1fb4c03c2ef7f37609d48d61bd71a4a39bfafc34">https://github.com/macports/macports-ports/commit/1fb4c03c2ef7f37609d48d61bd71a4a39bfafc34</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1fb4c03c2ef7f37609d48d61bd71a4a39bfafc34
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Wed Aug 30 20:39:25 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> libavif: update to 1.0.1; add variant docs
</span>---
multimedia/libavif/Portfile | 28 +++++++++++++++++++++++-----
1 file changed, 23 insertions(+), 5 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 fa6d888f2dd..d806f8f6314 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;'>@@ -4,12 +4,12 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup AOMediaCodec libavif 0.11.1 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup AOMediaCodec libavif 1.0.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 97a8d07f4fe8ce185e376629ea6e5fce4bc92d11 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 0eb49965562a0e5e5de58389650d434cff32af84c34185b6c9b7b2fccae06d4e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 5826813
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 23ac1ebaf9412d4c7056bfeeb9b7cba9ffd6626c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 398fe7039ce35db80fe7da8d116035924f2c02ea4a4aa9f4903df6699287599c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 10569767
</span>
categories multimedia
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,6 +39,7 @@ configure.args-append \
</span> -DAVIF_BUILD_APPS:BOOL=ON \
-DAVIF_CODEC_AOM:BOOL=ON \
-DAVIF_CODEC_DAV1D:BOOL=ON \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DAVIF_CODEC_LIBGAV1=OFF \
</span> -DAVIF_CODEC_RAV1E:BOOL=ON \
-DAVIF_CODEC_SVT:BOOL=ON \
-DAVIF_ENABLE_WERROR:BOOL=OFF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,9 +55,26 @@ platform darwin {
</span> configure.args-delete \
-DAVIF_CODEC_RAV1E:BOOL=ON
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # pandoc only available on 10.7+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ +docs
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant docs description {Build man pages} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pandoc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DAVIF_BUILD_MAN_PAGES=ON
</span> }
variant tests description {Enable testing} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
-DAVIF_BUILD_TESTS=ON
</pre><pre style='margin:0'>
</pre>