Ticket #25447: ffmpeg_0.6_libvpx.diff
File ffmpeg_0.6_libvpx.diff, 1.9 KB (added by manphiz@…, 14 years ago) |
---|
-
ports/multimedia/ffmpeg/Portfile
old new 7 7 name ffmpeg 8 8 conflicts ffmpeg-devel 9 9 epoch 1 10 version 0.5.1 11 revision 2 10 version 0.6 12 11 categories multimedia 13 12 maintainers devans openmaintainer 14 13 … … 46 45 47 46 use_bzip2 yes 48 47 49 checksums md5 c7b0e1729f7aafb10496d79bb963bb26 \ 50 sha1 ab29dbfc7510e34e47b491279533d2f8c18efc38 \ 51 rmd160 9765798cabbf937f97ca7137b4ab398df5a4ec47 52 53 patchfiles patch-libavfilter-avfilter.h.diff \ 54 patch-libswscale-Makefile.diff \ 55 patch-libswscale-swscale.h.diff 56 48 checksums md5 d6142a9a5821d6a6262a6edb903faa24 \ 49 sha1 c130e3bc368251b9130ce6eafb44fe8c3993ff5c 57 50 58 51 use_parallel_build yes 59 52 … … 83 76 84 77 configure.cflags-append -DHAVE_LRINTF ${configure.cppflags} 85 78 configure.args \ 86 --disable-vhook \87 79 --enable-gpl \ 88 80 --enable-postproc \ 89 81 --enable-swscale --enable-avfilter --enable-avfilter-lavf \ … … 98 90 --enable-nonfree \ 99 91 --mandir=${prefix}/share/man \ 100 92 --enable-shared --enable-pthreads \ 93 --enable-libvpx \ 101 94 --cc=${configure.cc} 102 95 103 96 #add --enable-libopenjpeg when problems with openjpeg.h are resolved … … 168 161 depends_lib-append path:lib/libspeex.dylib:speex-devel 169 162 } 170 163 164 variant vpx description {enable vp8/webm decoding via libvpx} { 165 configure.args-append --enable-libvpx 166 depends_lib-append port:libvpx-devel 167 patchfiles-append ffmpeg-0.6_libvpx-0.9.1.diff 168 } 169 171 170 pre-configure { 172 171 if {[variant_isset speex]} { 173 172 if {![file exists ${prefix}/lib/libspeexdsp.dylib]} {