[113895] trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile

devans at macports.org devans at macports.org
Sun Nov 24 23:48:18 PST 2013


Revision: 113895
          https://trac.macports.org/changeset/113895
Author:   devans at macports.org
Date:     2013-11-24 23:48:18 -0800 (Sun, 24 Nov 2013)
Log Message:
-----------
gstreamer1-gst-plugins-bad: disable applemedia video plugin on darwin 10 and earlier.

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	2013-11-25 07:40:59 UTC (rev 113894)
+++ trunk/dports/gnome/gstreamer1-gst-plugins-bad/Portfile	2013-11-25 07:48:18 UTC (rev 113895)
@@ -53,7 +53,7 @@
             port:webp \
             port:gobject-introspection
 
-# applemedia-vtenc 
+# applemedia-vtenc
 # https://trac.macports.org/ticket/40732
 # https://trac.macports.org/ticket/41490
 # https://bugzilla.gnome.org/show_bug.cgi?id=706211
@@ -66,10 +66,9 @@
 # could depend on tons for multimedia stuff +variants
 # the following ports are available but don't configure
 # and/or build correctly
-
 #
 # port:mjpegtools (mpeg2enc mplex build fails) need to disable mpeg2enc mplex explicitly in case mjpegtools is installed
-# plugin frei0r (no dependency, seqfaults on load) 
+# plugin frei0r (no dependency, seqfaults on load)
 # port:opencv (configure fails) requires opencv <= 2.4.6.1 but we are at 2.4.7
 # port:slv2 (builds but lv2 plugin fails to load and slv2 is not universal) disable lv2 explicitly in case slv2 is installed
 # port:Xvid (configure fails) plugin xvid not ported in this version
@@ -87,6 +86,7 @@
                             --disable-lv2 \
                             --disable-mpeg2enc \
                             --disable-mplex \
+                            --disable-opencv \
                             --disable-sdltest \
                             --enable-experimental \
                             --enable-static
@@ -100,6 +100,14 @@
         configure.args-append --disable-soundtouch
 }
 
+#
+# applemedia video plugin uses CoreMedia which is not available on darwin 10 or earlier
+#
+
+if { ${os.major} < 11 } {
+        configure.args-append --disable-apple_media
+}
+
 configure.cppflags-append   "-L${prefix}/lib"
 configure.cflags-append     -funroll-loops -fstrict-aliasing
 configure.env-append        "HAVE_CXX=yes"
@@ -108,7 +116,7 @@
         configure.args-append --disable-examples
 }
 
-if {[variant_isset universal]} { 
+if {[variant_isset universal]} {
     set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
     set merger_host(i386) i686-apple-${os.platform}${os.major}
     set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131124/636dfd67/attachment.html>


More information about the macports-changes mailing list