[141086] trunk/dports/multimedia/ffmpeg-devel/Portfile

ionic at macports.org ionic at macports.org
Fri Oct 9 15:26:50 PDT 2015


Revision: 141086
          https://trac.macports.org/changeset/141086
Author:   ionic at macports.org
Date:     2015-10-09 15:26:49 -0700 (Fri, 09 Oct 2015)
Log Message:
-----------
ffmpeg-devel: enable VDA on 10.6.3+ to (excluding) 10.11 only. Enable new VideoToolBox support on 10.8+. Revbump.

Modified Paths:
--------------
    trunk/dports/multimedia/ffmpeg-devel/Portfile

Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile	2015-10-09 22:26:32 UTC (rev 141085)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile	2015-10-09 22:26:49 UTC (rev 141086)
@@ -12,6 +12,7 @@
 name                ffmpeg-devel
 conflicts           ffmpeg
 version             20150916
+revision            1
 license             LGPL-2.1+
 categories          multimedia
 maintainers         devans jeremyhu openmaintainer
@@ -125,6 +126,7 @@
                     --disable-indev=jack \
                     --disable-outdev=xv \
                     --disable-vda \
+                    --disable-videotoolbox \
                     --mandir=${prefix}/share/man \
                     --enable-shared --enable-pthreads \
                     --cc=${configure.cc}
@@ -140,12 +142,19 @@
         configure.args-append --disable-asm
     }
 
-    # VDA (video hardware acceleration, mostly H264) is only supported on 10.6.3+
-    if {${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)} {
+    # VDA (video hardware acceleration, mostly H264) is only supported on 10.6.3+ up to (excluding) 10.11.
+    if {(${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)) && (${os.major} < 15)} {
         configure.args-delete --disable-vda
         configure.args-append --enable-vda
     }
 
+    # VideotoolBox, a new hardware acceleration framework, is supported on 10.8+ and "here to stay".
+    # It provides support for H264, H263, MPEG1, MPEG2 and MPEG4.
+    if {${os.major} > 11} {
+        configure.args-delete --disable-videotoolbox
+        configure.args-append --enable-videotoolbox
+    }
+
     # 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151009/87e3ef0f/attachment.html>


More information about the macports-changes mailing list