Ticket #45302: mpv-0.6.0.diff
File mpv-0.6.0.diff, 1.9 KB (added by marek.krolikowski@…, 10 years ago) |
---|
-
ports/multimedia/mpv/Portfile
old new 5 5 PortGroup github 1.0 6 6 PortGroup waf 1.0 7 7 8 github.setup mpv-player mpv 0. 5.0 v8 github.setup mpv-player mpv 0.6.0 v 9 9 revision 1 10 10 categories multimedia 11 11 license GPL-2+ … … 21 21 and even H.264 movies. 22 22 homepage http://www.mpv.io/ 23 23 24 checksums rmd160 f1d443d3c4999d1b1610f95fac43827a4cea8602\25 sha256 9ca7ab6fdd533c5ec9aac2a4963a42220940b5bc6c1de940ff1d174f5746096524 checksums rmd160 7730a45810e018029fb1f6a0525f112b8968362b \ 25 sha256 158ef6066c1270e66bcf865bb250c8c6e1d7a1ace1d30c9a193956b30ee650c4 26 26 27 27 depends_build path:bin/pkg-config:pkgconfig 28 28 depends_lib path:lib/libavcodec.dylib:ffmpeg \ … … 54 54 --enable-libass \ 55 55 --enable-coreaudio \ 56 56 --enable-cocoa \ 57 --enable-corevideo \58 57 --disable-vda-hwaccel \ 59 58 --disable-vda-gl 60 59 … … 189 188 system -W "${worksrcpath}" "${waf.python} bootstrap.py" 190 189 } 191 190 191 post-build { 192 if {[variant_isset bundle]} { 193 system -W "${worksrcpath}" "TOOLS/osxbundle.py build/mpv" 194 } 195 } 196 192 197 post-destroot { 193 198 xinstall -d -m 0755 ${destroot}${prefix}/etc/${name} 194 199 foreach etcfile {encoding-profiles.conf example.conf input.conf} { … … 208 213 209 214 if {[variant_isset bundle]} { 210 215 xinstall -d -m 0755 ${destroot}${applications_dir} 211 file rename ${ destroot}${prefix}/bin/mpv.app ${destroot}${applications_dir}216 file rename ${worksrcpath}/build/mpv.app ${destroot}${applications_dir} 212 217 } 213 218 } 214 219