[141085] trunk/dports/multimedia/ffmpeg/Portfile
ionic at macports.org
ionic at macports.org
Fri Oct 9 15:26:33 PDT 2015
Revision: 141085
https://trac.macports.org/changeset/141085
Author: ionic at macports.org
Date: 2015-10-09 15:26:32 -0700 (Fri, 09 Oct 2015)
Log Message:
-----------
ffmpeg: 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/Portfile
Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile 2015-10-09 20:21:29 UTC (rev 141084)
+++ trunk/dports/multimedia/ffmpeg/Portfile 2015-10-09 22:26:32 UTC (rev 141085)
@@ -11,6 +11,7 @@
conflicts ffmpeg-devel
epoch 1
version 2.8
+revision 1
license LGPL-2.1+
categories multimedia
maintainers devans jeremyhu openmaintainer
@@ -130,6 +131,7 @@
--disable-indev=jack \
--disable-outdev=xv \
--disable-vda \
+ --disable-videotoolbox \
--mandir=${prefix}/share/man \
--enable-shared --enable-pthreads \
--cc=${configure.cc}
@@ -145,12 +147,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/0ec14616/attachment-0001.html>
More information about the macports-changes
mailing list