<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/1fc6ac4908e860328891f72e814ad0db29e1a8f7">https://github.com/macports/macports-ports/commit/1fc6ac4908e860328891f72e814ad0db29e1a8f7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1fc6ac4908e860328891f72e814ad0db29e1a8f7
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Apr 17 17:29:14 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> ffmpeg*: libsvtav1, libaom: enable on 10.5+
</span>---
multimedia/ffmpeg-devel/Portfile | 14 ++++++++++----
multimedia/ffmpeg-upstream/Portfile | 14 ++++++++++----
multimedia/ffmpeg/Portfile | 14 ++++++++++----
3 files changed, 30 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/ffmpeg-devel/Portfile b/multimedia/ffmpeg-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a524c1dcb24..d4d83e2e8a1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/ffmpeg-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/ffmpeg-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -244,17 +244,23 @@ platform darwin {
</span> configure.args-append --disable-indev=avfoundation
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # av1 codecs, available on 10.7+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} >= 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # av1 codecs, available on 10.5+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 9} {
</span> configure.args-append \
--enable-libaom \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-librav1e \
</span> --enable-libsvtav1
depends_lib-append \
port:aom \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:rav1e \
</span> port:svt-av1
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 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;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-librav1e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rav1e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
build.cmd ${prefix}/bin/gmake
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/ffmpeg-upstream/Portfile b/multimedia/ffmpeg-upstream/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0887977b48a..08a351d5f2b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/ffmpeg-upstream/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/ffmpeg-upstream/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -252,17 +252,23 @@ platform darwin {
</span> configure.args-append --disable-indev=avfoundation
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # av1 codecs, available on 10.7+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} >= 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # av1 codecs, available on 10.5+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 9} {
</span> configure.args-append \
--enable-libaom \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-librav1e \
</span> --enable-libsvtav1
depends_lib-append \
port:aom \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:rav1e \
</span> port:svt-av1
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 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;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-librav1e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rav1e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
build.cmd ${prefix}/bin/gmake
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/ffmpeg/Portfile b/multimedia/ffmpeg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 08ed70dab95..19614b289b5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/ffmpeg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/ffmpeg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -244,17 +244,23 @@ platform darwin {
</span> configure.args-append --disable-indev=avfoundation
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # av1 codecs, available on 10.7+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} >= 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # av1 codecs, available on 10.5+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 9} {
</span> configure.args-append \
--enable-libaom \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-librav1e \
</span> --enable-libsvtav1
depends_lib-append \
port:aom \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:rav1e \
</span> port:svt-av1
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 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;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-librav1e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rav1e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
build.cmd ${prefix}/bin/gmake
</pre><pre style='margin:0'>
</pre>