# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortGroup legacysupport 1.0
# Please revbump mpv whenever ffmpeg{,-devel} is updated!
github.setup mpv-player mpv 0.29.1 v
maintainers {ionic @Ionic}
description mpv is a movie player based on MPlayer and mplayer2.
long_description ${description} It plays most MPEG/VOB, AVI, Ogg/OGM, \
VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, \
NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, \
supported by many native, XAnim, and Win32 DLL codecs. \
You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV \
homepage http://www.mpv.io/
set waf_distfile waf-${waf_version}
set mpv_distfile ${distfiles}
master_sites-append https://waf.io/:waf
distfiles-append ${waf_distfile}:waf
extract.only-delete ${waf_distfile}
checksums ${mpv_distfile} \
rmd160 10edd02cf12c4668c57317caf3042df30ae1128c \
sha256 c7076df8c46f2696121d0b96cc5edfc472cbccc3b6a70d9b5c00a72b6a41c820 \
rmd160 bbb01fa7c1d552c01e5a6531ed27aef710d668e7 \
sha256 2a8e0816f023995e557f79ea8940d322bec18f286917c8f9a6fa2dc3875dfa48 \
depends_build port:pkgconfig
depends_lib path:lib/libavcodec.dylib:ffmpeg \
default_variants +network +osd +opengl +dvd +audiocd +libarchive
if {${os.platform} eq "darwin" && ${os.major} > 10} {
# current macOS bundle errors on < 10.7 due to unhandled -psn_* argument
default_variants-append +bundle
# at this moment in time (20190127) rubberband does not build on PPC