Ticket #49228: mpv.Portfile.diff
File mpv.Portfile.diff, 2.3 KB (added by johnrosshunt@…, 9 years ago) |
---|
-
Portfile
old new 6 6 PortGroup waf 1.0 7 7 8 8 # Please revbump mpv whenever ffmpeg{,-devel} is updated! 9 github.setup mpv-player mpv 0. 9.2v9 github.setup mpv-player mpv 0.11.0 v 10 10 revision 1 11 11 categories multimedia 12 12 license GPL-2+ … … 31 31 extract.only-delete ${waf_distfile} 32 32 33 33 checksums ${mpv_distfile} \ 34 rmd160 00f381bc678a7900dcd137507ac93373859a6232\35 sha256 468b86fa56f4d286c227f04cb0fe0f83d0311d55481da671a32296355fe75c9c\34 rmd160 47d625b899b7bbe3867845e9710fef14d41d5249 \ 35 sha256 7d0598a0f5f5825143e2678f058d6305683c82ff36702235703e8d54048132fe \ 36 36 ${waf_distfile} \ 37 37 rmd160 d58b790001664fe5f6a720e4ff9ce9f4105d195a \ 38 38 sha256 f02035fa5d8814f33f19b2b20d43822ddef6bb39b955ca196c2a247a1f9ffaa8 … … 62 62 --enable-coreaudio \ 63 63 --enable-cocoa \ 64 64 --disable-vda-hwaccel \ 65 --disable-vda-gl 65 --disable-vda-gl \ 66 --disable-videotoolbox-hwaccel \ 67 --disable-videotoolbox-gl 66 68 67 69 # mpv autodetects many support libs. To prevent undeclared 68 70 # dependencies, explicitly disable everything optional first. … … 160 162 configure.args-append --enable-vda-hwaccel \ 161 163 --enable-vda-gl 162 164 165 # VideotoolBox, a new hardware acceleration framework, is supported on 10.8+ and "here to stay". 166 # It provides support for H264, H263, MPEG1, MPEG2 and MPEG4. 167 if {${os.major} > 11} { 168 configure.args-delete --disable-videotoolbox-hwaccel \ 169 --disable-videotoolbox-gl 170 configure.args-append --enable-videotoolbox-hwaccel \ 171 --enable-videotoolbox-gl 172 } 163 173 notes-append { 164 174 This config file already defines the necessary video output settings to make \ 165 175 use of the hardware acceleration features provided by your operating system.