<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2c9b7ffcff0ae34bf56b7c43c8dcea7b5f737749">https://github.com/macports/macports-ports/commit/2c9b7ffcff0ae34bf56b7c43c8dcea7b5f737749</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 2c9b7ff ffmpeg, ffmpeg-devel: disable libsdl2 support on 10.6 and earlier
</span>2c9b7ff is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2c9b7ffcff0ae34bf56b7c43c8dcea7b5f737749
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Nov 14 11:37:04 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> ffmpeg, ffmpeg-devel: disable libsdl2 support on 10.6 and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> libsdl2 requires the Xcode 10.7 SDK to build successfully. This change
</span><span style='display:block; white-space:pre;color:#404040;'> allows ffmpeg to build on 10.6 and earlier but with limited functionality.
</span><span style='display:block; white-space:pre;color:#404040;'> In particular, ffplay, which explicitly requires libsdl2, is not built.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes https://trac.macports.org/ticket/52875
</span>---
multimedia/ffmpeg-devel/Portfile | 9 +++++----
multimedia/ffmpeg-devel/patch.diff | 18 ++++++++++++++++++
multimedia/ffmpeg/Portfile | 9 +++++----
3 files changed, 28 insertions(+), 8 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 1b3e351..711a13f 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;'>@@ -1,5 +1,4 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
PortGroup xcodeversion 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,7 +77,6 @@ depends_lib port:lame \
</span> port:freetype \
port:fribidi \
path:lib/libspeex.dylib:speex \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libsdl2 \
</span> port:soxr \
port:bzip2 \
port:xz \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -131,6 +129,7 @@ configure.args --enable-swscale \
</span> --disable-vda \
--disable-audiotoolbox \
--disable-videotoolbox \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-sdl2 \
</span> --mandir=${prefix}/share/man \
--enable-shared --enable-pthreads \
--cc=${configure.cc}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -163,9 +162,11 @@ platform darwin {
</span> }
# AudiotoolBox support requires CoreMedia Framework available on 10.7+
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libsdl2 requires minimum Xcode 10.7 SDK to build successfully
</span> if {${os.major} > 10} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-audiotoolbox
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-audiotoolbox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-audiotoolbox --enable-audiotoolbox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-sdl2 --enable-sdl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libsdl2
</span> }
# VideotoolBox, a new hardware acceleration framework, is supported on 10.8+ and "here to stay".
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/ffmpeg-devel/patch.diff b/multimedia/ffmpeg-devel/patch.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2a643fa
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/ffmpeg-devel/patch.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ../ffmpeg-devel/Portfile 2016-11-14 10:53:00.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Portfile 2016-11-14 11:24:26.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -162,11 +171,11 @@
</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;'>+ # AudiotoolBox support requires CoreMedia Framework available on 10.7+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # libsdl2 requires Xcode 10.7 SDK to build successfully
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # libsdl2 requires minimum Xcode 10.7 SDK to build successfully
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- configure.args-delete --disable-audiotoolbox --disable-sdl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- configure.args-append --enable-audiotoolbox --enable-sdl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- depends_lib-append port:libsdl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ configure.args-replace --disable-audiotoolbox --enable-audiotoolbox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ configure.args-replace --disable-sdl2 --enable-sdl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ depends_lib-append port:libsdl2
</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;'>+ # VideotoolBox, a new hardware acceleration framework, is supported on 10.8+ and "here to stay".
</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 e8dacfe..eb248a9 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;'>@@ -1,5 +1,4 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
PortGroup xcodeversion 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -87,7 +86,6 @@ depends_lib port:lame \
</span> port:freetype \
port:fribidi \
path:lib/libspeex.dylib:speex \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libsdl2 \
</span> port:soxr \
port:bzip2 \
port:xz \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -140,6 +138,7 @@ configure.args --enable-swscale \
</span> --disable-vda \
--disable-audiotoolbox \
--disable-videotoolbox \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-sdl2 \
</span> --mandir=${prefix}/share/man \
--enable-shared --enable-pthreads \
--cc=${configure.cc}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -172,9 +171,11 @@ platform darwin {
</span> }
# AudiotoolBox support requires CoreMedia Framework available on 10.7+
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libsdl2 requires minimum Xcode 10.7 SDK to build successfully
</span> if {${os.major} > 10} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-audiotoolbox
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-audiotoolbox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-audiotoolbox --enable-audiotoolbox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-sdl2 --enable-sdl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libsdl2
</span> }
# VideotoolBox, a new hardware acceleration framework, is supported on 10.8+ and "here to stay".
</pre><pre style='margin:0'>
</pre>