[38970] trunk/dports/multimedia/ffmpeg/Portfile
acho at macports.org
acho at macports.org
Mon Aug 4 07:11:01 PDT 2008
Revision: 38970
http://trac.macosforge.org/projects/macports/changeset/38970
Author: acho at macports.org
Date: 2008-08-04 07:11:00 -0700 (Mon, 04 Aug 2008)
Log Message:
-----------
Change default back to no mmx, add mmx variant for people with a compatible compiler.
Closes #16157
Modified Paths:
--------------
trunk/dports/multimedia/ffmpeg/Portfile
Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile 2008-08-04 13:21:09 UTC (rev 38969)
+++ trunk/dports/multimedia/ffmpeg/Portfile 2008-08-04 14:11:00 UTC (rev 38970)
@@ -4,7 +4,7 @@
name ffmpeg
version 0.4.9-pre1
-revision 9
+revision 10
categories multimedia
maintainers acho at macports.org openmaintainer
description Digital VCR and streaming server
@@ -39,6 +39,7 @@
worksrcdir trunk
depends_build bin:svn:subversion port:gmake
build.cmd gmake
+configure.compiler gcc-4.0
set svn_rev 14381
@@ -58,7 +59,8 @@
configure.cflags-append -DHAVE_LRINTF ${configure.cppflags}
configure.args --disable-vhook \
--mandir=${prefix}/share/man \
- --enable-shared --enable-pthreads
+ --enable-shared --enable-pthreads \
+ --disable-mmx --cc=gcc-4.0
default_variants +a52
@@ -76,13 +78,18 @@
}
platform darwin i386 {
- # Fix Leopard problems by disabling the cavs decoder for now; see #13019.
- configure.args-append --disable-decoder=cavs
post-patch {
reinplace "s|defined\(ARCH_X86\) \&\& defined\(CONFIG_GPL\)|defined\(ARCH_X86\) \\\&\\\& defined\(CONFIG_GPL\) \\\&\\\& \\\!defined\(__APPLE__\)|g" ${worksrcpath}/libswscale/rgb2rgb.c
}
}
+variant mmx description {enable mmx support, experimental; does not build in gcc-4.2 or xcode 3.0 gcc-4.0} {
+# make no-mmx default and allow mmx enabling for the brave.
+ configure.args-delete --disable-mmx
+# Fix Leopard problems by disabling the cavs decoder for now
+ configure.args-append --disable-decoder=cavs
+}
+
variant gpl description {allow use of GPL code, the resulting libav* and ffmpeg will be under GPL} {
configure.args-append --enable-gpl
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/78f11e06/attachment.html
More information about the macports-changes
mailing list