[117917] trunk/dports/multimedia/ffmpeg/Portfile
devans at macports.org
devans at macports.org
Sun Mar 16 23:32:54 PDT 2014
Revision: 117917
https://trac.macports.org/changeset/117917
Author: devans at macports.org
Date: 2014-03-16 23:32:54 -0700 (Sun, 16 Mar 2014)
Log Message:
-----------
ffmpeg: enable VDA hw acceleration where available (#42863).
Modified Paths:
--------------
trunk/dports/multimedia/ffmpeg/Portfile
Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile 2014-03-17 05:26:52 UTC (rev 117916)
+++ trunk/dports/multimedia/ffmpeg/Portfile 2014-03-17 06:32:54 UTC (rev 117917)
@@ -10,6 +10,7 @@
conflicts ffmpeg-devel
epoch 1
version 2.1.4
+revision 1
license LGPL-2.1+
categories multimedia
maintainers devans jeremyhu openmaintainer
@@ -120,6 +121,7 @@
--enable-libfreetype \
--disable-indev=jack \
--disable-outdev=xv \
+ --disable-vda \
--mandir=${prefix}/share/man \
--enable-shared --enable-pthreads \
--cc=${configure.cc}
@@ -133,6 +135,13 @@
configure.args-append --disable-libbluray
configure.args-append --disable-asm
}
+
+ # FIXME: use ${os.minor} once it hits stable base
+ # VDA (video hardware acceleration, mostly H264) is only supported on 10.6.3+
+ if {${os.major} > 10 || {${os.major} == 10 && [lindex [split ${os.version} .] 1] >= 3}} {
+ configure.args-delete --disable-vda
+ configure.args-append --enable-vda
+ }
}
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140316/4e7d2209/attachment.html>
More information about the macports-changes
mailing list