[117918] trunk/dports/multimedia/ffmpeg-devel/Portfile
devans at macports.org
devans at macports.org
Sun Mar 16 23:34:08 PDT 2014
Revision: 117918
https://trac.macports.org/changeset/117918
Author: devans at macports.org
Date: 2014-03-16 23:34:08 -0700 (Sun, 16 Mar 2014)
Log Message:
-----------
ffmpeg-devel: update to current git master, enable VDA hw acceleration where available (#42863).
Modified Paths:
--------------
trunk/dports/multimedia/ffmpeg-devel/Portfile
Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile 2014-03-17 06:32:54 UTC (rev 117917)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile 2014-03-17 06:34:08 UTC (rev 117918)
@@ -8,8 +8,8 @@
name ffmpeg-devel
conflicts ffmpeg
-version 20140228
-set git_branch ffb7d7195be6a4f25e81600a2a6a6dadd2a11e18
+version 20140316
+set git_branch 81f3fab1a1fbec277fe587d3eab81150b4e494b6
license LGPL-2.1+
categories multimedia
maintainers devans jeremyhu openmaintainer
@@ -50,8 +50,8 @@
master_sites "http://git.videolan.org/gitweb.cgi?p=ffmpeg.git;a=snapshot;h=${git_branch};sf=tgz;dummy="
dist_subdir ffmpeg
-checksums rmd160 eda3401e7303b781440c2cd698fd518a26356156 \
- sha256 8e1c3203bfadce695f5d18f9d66ab5e9704168777dc44638b748212db1dfb78b
+checksums rmd160 840ee6086efd0496a7fdb2b6bad6a265a27eec20 \
+ sha256 b703eda3abb647a7f993b28220d608b6076a5a133f6495b31fed5fa0b57391cd
depends_build port:pkgconfig \
port:gmake \
@@ -126,6 +126,7 @@
--enable-libfreetype \
--disable-indev=jack \
--disable-outdev=xv \
+ --disable-vda \
--mandir=${prefix}/share/man \
--enable-shared --enable-pthreads \
--cc=${configure.cc}
@@ -139,6 +140,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/19d81f1a/attachment.html>
More information about the macports-changes
mailing list