Ticket #42863: ffmpeg-vda.patch
File ffmpeg-vda.patch, 1.7 KB (added by Ionic (Mihai Moldovan), 11 years ago) |
---|
-
ports/multimedia/ffmpeg/Portfile
old new 120 120 --enable-libfreetype \ 121 121 --disable-indev=jack \ 122 122 --disable-outdev=xv \ 123 --disable-vda \ 123 124 --mandir=${prefix}/share/man \ 124 125 --enable-shared --enable-pthreads \ 125 126 --cc=${configure.cc} … … 133 134 configure.args-append --disable-libbluray 134 135 configure.args-append --disable-asm 135 136 } 137 138 # FIXME: use ${os.minor} once it hits stable base 139 # VDA (video hardware acceleration, mostly H264) is only supported on 10.6.3+ 140 if {${os.major} > 10 || {${os.major} == 10 && [lindex [split ${os.version} .] 1] >= 3}} { 141 configure.args-delete --disable-vda 142 configure.args-append --enable-vda 143 } 136 144 } 137 145 138 146 test.run yes -
ports/multimedia/ffmpeg-devel/Portfile
old new 126 126 --enable-libfreetype \ 127 127 --disable-indev=jack \ 128 128 --disable-outdev=xv \ 129 --disable-vda \ 129 130 --mandir=${prefix}/share/man \ 130 131 --enable-shared --enable-pthreads \ 131 132 --cc=${configure.cc} … … 139 140 configure.args-append --disable-libbluray 140 141 configure.args-append --disable-asm 141 142 } 143 144 # FIXME: use ${os.minor} once it hits stable base 145 # VDA (video hardware acceleration, mostly H264) is only supported on 10.6.3+ 146 if {${os.major} > 10 || {${os.major} == 10 && [lindex [split ${os.version} .] 1] >= 3}} { 147 configure.args-delete --disable-vda 148 configure.args-append --enable-vda 149 } 142 150 } 143 151 144 152 test.run yes