[57505] trunk/dports/multimedia/ffmpeg-devel/Portfile

devans at macports.org devans at macports.org
Fri Sep 11 14:47:38 PDT 2009


Revision: 57505
          http://trac.macports.org/changeset/57505
Author:   devans at macports.org
Date:     2009-09-11 14:47:38 -0700 (Fri, 11 Sep 2009)
Log Message:
-----------
ffmpeg-devel: update to svn 19824 swscale 29665, disable mmx on snow leopard i386 only. See #20938.

Modified Paths:
--------------
    trunk/dports/multimedia/ffmpeg-devel/Portfile

Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile	2009-09-11 20:33:13 UTC (rev 57504)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile	2009-09-11 21:47:38 UTC (rev 57505)
@@ -4,8 +4,8 @@
 PortSystem 1.0
 
 name            ffmpeg-devel
-set svn_rev     19723
-set swscale_rev 29548
+set svn_rev     19824
+set swscale_rev 29665
 version         ${svn_rev}
 categories      multimedia
 maintainers     devans openmaintainer
@@ -140,13 +140,15 @@
     # ticket #20235
     depends_lib-delete path:lib/pkgconfig/sdl.pc:libsdl
     depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl-devel
-    # ticket #20938
-    if { ![variant_isset no_gpl] } {
-        configure.args-delete --enable-swscale
+    # ticket #20938 -- disable for 32 bit intel only
+    if { [info exists build_arch] && $build_arch == "i386" } {
+        if { ![variant_isset no_gpl] } {
+            configure.args-delete --enable-swscale
+        }
+        if { ![variant_isset no_mmx] } {
+            configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
+        }
     }
-    if { ![variant_isset no_mmx] } {
-        configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
-    }
 }
 
 variant no_mmx description {disable all x86 asm optimizations} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090911/a46c0eed/attachment-0001.html>


More information about the macports-changes mailing list