Ticket #20938: ffmpeg-devel-enable-mmx-snow-leopard.diff
File ffmpeg-devel-enable-mmx-snow-leopard.diff, 1.7 KB (added by dave@…, 15 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name ffmpeg-devel 7 set svn_rev 197 238 set swscale_rev 29 5487 set svn_rev 19787 8 set swscale_rev 29652 9 9 version ${svn_rev} 10 10 categories multimedia 11 11 maintainers devans openmaintainer … … 46 46 port:schroedinger \ 47 47 port:faac \ 48 48 port:faad2 \ 49 port:XviD \50 49 port:x264 \ 51 50 path:lib/pkgconfig/sdl.pc:libsdl \ 52 51 port:bzip2 \ … … 106 105 --enable-libdirac --enable-libschroedinger \ 107 106 --enable-libfaac \ 108 107 --enable-libfaad \ 109 --enable-libxvid \110 108 --enable-libx264 \ 111 109 --mandir=${prefix}/share/man \ 112 110 --enable-shared --enable-pthreads \ … … 144 142 if { ![variant_isset no_gpl] } { 145 143 configure.args-delete --enable-swscale 146 144 } 147 if { ![variant_isset no_mmx] } {148 configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext149 }150 145 } 151 146 152 147 variant no_mmx description {disable all x86 asm optimizations} { … … 182 177 depends_lib-append path:lib/libspeex.dylib:speex-devel 183 178 } 184 179 180 # build with xvid support. not usually needed since 181 # ffmpeg ships with support for that format baked in 182 variant xvid description {enable XviD integration. note ffmpeg already has mp4 support built in} { 183 configure.args-append --enable-libxvid 184 depends_lib-append port:XviD 185 } 186 185 187 pre-configure { 186 188 if {[variant_isset speex]} { 187 189 if {![file exists ${prefix}/lib/libspeexdsp.dylib]} {