Hey Dmitrij and ports@, attached is a patch that updates mpv to 0.8.2. Tested it and it seems to play my files just fine.
Comments? OK? henrik
Index: Makefile =================================================================== RCS file: /cvs/ports/multimedia/mpv/Makefile,v retrieving revision 1.6 diff -u -p -u -p -r1.6 Makefile --- Makefile 17 Feb 2015 01:27:11 -0000 1.6 +++ Makefile 16 Mar 2015 19:47:15 -0000 @@ -5,9 +5,8 @@ ONLY_FOR_ARCHS = amd64 COMMENT = movie player based on MPlayer/mplayer2 -V = 0.7.3 +V = 0.8.2 DISTNAME = mpv-${V} -REVISION = 0 GH_ACCOUNT= mpv-player GH_PROJECT= mpv @@ -26,7 +25,8 @@ PERMIT_PACKAGE_FTP = Yes WANTLIB += EGL GL X11 Xext Xinerama Xrandr Xss Xv ass avcodec WANTLIB += avdevice avfilter avformat avresample avutil c cdio WANTLIB += cdio_cdda cdio_paranoia dvdnav dvdread jpeg lcms2 -WANTLIB += m postproc pthread smbclient sndio swscale z ${MODLUA_WANTLIB} +WANTLIB += m postproc pthread smbclient sndio swresample swscale z +WANTLIB += ${MODLUA_WANTLIB} MODULES = converters/libiconv \ lang/lua \ @@ -66,7 +66,6 @@ CONFIGURE_ARGS += --confdir=${SYSCONFDIR --disable-optimization \ --disable-openal \ --disable-pulse \ - --disable-portaudio \ --disable-rsound # pkg-config says smbclient's version is 0 Index: distinfo =================================================================== RCS file: /cvs/ports/multimedia/mpv/distinfo,v retrieving revision 1.2 diff -u -p -u -p -r1.2 distinfo --- distinfo 13 Feb 2015 13:49:45 -0000 1.2 +++ distinfo 16 Mar 2015 19:47:15 -0000 @@ -1,2 +1,2 @@ -SHA256 (mpv-0.7.3.tar.gz) = iNzcRCZKjpubc6ldAxN9UQca6owmnMGRRhCb+PkX6LE= -SIZE (mpv-0.7.3.tar.gz) = 2672554 +SHA256 (mpv-0.8.2.tar.gz) = pWWTS/ZoskqUbxkvBpgWZEFb2ZH9IERUuFu495eAdKc= +SIZE (mpv-0.8.2.tar.gz) = 2663666 Index: patches/patch-DOCS_man_mpv_rst =================================================================== RCS file: /cvs/ports/multimedia/mpv/patches/patch-DOCS_man_mpv_rst,v retrieving revision 1.1 diff -u -p -u -p -r1.1 patch-DOCS_man_mpv_rst --- patches/patch-DOCS_man_mpv_rst 17 Feb 2015 01:27:11 -0000 1.1 +++ patches/patch-DOCS_man_mpv_rst 16 Mar 2015 19:47:15 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-DOCS_man_mpv_rst,v 1.1 2015/02/17 01:27:11 brad Exp $ ---- DOCS/man/mpv.rst.orig Fri Feb 13 22:10:04 2015 -+++ DOCS/man/mpv.rst Fri Feb 13 22:10:15 2015 -@@ -847,7 +847,7 @@ Play a multi-angle DVD: +--- DOCS/man/mpv.rst.orig Thu Feb 26 19:13:34 2015 ++++ DOCS/man/mpv.rst Mon Mar 16 20:10:57 2015 +@@ -849,7 +849,7 @@ Play a multi-angle DVD: ``mpv dvd://1 --dvd-angle=2`` Play from a different DVD device: Index: patches/patch-DOCS_man_options_rst =================================================================== RCS file: /cvs/ports/multimedia/mpv/patches/patch-DOCS_man_options_rst,v retrieving revision 1.1 diff -u -p -u -p -r1.1 patch-DOCS_man_options_rst --- patches/patch-DOCS_man_options_rst 17 Feb 2015 01:27:11 -0000 1.1 +++ patches/patch-DOCS_man_options_rst 16 Mar 2015 19:47:15 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-DOCS_man_options_rst,v 1.1 2015/02/17 01:27:11 brad Exp $ ---- DOCS/man/options.rst.orig Fri Feb 13 22:05:13 2015 -+++ DOCS/man/options.rst Fri Feb 13 22:05:39 2015 -@@ -1786,10 +1786,10 @@ Disc Devices +--- DOCS/man/options.rst.orig Thu Feb 26 19:13:34 2015 ++++ DOCS/man/options.rst Mon Mar 16 20:10:57 2015 +@@ -1854,10 +1854,10 @@ Disc Devices ------------ ``--cdrom-device=<path>`` Index: patches/patch-old-configure =================================================================== RCS file: /cvs/ports/multimedia/mpv/patches/patch-old-configure,v retrieving revision 1.2 diff -u -p -u -p -r1.2 patch-old-configure --- patches/patch-old-configure 17 Feb 2015 01:27:11 -0000 1.2 +++ patches/patch-old-configure 16 Mar 2015 19:47:15 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-old-configure,v 1.2 2015/02/17 01:27:11 brad Exp $ ---- old-configure.orig Mon Jan 26 20:23:08 2015 -+++ old-configure Fri Feb 13 21:55:41 2015 -@@ -191,7 +191,7 @@ options_state_machine() { +--- old-configure.orig Thu Feb 26 19:13:34 2015 ++++ old-configure Mon Mar 16 20:10:57 2015 +@@ -190,7 +190,7 @@ options_state_machine() { opt_yes_no _libavresample "libavresample (preferred over libswresample)" opt_yes_no _libswresample "libswresample" opt_yes_no _caca "CACA video output" @@ -10,7 +10,7 @@ $OpenBSD: patch-old-configure,v 1.2 2015 opt_yes_no _xv "Xv video output" opt_yes_no _vdpau "VDPAU acceleration" opt_yes_no _vaapi "VAAPI acceleration" -@@ -328,7 +328,7 @@ test -z "$_bindir" && _bindir="$_prefix/bin" +@@ -326,7 +326,7 @@ test -z "$_bindir" && _bindir="$_prefix/bin" test -z "$_mandir" && _mandir="$_prefix/share/man" test -z "$_confdir" && _confdir="$_prefix/etc/mpv" @@ -19,7 +19,7 @@ $OpenBSD: patch-old-configure,v 1.2 2015 test -n "$mplayer_tmpdir" || die "Unable to create tmpdir." trap 'rm -rf "$mplayer_tmpdir"' EXIT -@@ -665,6 +665,8 @@ EOF +@@ -663,6 +663,8 @@ EOF _gl_wayland=yes libs_mplayer="$libs_mplayer -lGL -lEGL" test "$_gl_wayland" = yes && res_comment="$res_comment wayland" @@ -28,7 +28,7 @@ $OpenBSD: patch-old-configure,v 1.2 2015 fi if test "$_x11" = yes && test "$_gl" = yes && pkg_config_add "egl"; then _gl_x11_egl=yes -@@ -863,9 +865,11 @@ test_lua() { +@@ -851,9 +853,11 @@ test_lua() { test_lua "lua >= 5.1.0 lua < 5.2.0" test_lua "lua5.1 >= 5.1.0" # debian @@ -40,7 +40,7 @@ $OpenBSD: patch-old-configure,v 1.2 2015 test "$_lua" != yes && check_yes_no no LUA -@@ -983,8 +987,13 @@ cat > $TMPC << EOF +@@ -970,8 +974,13 @@ cat > $TMPC << EOF #define HAVE_NETBSD_THREAD_NAME 0 #define HAVE_DXVA2_HWACCEL 0