Revision: 140713 https://trac.macports.org/changeset/140713 Author: devans@macports.org Date: 2015-09-30 12:31:53 -0700 (Wed, 30 Sep 2015) Log Message: ----------- gstreamer1-gst-plugins-bad: disable apple_media plugin on 10.9 or earlier due to use of API only available on 10.10+. Modified Paths: -------------- trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile Modified: trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile =================================================================== --- trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile 2015-09-30 19:17:08 UTC (rev 140712) +++ trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile 2015-09-30 19:31:53 UTC (rev 140713) @@ -107,8 +107,9 @@ # # port:soundtouch (fails on autoreconf on darwin 8 & 9, see #27533) disable soundtouch on these platforms -# plugin applemedia (Apple video) only builds on darwin 13 and later due to use of -# constant kVTCompressionPropertyKey_RealTime introduced in OSX 10.9 +# gl cocoa build continues to fail due to use of API not available on darwin 10 or earlier +# plugin applemedia (Apple video) now only builds on darwin 14 and later due to use of +# constant AVQueuedSampleBufferRenderingStatusFailed introduced in OSX 10.10 # platform darwin { @@ -116,22 +117,15 @@ depends_lib-delete port:soundtouch configure.args-append --disable-soundtouch --disable-opengl } - if {${os.major} < 13} { + if {${os.major} < 11 } { + configure.args-append --disable-cocoa + } + if {${os.major} < 14} { configure.args-append --disable-apple_media } } # -# applemedia video plugin uses CoreMedia which is not available on darwin 10 or earlier -# gl cocoa build continues to fail due to use of API not available on darwin 10 or earlier -# - -if { ${os.major} < 11 } { - configure.args-append --disable-apple_media \ - --disable-cocoa -} - -# # X11 is only used for examples that are not installed # so just disable examples and drop the deprecated +no_x11 variant #