Ticket #20938: ffmpeg-portfile-i386-no-mmx.diff

File ffmpeg-portfile-i386-no-mmx.diff, 1.0 KB (added by dave@…, 15 years ago)

ffmpeg portfile that disables mmx only on i386

  • Portfile

     
    66name            ffmpeg
    77epoch           1
    88version         0.5
    9 revision        3
     9revision        4
    1010categories      multimedia
    1111maintainers     devans openmaintainer
    1212
     
    5050
    5151patchfiles      patch-libavfilter-avfilter.h.diff \
    5252                patch-libswscale-Makefile.diff \
    53                 patch-libswscale-swscale.h.diff
     53                patch-libswscale-swscale.h.diff \
     54                patch-ffmpeg-configure.diff
    5455
    5556
    5657use_parallel_build yes
     
    134135    depends_lib-delete path:lib/pkgconfig/sdl.pc:libsdl
    135136    depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl-devel
    136137    # ticket #20938
    137     if { ![variant_isset no_sl_20938] } {
     138    if { ![variant_isset no_sl_20938] && [info exists build_arch] && $build_arch == "i386"} {
    138139        if { ![variant_isset no_gpl] } {
    139140            configure.args-delete --enable-swscale
    140141        }