<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/14facc0cea53ec156c8523db4aa4fdd5df932daf">https://github.com/macports/macports-ports/commit/14facc0cea53ec156c8523db4aa4fdd5df932daf</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 14facc0cea5 openimageio: use ffmpeg6
</span>14facc0cea5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 14facc0cea53ec156c8523db4aa4fdd5df932daf
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Sat Apr 27 18:55:59 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> openimageio: use ffmpeg6
</span>---
graphics/openimageio/Portfile | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/openimageio/Portfile b/graphics/openimageio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d12985bf9fe..737e2ee1634 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/openimageio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/openimageio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +21,7 @@ set port_latest [expr {${os.platform} ne "darwin" || ${os.major} >= 20}]
</span>
if {${port_latest}} {
github.setup AcademySoftwareFoundation OpenImageIO 2.5.10.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 acca3794870850f6d39e41e62e9370bf6ff9565b \
sha256 8f6a547f6a5d510737ba436f867043db537def65f0fdb14ec30e5a185b619f93 \
size 52061055
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,6 +43,14 @@ if {${port_latest}} {
</span> port:onetbb
#configure.args-append -DUSE_TBB=OFF
configure.args-append -DTBB_ROOT=${prefix}/libexec/onetbb
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ffmpeg_ver 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #configure.args-append -DUSE_FFMPEG=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:ffmpeg${ffmpeg_ver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-prepend \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/ffmpeg${ffmpeg_ver}/lib/pkgconfig
</span> } else {
patchfiles-append patch-FindOpenJpeg.cmake.diff
patchfiles-append patch-libraw-0.21.0.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,6 +64,9 @@ if {${port_latest}} {
</span> ${prefix}/libexec/openexr2/lib/pkgconfig
#configure.args-append -DUSE_TBB=OFF
configure.args-append -DTBB_ROOT=${prefix}/libexec/tbb
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #configure.args-append -DUSE_FFMPEG=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append path:lib/libavcodec.dylib:ffmpeg
</span> }
# error: multiple overloads of 'address' instantiate to the same signature 'const_pointer (const_reference) const noexcept'
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -144,9 +155,6 @@ if {${set_python_default}} {
</span> default_variants +python312
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#configure.args-append -DUSE_FFMPEG=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append path:lib/libavcodec.dylib:ffmpeg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> #configure.args-append -DUSE_JPEGTURBO=OFF
depends_lib-append path:include/turbojpeg.h:libjpeg-turbo \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -181,7 +189,6 @@ depends_lib-append port:libraw
</span> #configure.args-append -DUSE_OPENVDB=OFF
depends_lib-append port:openvdb
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # not in MacPorts
configure.args-append -DUSE_NUKE=OFF
</pre><pre style='margin:0'>
</pre>