<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/d8d5868808b6b4ac2bb0e944e550473722d4eee5">https://github.com/macports/macports-ports/commit/d8d5868808b6b4ac2bb0e944e550473722d4eee5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d8d5868808b6b4ac2bb0e944e550473722d4eee5
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Tue Dec 12 17:12:17 2017 -0800

<span style='display:block; white-space:pre;color:#404040;'>    ffmpeg: enable OpenCL 1.2 support if available
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Provides optional OpenCL acceleration of filters deshake and unsharp.
</span><span style='display:block; white-space:pre;color:#404040;'>    See 'man ffmpeg-filters' for usage.
</span>---
 multimedia/ffmpeg/Portfile | 7 +++++++
 1 file changed, 7 insertions(+)

<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 cbbf29d..4855ed8 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;'>@@ -10,6 +10,7 @@ name                ffmpeg
</span> conflicts           ffmpeg-devel
 epoch               1
 version             3.4.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> license             LGPL-2.1+
 categories          multimedia
 maintainers         {devans @dbevans} {jeremyhu @jeremyhu} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -143,6 +144,7 @@ configure.args      --enable-swscale \
</span>                     --disable-libxcb-shm \
                     --disable-libxcb-xfixes \
                     --disable-indev=jack \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                    --disable-opencl \
</span>                     --disable-outdev=xv \
                     --disable-vda \
                     --disable-audiotoolbox \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -201,6 +203,11 @@ platform darwin {
</span>         configure.args-replace --disable-videotoolbox --enable-videotoolbox
     }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # OpenCL support requires version 1.2 available 10.8+
</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-replace --disable-opencl --enable-opencl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     # Apple GCC has problems with SIMD intrinsics and -Werror=no-missing-prototypes.
     if {${os.major} < 11} {
         patchfiles-append patch-configure-no-error-on-missing-prototypes.diff
</pre><pre style='margin:0'>

</pre>