[150068] trunk/dports/multimedia
devans at macports.org
devans at macports.org
Sun Jul 10 22:21:46 PDT 2016
Revision: 150068
https://trac.macports.org/changeset/150068
Author: devans at macports.org
Date: 2016-07-10 22:21:46 -0700 (Sun, 10 Jul 2016)
Log Message:
-----------
ffmpeg, ffmpeg-devel: possible build fix, disable coreimage, coreimagesrc filters on 10.5 and earlier (#51823).
Modified Paths:
--------------
trunk/dports/multimedia/ffmpeg/Portfile
trunk/dports/multimedia/ffmpeg-devel/Portfile
Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile 2016-07-11 01:59:39 UTC (rev 150067)
+++ trunk/dports/multimedia/ffmpeg/Portfile 2016-07-11 05:21:46 UTC (rev 150068)
@@ -137,10 +137,10 @@
--enable-shared --enable-pthreads \
--cc=${configure.cc}
-# disable asm on Tiger
-# libblueray doesn't build on Tiger so disable for now (#39442)
platform darwin {
+ # disable asm on Tiger
+ # libblueray doesn't build on Tiger so disable for now (#39442)
if {${os.major} < 9} {
depends_lib-delete port:libbluray
configure.args-delete --enable-libbluray
@@ -148,6 +148,13 @@
configure.args-append --disable-asm
}
+ # filters coreimage and coreimagesrc don't build on 10.5
+ # and earlier due to use of bridged casts in Objective C (#51823)
+ if {${os.major} < 10} {
+ configure.args-append --disable-filter=coreimage \
+ --disable-filter=coreimagesrc
+ }
+
# 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)}
# Due to a bug in ffmpeg(?), we have to enable VDA on 10.11 as well, even though it shouldn't be supported.
Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile 2016-07-11 01:59:39 UTC (rev 150067)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile 2016-07-11 05:21:46 UTC (rev 150068)
@@ -135,10 +135,10 @@
--enable-shared --enable-pthreads \
--cc=${configure.cc}
-# disable asm on Tiger
-# libblueray doesn't build on Tiger so disable for now (#39442)
platform darwin {
+ # disable asm on Tiger
+ # libblueray doesn't build on Tiger so disable for now (#39442)
if {${os.major} < 9} {
depends_lib-delete port:libbluray
configure.args-delete --enable-libbluray
@@ -146,6 +146,13 @@
configure.args-append --disable-asm
}
+ # filters coreimage and coreimagesrc don't build on 10.5
+ # and earlier due to use of bridged casts in Objective C (#51823)
+ if {${os.major} < 10} {
+ configure.args-append --disable-filter=coreimage \
+ --disable-filter=coreimagesrc
+ }
+
# 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)}
# Due to a bug in ffmpeg(?), we have to enable VDA on 10.11 as well, even though it shouldn't be supported.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160710/62312bc8/attachment.html>
More information about the macports-changes
mailing list