Ticket #45302: mpv-0.6.0_v2.diff
File mpv-0.6.0_v2.diff, 3.1 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 v9 revision 18 github.setup mpv-player mpv 0.6.0 v 9 revision 0 10 10 categories multimedia 11 11 license GPL-2+ 12 12 maintainers ionic.de:ionic … … 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 … … 85 84 --disable-xv \ 86 85 --disable-gl-x11 \ 87 86 --disable-xinerama \ 88 --disable-xf86vm \89 --disable-xf86xk \90 87 --disable-caca \ 91 88 --disable-jpeg \ 92 89 --disable-tv \ … … 189 186 system -W "${worksrcpath}" "${waf.python} bootstrap.py" 190 187 } 191 188 189 post-build { 190 if {[variant_isset bundle_standalone]} { 191 system -W "${worksrcpath}" "TOOLS/osxbundle.py build/mpv" 192 } 193 } 194 192 195 post-destroot { 193 196 xinstall -d -m 0755 ${destroot}${prefix}/etc/${name} 194 197 foreach etcfile {encoding-profiles.conf example.conf input.conf} { … … 210 213 xinstall -d -m 0755 ${destroot}${applications_dir} 211 214 file rename ${destroot}${prefix}/bin/mpv.app ${destroot}${applications_dir} 212 215 } 216 217 if {[variant_isset bundle_standalone]} { 218 xinstall -d -m 0755 ${destroot}${applications_dir} 219 file rename ${worksrcpath}/build/mpv.app ${destroot}${applications_dir} 220 } 213 221 } 214 222 215 223 … … 222 230 # libquvi, as mpv supports multiple versions and we don't want waf to 223 231 # throw an error if some other version wasn't found. 224 232 225 variant bundle description {Enable the optional Mac OS X bundle of mpv} {233 variant bundle conflicts bundle_standalone description {Enable the optional Mac OS X bundle of mpv} { 226 234 configure.args-replace --disable-macosx-bundle \ 227 235 --enable-macosx-bundle 228 236 } 229 237 238 variant bundle_standalone conflicts bundle description {Enable the optional Mac OS X bundle of mpv (standalone version)} { 239 } 240 230 241 variant screenshot description {Enable optional screenshot support} { 231 242 depends_lib-append port:jpeg 232 243 configure.args-replace --disable-jpeg \