<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/b85e94093d61f6449e5eb779ee51d6c927e6e691">https://github.com/macports/macports-ports/commit/b85e94093d61f6449e5eb779ee51d6c927e6e691</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 b85e94093d6 ffmpeg-upstream: segregate to co-exist with ffmpeg/ffmpeg-devel See: https://trac.macports.org/ticket/65623
</span>b85e94093d6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b85e94093d61f6449e5eb779ee51d6c927e6e691
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat May 13 16:38:56 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> ffmpeg-upstream: segregate to co-exist with ffmpeg/ffmpeg-devel
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/65623
</span>---
multimedia/ffmpeg-devel/Portfile | 2 +-
multimedia/ffmpeg-upstream/Portfile | 49 +++++++++++++++++++++++++++++++------
multimedia/ffmpeg/Portfile | 2 +-
3 files changed, 43 insertions(+), 10 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 797265eabd5..62966ddc094 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;'>@@ -15,7 +15,7 @@ PortGroup xcode_workaround 1.0
</span>
name ffmpeg-devel
set my_name ffmpeg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts ffmpeg ffmpeg-upstream
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts ffmpeg
</span>
# Please increase the revision of mpv whenever ffmpeg's version is updated.
version 4.4.2
<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 973ee56e141..d00f2e2e66f 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;'>@@ -15,11 +15,10 @@ PortGroup xcode_workaround 1.0
</span>
name ffmpeg-upstream
set my_name ffmpeg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts ffmpeg ffmpeg-devel
</span>
# Please increase the revision of mpv whenever ffmpeg's version is updated.
version 6.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> epoch 0
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -123,12 +122,37 @@ compiler.blacklist-append {clang < 800}
</span> # Also, -gpl2 causes other ports to fail to build due to the missing libpostproc (#35473)
default_variants-append +gpl2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[tbool configure.ccache]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ccache_path ${prefix}/bin/ccache
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cc-prepend \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${ccache_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx-prepend \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${ccache_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.cflags-append \
-DHAVE_LRINTF \
-Wno-deprecated-declarations \
${configure.cppflags}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set port_ver_major [lindex [split ${version} .] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set port_alias ${my_name}${port_ver_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set port_prefix ${prefix}/libexec/${port_alias}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set port_bindir ${port_prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set port_sharedir ${port_prefix}/share
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set port_docdir ${port_sharedir}/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set port_datadir ${port_sharedir}/data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.pre_args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --prefix=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.pre_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --prefix=${port_prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --docdir=${port_docdir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --datadir=${port_datadir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --cc="${configure.cc}" \
</span> --enable-swscale \
--enable-avfilter \
--enable-libmp3lame \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -166,10 +190,8 @@ configure.args-append \
</span> --disable-videotoolbox \
--disable-sdl2 \
--disable-securetransport \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --mandir=${prefix}/share/man \
</span> --enable-shared \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-pthreads \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --cc=${configure.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-pthreads
</span>
platform darwin {
# disable asm on Tiger
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -261,10 +283,21 @@ post-extract {
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${destroot}${prefix}/share/doc/ffmpeg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${worksrcpath}/doc/APIchanges ${destroot}${prefix}/share/doc/ffmpeg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Copy docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${destroot}${port_docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/doc/APIchanges ${destroot}${my_name}
</span> foreach f [glob ${worksrcpath}/doc/*.txt] {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy $f ${destroot}${prefix}/share/doc/ffmpeg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy $f ${destroot}${port_docdir}
</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;'>+ # Create bin symlinks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set port_bin_list \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [glob -type f -directory ${destroot}${port_bindir} *]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f ${port_bin_list} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fsrc [file tail ${f}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ftgt [file tail ${f}]${port_ver_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_info "Symlinking bin: ${prefix}/bin/${ftgt} -> ${port_bindir}/${fsrc}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${port_bindir}/${fsrc} ${destroot}${prefix}/bin/${ftgt}
</span> }
}
<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 7cd4413e938..3742a0da392 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;'>@@ -15,7 +15,7 @@ PortGroup xcode_workaround 1.0
</span>
name ffmpeg
set my_name ffmpeg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts ffmpeg-devel ffmpeg-upstream
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts ffmpeg-devel
</span>
# Please increase the revision of mpv whenever ffmpeg's version is updated.
version 4.4.2
</pre><pre style='margin:0'>
</pre>