Re: UPDATE: mpv 0.33.0

2020-12-20 Thread Brad Smith
On Mon, Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:
> Here is an update to mpv 0.33.0.
> 
> Any testing would be appreciated.

Here is an updated diff now that the libass update has gone in.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile10 Nov 2020 16:40:18 -  1.65
+++ Makefile20 Dec 2020 21:24:55 -
@@ -4,10 +4,9 @@ COMMENT =  movie player based on MPlayer
 
 GH_ACCOUNT =   mpv-player
 GH_PROJECT =   mpv
-GH_TAGNAME =   v0.32.0
-REVISION = 2
+GH_TAGNAME =   v0.33.0
 
-SHARED_LIBS += mpv 0.1 # 1.107
+SHARED_LIBS += mpv 0.2 # 1.107
 
 CATEGORIES =   multimedia x11
 
@@ -21,13 +20,15 @@ EXTRACT_ONLY =  ${DISTNAME}${EXTRACT_SUF
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
+WANTLIB += ${MODLUA_WANTLIB}
 WANTLIB += EGL GL SDL2 X11 X11-xcb Xau Xdamage Xdmcp Xext Xfixes
 WANTLIB += Xinerama Xrandr Xrender Xss Xv Xxf86vm archive ass
 WANTLIB += avcodec avdevice avfilter avformat avresample avutil
 WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
-WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
-WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
-WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
+WANTLIB += epoxy expat fontconfig freetype fribidi gbm glib-2.0
+WANTLIB += graphite2 harfbuzz iconv intl jpeg lcms2 m pcre placebo
+WANTLIB += postproc pthread swresample swscale xcb xcb-dri2 xcb-glx
+WANTLIB += xml2 z
 
 MODULES =  lang/lua \
lang/python
@@ -66,7 +67,6 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
--enable-cdda \
--enable-dvdnav \
--enable-libmpv-shared \
-   --enable-sndio \
--enable-sdl2 \
--disable-alsa \
--disable-caca \
@@ -75,12 +75,10 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
--disable-gl-wayland \
--disable-jack \
--disable-rubberband \
-   --disable-oss-audio \
--disable-openal \
--disable-optimize \
--disable-pulse \
-   --disable-rsound \
-   --disable-libsmbclient \
+   --disable-sixel \
--disable-uchardet \
--disable-vaapi \
--disable-vaapi-drm \
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo29 Oct 2020 13:44:14 -  1.24
+++ distinfo22 Nov 2020 20:32:07 -
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.32.0.tar.gz) = kWP2SDIibSLiS7xIdOvWrAI3LNcXvvFcKKCqhYxf5ZI=
+SHA256 (mpv-0.33.0.tar.gz) = 8bm69dwu6vN2WXwopigfrPbtmP89Vn45Vclb8kWVILQ=
 SHA256 (waf-2.0.20) = v5cemO3CQUloomLGqmuIVBomw80khonIn0xXNwlV7n8=
-SIZE (mpv-0.32.0.tar.gz) = 3148730
+SIZE (mpv-0.33.0.tar.gz) = 3259387
 SIZE (waf-2.0.20) = 104725
Index: patches/patch-libmpv_client_h
===
RCS file: /home/cvs/ports/multimedia/mpv/patches/patch-libmpv_client_h,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-libmpv_client_h
--- patches/patch-libmpv_client_h   29 Jan 2020 06:52:21 -  1.5
+++ patches/patch-libmpv_client_h   22 Nov 2020 21:06:48 -
@@ -5,11 +5,11 @@ Set shared library version.
 Index: libmpv/client.h
 --- libmpv/client.h.orig
 +++ libmpv/client.h
-@@ -229,7 +229,7 @@ extern "C" {
+@@ -235,7 +235,7 @@ extern "C" {
   * relational operators (<, >, <=, >=).
   */
  #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
--#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 107)
+-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 109)
 +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(${LMAJ}, ${LMIN})
  
  /**
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/multimedia/mpv/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 PLIST
--- pkg/PLIST   29 Jan 2020 06:52:21 -  1.9
+++ pkg/PLIST   22 Nov 2020 21:11:12 -
@@ -3,7 +3,6 @@
 include/mpv/
 include/mpv/client.h
 include/mpv/opengl_cb.h
-include/mpv/qthelper.hpp
 include/mpv/render.h
 include/mpv/render_gl.h
 include/mpv/stream_cb.h
@@ -20,6 +19,7 @@ share/examples/mpv/mpv.conf
 share/examples/mpv/mpv_identify.sh
 share/examples/mpv/restore-old-bindings.conf
 share/examples/mpv/umpv
+share/icons/hicolor/128x128/apps/mpv.png
 share/icons/hicolor/16x16/apps/mpv.png
 share/icons/hicolor/32x32/apps/mpv.png

Re: UPDATE: mpv 0.33.0

2020-12-15 Thread Brad Smith

On 12/15/2020 1:46 AM, Rafael Sadowski wrote:

On Tue Dec 15, 2020 at 12:16:13AM +0100, Charlene Wendling wrote:

Hi,

On Mon, 14 Dec 2020 15:02:38 +0100
Rafael Sadowski wrote:


On Mon Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:

Here is an update to mpv 0.33.0.

Any testing would be appreciated.

This builds and works fine on macppc and amd64.

I've found out that port-lib-depends-check complains about missing
items:

WANTLIB += glib-2.0 graphite2 harfbuzz intl pcre


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile10 Nov 2020 16:40:18 -  1.65
+++ Makefile22 Nov 2020 21:48:18 -
@@ -4,10 +4,9 @@ COMMENT =  movie player based on
MPlayer
  GH_ACCOUNT =  mpv-player
  GH_PROJECT =  mpv
-GH_TAGNAME =   v0.32.0
-REVISION = 2
+GH_TAGNAME =   v0.33.0
  
-SHARED_LIBS +=		mpv		0.1 # 1.107

+SHARED_LIBS += mpv 0.2 # 1.107
  
  CATEGORIES =		multimedia x11
  
@@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X

  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
-WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
+WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample

s/lua5.1/${MODLUA_WANTLIB}/ ?



Based on Brad's diff with adjusted WANTLIB section:

Index: Makefile
===
RCS file: /cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile10 Nov 2020 16:40:18 -  1.65
+++ Makefile15 Dec 2020 06:44:50 -
@@ -4,10 +4,9 @@ COMMENT =  movie player based on MPlayer
  
  GH_ACCOUNT =		mpv-player

  GH_PROJECT =  mpv
-GH_TAGNAME =   v0.32.0
-REVISION = 2
+GH_TAGNAME =   v0.33.0
  
-SHARED_LIBS +=		mpv		0.1 # 1.107

+SHARED_LIBS += mpv 0.2 # 1.107
  
  CATEGORIES =		multimedia x11
  
@@ -25,9 +24,10 @@ WANTLIB += EGL GL SDL2 X11 X11-xcb Xau X

  WANTLIB += Xinerama Xrandr Xrender Xss Xv Xxf86vm archive ass
  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
-WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
-WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
-WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
+WANTLIB += epoxy expat fontconfig freetype fribidi gbm glib-2.0
+WANTLIB += graphite2 harfbuzz iconv intl jpeg lcms2 ${MODLUA_WANTLIB} m pcre
+WANTLIB += placebo postproc pthread swresample swscale xcb xcb-dri2
+WANTLIB += xcb-glx xml2 z
  
  MODULES =		lang/lua \

lang/python
@@ -45,6 +45,7 @@ LIB_DEPENDS = archivers/libarchive \
audio/libcdio \
audio/libcdio-paranoia \
converters/libiconv \
+   devel/harfbuzz \


mpv does not use harfbuzz.



Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Rafael Sadowski
On Tue Dec 15, 2020 at 12:16:13AM +0100, Charlene Wendling wrote:
> Hi,
> 
> On Mon, 14 Dec 2020 15:02:38 +0100
> Rafael Sadowski wrote:
> 
> > On Mon Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:
> > > Here is an update to mpv 0.33.0.
> > > 
> > > Any testing would be appreciated.
> 
> This builds and works fine on macppc and amd64.
> 
> I've found out that port-lib-depends-check complains about missing
> items:
> 
> WANTLIB += glib-2.0 graphite2 harfbuzz intl pcre
> 
> > > 
> > > Index: Makefile
> > > ===
> > > RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
> > > retrieving revision 1.65
> > > diff -u -p -u -p -r1.65 Makefile
> > > --- Makefile  10 Nov 2020 16:40:18 -  1.65
> > > +++ Makefile  22 Nov 2020 21:48:18 -
> > > @@ -4,10 +4,9 @@ COMMENT =movie player based on
> > > MPlayer 
> > >  GH_ACCOUNT = mpv-player
> > >  GH_PROJECT = mpv
> > > -GH_TAGNAME = v0.32.0
> > > -REVISION =   2
> > > +GH_TAGNAME = v0.33.0
> > >  
> > > -SHARED_LIBS +=   mpv 0.1 # 1.107
> > > +SHARED_LIBS +=   mpv 0.2 # 1.107
> > >  
> > >  CATEGORIES = multimedia x11
> > >  
> > > @@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X
> > >  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
> > >  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
> > >  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
> > > -WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
> > > +WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample
> > 
> > s/lua5.1/${MODLUA_WANTLIB}/ ?
> 
> 

Based on Brad's diff with adjusted WANTLIB section:

Index: Makefile
===
RCS file: /cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile10 Nov 2020 16:40:18 -  1.65
+++ Makefile15 Dec 2020 06:44:50 -
@@ -4,10 +4,9 @@ COMMENT =  movie player based on MPlayer
 
 GH_ACCOUNT =   mpv-player
 GH_PROJECT =   mpv
-GH_TAGNAME =   v0.32.0
-REVISION = 2
+GH_TAGNAME =   v0.33.0
 
-SHARED_LIBS += mpv 0.1 # 1.107
+SHARED_LIBS += mpv 0.2 # 1.107
 
 CATEGORIES =   multimedia x11
 
@@ -25,9 +24,10 @@ WANTLIB += EGL GL SDL2 X11 X11-xcb Xau X
 WANTLIB += Xinerama Xrandr Xrender Xss Xv Xxf86vm archive ass
 WANTLIB += avcodec avdevice avfilter avformat avresample avutil
 WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
-WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
-WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
-WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
+WANTLIB += epoxy expat fontconfig freetype fribidi gbm glib-2.0
+WANTLIB += graphite2 harfbuzz iconv intl jpeg lcms2 ${MODLUA_WANTLIB} m pcre
+WANTLIB += placebo postproc pthread swresample swscale xcb xcb-dri2
+WANTLIB += xcb-glx xml2 z
 
 MODULES =  lang/lua \
lang/python
@@ -45,6 +45,7 @@ LIB_DEPENDS = archivers/libarchive \
audio/libcdio \
audio/libcdio-paranoia \
converters/libiconv \
+   devel/harfbuzz \
devel/sdl2 \
graphics/ffmpeg>=4.1.1 \
graphics/jpeg \
@@ -66,7 +67,6 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
--enable-cdda \
--enable-dvdnav \
--enable-libmpv-shared \
-   --enable-sndio \
--enable-sdl2 \
--disable-alsa \
--disable-caca \
@@ -75,12 +75,10 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
--disable-gl-wayland \
--disable-jack \
--disable-rubberband \
-   --disable-oss-audio \
--disable-openal \
--disable-optimize \
--disable-pulse \
-   --disable-rsound \
-   --disable-libsmbclient \
+   --disable-sixel \
--disable-uchardet \
--disable-vaapi \
--disable-vaapi-drm \
Index: distinfo
===
RCS file: /cvs/ports/multimedia/mpv/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo29 Oct 2020 13:44:14 -  1.24
+++ distinfo15 Dec 2020 06:44:50 -
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.32.0.tar.gz) = kWP2SDIibSLiS7xIdOvWrAI3LNcXvvFcKKCqhYxf5ZI=
+SHA256 (mpv-0.33.0.tar.gz)

Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Brad Smith

On 12/14/2020 6:16 PM, Charlene Wendling wrote:

Hi,

On Mon, 14 Dec 2020 15:02:38 +0100
Rafael Sadowski wrote:


On Mon Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:

Here is an update to mpv 0.33.0.

Any testing would be appreciated.

This builds and works fine on macppc and amd64.

I've found out that port-lib-depends-check complains about missing
items:

WANTLIB += glib-2.0 graphite2 harfbuzz intl pcre


Ya, that was because of the libass update. I didn't include them
with the initial diff as it had not been commited yet.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile10 Nov 2020 16:40:18 -  1.65
+++ Makefile22 Nov 2020 21:48:18 -
@@ -4,10 +4,9 @@ COMMENT =  movie player based on
MPlayer
  GH_ACCOUNT =  mpv-player
  GH_PROJECT =  mpv
-GH_TAGNAME =   v0.32.0
-REVISION = 2
+GH_TAGNAME =   v0.33.0
  
-SHARED_LIBS +=		mpv		0.1 # 1.107

+SHARED_LIBS += mpv 0.2 # 1.107
  
  CATEGORIES =		multimedia x11
  
@@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X

  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
-WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
+WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample

s/lua5.1/${MODLUA_WANTLIB}/ ?








Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Brad Smith

On 12/14/2020 10:30 AM, Hiltjo Posthuma wrote:

On Mon, Dec 14, 2020 at 02:39:30PM +0100, Solene Rapenne wrote:

On Mon, 14 Dec 2020 13:27:29 +0100
Hiltjo Posthuma :


On Mon, Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:

Here is an update to mpv 0.33.0.

Any testing would be appreciated.
   

Hi Brad,

Thanks for updating it. I noticed some issues.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile10 Nov 2020 16:40:18 -  1.65
+++ Makefile22 Nov 2020 21:48:18 -
@@ -4,10 +4,9 @@ COMMENT =  movie player based on MPlayer
  
  GH_ACCOUNT =		mpv-player

  GH_PROJECT =  mpv
-GH_TAGNAME =   v0.32.0
-REVISION = 2
+GH_TAGNAME =   v0.33.0
  
-SHARED_LIBS +=		mpv		0.1 # 1.107

+SHARED_LIBS += mpv 0.2 # 1.107
  
  CATEGORIES =		multimedia x11
  
@@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X

  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
-WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
+WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample
  WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
  
  MODULES =		lang/lua \

@@ -66,7 +65,6 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
--enable-cdda \
--enable-dvdnav \
--enable-libmpv-shared \
-   --enable-sndio \
--enable-sdl2 \
--disable-alsa \
--disable-caca \
@@ -75,12 +73,10 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
--disable-gl-wayland \
--disable-jack \
--disable-rubberband \
-   --disable-oss-audio \
--disable-openal \
--disable-optimize \
--disable-pulse \
-   --disable-rsound \
-   --disable-libsmbclient \
+   --disable-sixel \
--disable-uchardet \
--disable-vaapi \
--disable-vaapi-drm \
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo29 Oct 2020 13:44:14 -  1.24
+++ distinfo22 Nov 2020 20:32:07 -
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.32.0.tar.gz) = kWP2SDIibSLiS7xIdOvWrAI3LNcXvvFcKKCqhYxf5ZI=
+SHA256 (mpv-0.33.0.tar.gz) = 8bm69dwu6vN2WXwopigfrPbtmP89Vn45Vclb8kWVILQ=
  SHA256 (waf-2.0.20) = v5cemO3CQUloomLGqmuIVBomw80khonIn0xXNwlV7n8=
-SIZE (mpv-0.32.0.tar.gz) = 3148730
+SIZE (mpv-0.33.0.tar.gz) = 3259387
  SIZE (waf-2.0.20) = 104725
Index: patches/patch-libmpv_client_h
===
RCS file: /home/cvs/ports/multimedia/mpv/patches/patch-libmpv_client_h,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-libmpv_client_h
--- patches/patch-libmpv_client_h   29 Jan 2020 06:52:21 -  1.5
+++ patches/patch-libmpv_client_h   22 Nov 2020 21:06:48 -
@@ -5,11 +5,11 @@ Set shared library version.
  Index: libmpv/client.h
  --- libmpv/client.h.orig
  +++ libmpv/client.h
-@@ -229,7 +229,7 @@ extern "C" {
+@@ -235,7 +235,7 @@ extern "C" {
* relational operators (<, >, <=, >=).
*/
   #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
--#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 107)
+-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 109)
  +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(${LMAJ}, ${LMIN})
   
   /**

Index: pkg/PLIST
===
RCS file: /home/cvs/ports/multimedia/mpv/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 PLIST
--- pkg/PLIST   29 Jan 2020 06:52:21 -  1.9
+++ pkg/PLIST   22 Nov 2020 21:11:12 -
@@ -3,7 +3,6 @@
  include/mpv/
  include/mpv/client.h
  include/mpv/opengl_cb.h
-include/mpv/qthelper.hpp
  include/mpv/render.h
  include/mpv/render_gl.h
  include/mpv/stream_cb.h
@@ -20,6 +19,7 @@ share/examples/mpv/mpv.conf
  share/examples/mpv/mpv_identify.sh
  share/examples/mpv/restore-old-bindings.conf
  share/examples/mpv/umpv
+share/icons/hicolor/128x128/apps/mpv.png
  share/icons/hicolor/16x16/apps/mpv.png
  share/icons/hicolor/32x32/apps/mpv.png
  share/icons/hicolor/64x64/apps/mpv.png
   

~/music $ mpv somefile.opus
  (+) Audio --aid=1 --alang=eng (opus 2ch 48000Hz)
[ao] Audio output sndio not found!
[ao] Failed to initialize audio driver 'sndio'
Could not open/initialize audio device -> no so

Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Brad Smith

On 12/14/2020 7:27 AM, Hiltjo Posthuma wrote:

On Mon, Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:

Here is an update to mpv 0.33.0.

Any testing would be appreciated.


Hi Brad,

Thanks for updating it. I noticed some issues.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile10 Nov 2020 16:40:18 -  1.65
+++ Makefile22 Nov 2020 21:48:18 -
@@ -4,10 +4,9 @@ COMMENT =  movie player based on MPlayer
  
  GH_ACCOUNT =		mpv-player

  GH_PROJECT =  mpv
-GH_TAGNAME =   v0.32.0
-REVISION = 2
+GH_TAGNAME =   v0.33.0
  
-SHARED_LIBS +=		mpv		0.1 # 1.107

+SHARED_LIBS += mpv 0.2 # 1.107
  
  CATEGORIES =		multimedia x11
  
@@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X

  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
-WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
+WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample
  WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
  
  MODULES =		lang/lua \

@@ -66,7 +65,6 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
--enable-cdda \
--enable-dvdnav \
--enable-libmpv-shared \
-   --enable-sndio \
--enable-sdl2 \
--disable-alsa \
--disable-caca \
@@ -75,12 +73,10 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
--disable-gl-wayland \
--disable-jack \
--disable-rubberband \
-   --disable-oss-audio \
--disable-openal \
--disable-optimize \
--disable-pulse \
-   --disable-rsound \
-   --disable-libsmbclient \
+   --disable-sixel \
--disable-uchardet \
--disable-vaapi \
--disable-vaapi-drm \
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo29 Oct 2020 13:44:14 -  1.24
+++ distinfo22 Nov 2020 20:32:07 -
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.32.0.tar.gz) = kWP2SDIibSLiS7xIdOvWrAI3LNcXvvFcKKCqhYxf5ZI=
+SHA256 (mpv-0.33.0.tar.gz) = 8bm69dwu6vN2WXwopigfrPbtmP89Vn45Vclb8kWVILQ=
  SHA256 (waf-2.0.20) = v5cemO3CQUloomLGqmuIVBomw80khonIn0xXNwlV7n8=
-SIZE (mpv-0.32.0.tar.gz) = 3148730
+SIZE (mpv-0.33.0.tar.gz) = 3259387
  SIZE (waf-2.0.20) = 104725
Index: patches/patch-libmpv_client_h
===
RCS file: /home/cvs/ports/multimedia/mpv/patches/patch-libmpv_client_h,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-libmpv_client_h
--- patches/patch-libmpv_client_h   29 Jan 2020 06:52:21 -  1.5
+++ patches/patch-libmpv_client_h   22 Nov 2020 21:06:48 -
@@ -5,11 +5,11 @@ Set shared library version.
  Index: libmpv/client.h
  --- libmpv/client.h.orig
  +++ libmpv/client.h
-@@ -229,7 +229,7 @@ extern "C" {
+@@ -235,7 +235,7 @@ extern "C" {
* relational operators (<, >, <=, >=).
*/
   #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
--#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 107)
+-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 109)
  +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(${LMAJ}, ${LMIN})
   
   /**

Index: pkg/PLIST
===
RCS file: /home/cvs/ports/multimedia/mpv/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 PLIST
--- pkg/PLIST   29 Jan 2020 06:52:21 -  1.9
+++ pkg/PLIST   22 Nov 2020 21:11:12 -
@@ -3,7 +3,6 @@
  include/mpv/
  include/mpv/client.h
  include/mpv/opengl_cb.h
-include/mpv/qthelper.hpp
  include/mpv/render.h
  include/mpv/render_gl.h
  include/mpv/stream_cb.h
@@ -20,6 +19,7 @@ share/examples/mpv/mpv.conf
  share/examples/mpv/mpv_identify.sh
  share/examples/mpv/restore-old-bindings.conf
  share/examples/mpv/umpv
+share/icons/hicolor/128x128/apps/mpv.png
  share/icons/hicolor/16x16/apps/mpv.png
  share/icons/hicolor/32x32/apps/mpv.png
  share/icons/hicolor/64x64/apps/mpv.png


~/music $ mpv somefile.opus
  (+) Audio --aid=1 --alang=eng (opus 2ch 48000Hz)
[ao] Audio output sndio not found!
[ao] Failed to initialize audio driver 'sndio'
Could not open/initialize audio device -> no sound.
Audio: no audio
Segmentation fault (core dumped)

Theres no sound. I read sndio support was removed from upstream mpv. Thi

Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Charlene Wendling
Hi,

On Mon, 14 Dec 2020 15:02:38 +0100
Rafael Sadowski wrote:

> On Mon Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:
> > Here is an update to mpv 0.33.0.
> > 
> > Any testing would be appreciated.

This builds and works fine on macppc and amd64.

I've found out that port-lib-depends-check complains about missing
items:

WANTLIB += glib-2.0 graphite2 harfbuzz intl pcre

> > 
> > Index: Makefile
> > ===
> > RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
> > retrieving revision 1.65
> > diff -u -p -u -p -r1.65 Makefile
> > --- Makefile10 Nov 2020 16:40:18 -  1.65
> > +++ Makefile22 Nov 2020 21:48:18 -
> > @@ -4,10 +4,9 @@ COMMENT =  movie player based on
> > MPlayer 
> >  GH_ACCOUNT =   mpv-player
> >  GH_PROJECT =   mpv
> > -GH_TAGNAME =   v0.32.0
> > -REVISION = 2
> > +GH_TAGNAME =   v0.33.0
> >  
> > -SHARED_LIBS += mpv 0.1 # 1.107
> > +SHARED_LIBS += mpv 0.2 # 1.107
> >  
> >  CATEGORIES =   multimedia x11
> >  
> > @@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X
> >  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
> >  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
> >  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
> > -WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
> > +WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample
> 
> s/lua5.1/${MODLUA_WANTLIB}/ ?






Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Matthias Schmidt
Hi,

* Brad Smith wrote:
> Here is an update to mpv 0.33.0.
> 
> Any testing would be appreciated.

I tested it over the course of the day and all my use cases (audio,
video) work for me.

OpenBSD 6.8-current (GENERIC.MP) #221: Fri Dec 11 13:17:00 MST 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

I use sdl as "ao" and gpu as "vo".

Cheers

Matthias



Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Solene Rapenne
On Mon, 14 Dec 2020 13:27:29 +0100
Hiltjo Posthuma :

> On Mon, Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:
> > Here is an update to mpv 0.33.0.
> > 
> > Any testing would be appreciated.
> >   
> 
> Hi Brad,
> 
> Thanks for updating it. I noticed some issues.
> 
> > 
> > Index: Makefile
> > ===
> > RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
> > retrieving revision 1.65
> > diff -u -p -u -p -r1.65 Makefile
> > --- Makefile10 Nov 2020 16:40:18 -  1.65
> > +++ Makefile22 Nov 2020 21:48:18 -
> > @@ -4,10 +4,9 @@ COMMENT =  movie player based on MPlayer
> >  
> >  GH_ACCOUNT =   mpv-player
> >  GH_PROJECT =   mpv
> > -GH_TAGNAME =   v0.32.0
> > -REVISION = 2
> > +GH_TAGNAME =   v0.33.0
> >  
> > -SHARED_LIBS += mpv 0.1 # 1.107
> > +SHARED_LIBS += mpv 0.2 # 1.107
> >  
> >  CATEGORIES =   multimedia x11
> >  
> > @@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X
> >  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
> >  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
> >  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
> > -WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
> > +WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample
> >  WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
> >  
> >  MODULES =  lang/lua \
> > @@ -66,7 +65,6 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
> > --enable-cdda \
> > --enable-dvdnav \
> > --enable-libmpv-shared \
> > -   --enable-sndio \
> > --enable-sdl2 \
> > --disable-alsa \
> > --disable-caca \
> > @@ -75,12 +73,10 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
> > --disable-gl-wayland \
> > --disable-jack \
> > --disable-rubberband \
> > -   --disable-oss-audio \
> > --disable-openal \
> > --disable-optimize \
> > --disable-pulse \
> > -   --disable-rsound \
> > -   --disable-libsmbclient \
> > +   --disable-sixel \
> > --disable-uchardet \
> > --disable-vaapi \
> > --disable-vaapi-drm \
> > Index: distinfo
> > ===
> > RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
> > retrieving revision 1.24
> > diff -u -p -u -p -r1.24 distinfo
> > --- distinfo29 Oct 2020 13:44:14 -  1.24
> > +++ distinfo22 Nov 2020 20:32:07 -
> > @@ -1,4 +1,4 @@
> > -SHA256 (mpv-0.32.0.tar.gz) = kWP2SDIibSLiS7xIdOvWrAI3LNcXvvFcKKCqhYxf5ZI=
> > +SHA256 (mpv-0.33.0.tar.gz) = 8bm69dwu6vN2WXwopigfrPbtmP89Vn45Vclb8kWVILQ=
> >  SHA256 (waf-2.0.20) = v5cemO3CQUloomLGqmuIVBomw80khonIn0xXNwlV7n8=
> > -SIZE (mpv-0.32.0.tar.gz) = 3148730
> > +SIZE (mpv-0.33.0.tar.gz) = 3259387
> >  SIZE (waf-2.0.20) = 104725
> > Index: patches/patch-libmpv_client_h
> > ===
> > RCS file: /home/cvs/ports/multimedia/mpv/patches/patch-libmpv_client_h,v
> > retrieving revision 1.5
> > diff -u -p -u -p -r1.5 patch-libmpv_client_h
> > --- patches/patch-libmpv_client_h   29 Jan 2020 06:52:21 -  1.5
> > +++ patches/patch-libmpv_client_h   22 Nov 2020 21:06:48 -
> > @@ -5,11 +5,11 @@ Set shared library version.
> >  Index: libmpv/client.h
> >  --- libmpv/client.h.orig
> >  +++ libmpv/client.h
> > -@@ -229,7 +229,7 @@ extern "C" {
> > +@@ -235,7 +235,7 @@ extern "C" {
> >* relational operators (<, >, <=, >=).
> >*/
> >   #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
> > --#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 107)
> > +-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 109)
> >  +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(${LMAJ}, ${LMIN})
> >   
> >   /**
> > Index: pkg/PLIST
> > ===
> > RCS file: /home/cvs/ports/multimedia/mpv/pkg/PLIST,v
> > retrieving revision 1.9
> > diff -u -p -u -p -r1.9 PLIST
> > --- pkg/PLIST   29 Jan 2020 06:52:21 -  1.9
> > +++ pkg/PLIST   22 Nov 2020 21:11:12 -
> > @@ -3,7 +3,6 @@
> >  include/mpv/
> >  include/mpv/client.h
> >  include/mpv/opengl_cb.h
> > -include/mpv/qthelper.hpp
> >  include/mpv/render.h
> >  include/mpv/render_gl.h
> >  include/mpv/stream_cb.h
> > @@ -20,6 +19,7 @@ share/examples/mpv/mpv.conf
> >  share/examples/mpv/mpv_identify.sh
> >  share/examples/mpv/restore-old-bindings.conf
> >  share/examples/mpv/umpv
> > +share/icons/hicolor/128x128/apps/mpv.png
> >  share/icons/hicolor/16x16/app

Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Hiltjo Posthuma
On Mon, Dec 14, 2020 at 02:39:30PM +0100, Solene Rapenne wrote:
> On Mon, 14 Dec 2020 13:27:29 +0100
> Hiltjo Posthuma :
> 
> > On Mon, Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:
> > > Here is an update to mpv 0.33.0.
> > > 
> > > Any testing would be appreciated.
> > >   
> > 
> > Hi Brad,
> > 
> > Thanks for updating it. I noticed some issues.
> > 
> > > 
> > > Index: Makefile
> > > ===
> > > RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
> > > retrieving revision 1.65
> > > diff -u -p -u -p -r1.65 Makefile
> > > --- Makefile  10 Nov 2020 16:40:18 -  1.65
> > > +++ Makefile  22 Nov 2020 21:48:18 -
> > > @@ -4,10 +4,9 @@ COMMENT =movie player based on MPlayer
> > >  
> > >  GH_ACCOUNT = mpv-player
> > >  GH_PROJECT = mpv
> > > -GH_TAGNAME = v0.32.0
> > > -REVISION =   2
> > > +GH_TAGNAME = v0.33.0
> > >  
> > > -SHARED_LIBS +=   mpv 0.1 # 1.107
> > > +SHARED_LIBS +=   mpv 0.2 # 1.107
> > >  
> > >  CATEGORIES = multimedia x11
> > >  
> > > @@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X
> > >  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
> > >  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
> > >  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
> > > -WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
> > > +WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample
> > >  WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
> > >  
> > >  MODULES =lang/lua \
> > > @@ -66,7 +65,6 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
> > >   --enable-cdda \
> > >   --enable-dvdnav \
> > >   --enable-libmpv-shared \
> > > - --enable-sndio \
> > >   --enable-sdl2 \
> > >   --disable-alsa \
> > >   --disable-caca \
> > > @@ -75,12 +73,10 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
> > >   --disable-gl-wayland \
> > >   --disable-jack \
> > >   --disable-rubberband \
> > > - --disable-oss-audio \
> > >   --disable-openal \
> > >   --disable-optimize \
> > >   --disable-pulse \
> > > - --disable-rsound \
> > > - --disable-libsmbclient \
> > > + --disable-sixel \
> > >   --disable-uchardet \
> > >   --disable-vaapi \
> > >   --disable-vaapi-drm \
> > > Index: distinfo
> > > ===
> > > RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
> > > retrieving revision 1.24
> > > diff -u -p -u -p -r1.24 distinfo
> > > --- distinfo  29 Oct 2020 13:44:14 -  1.24
> > > +++ distinfo  22 Nov 2020 20:32:07 -
> > > @@ -1,4 +1,4 @@
> > > -SHA256 (mpv-0.32.0.tar.gz) = kWP2SDIibSLiS7xIdOvWrAI3LNcXvvFcKKCqhYxf5ZI=
> > > +SHA256 (mpv-0.33.0.tar.gz) = 8bm69dwu6vN2WXwopigfrPbtmP89Vn45Vclb8kWVILQ=
> > >  SHA256 (waf-2.0.20) = v5cemO3CQUloomLGqmuIVBomw80khonIn0xXNwlV7n8=
> > > -SIZE (mpv-0.32.0.tar.gz) = 3148730
> > > +SIZE (mpv-0.33.0.tar.gz) = 3259387
> > >  SIZE (waf-2.0.20) = 104725
> > > Index: patches/patch-libmpv_client_h
> > > ===
> > > RCS file: /home/cvs/ports/multimedia/mpv/patches/patch-libmpv_client_h,v
> > > retrieving revision 1.5
> > > diff -u -p -u -p -r1.5 patch-libmpv_client_h
> > > --- patches/patch-libmpv_client_h 29 Jan 2020 06:52:21 -  1.5
> > > +++ patches/patch-libmpv_client_h 22 Nov 2020 21:06:48 -
> > > @@ -5,11 +5,11 @@ Set shared library version.
> > >  Index: libmpv/client.h
> > >  --- libmpv/client.h.orig
> > >  +++ libmpv/client.h
> > > -@@ -229,7 +229,7 @@ extern "C" {
> > > +@@ -235,7 +235,7 @@ extern "C" {
> > >* relational operators (<, >, <=, >=).
> > >*/
> > >   #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
> > > --#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 107)
> > > +-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 109)
> > >  +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(${LMAJ}, ${LMIN})
> > >   
> > >   /**
> > > Index: pkg/PLIST
> > > ===
> > > RCS file: /home/cvs/ports/multimedia/mpv/pkg/PLIST,v
> > > retrieving revision 1.9
> > > diff -u -p -u -p -r1.9 PLIST
> > > --- pkg/PLIST 29 Jan 2020 06:52:21 -  1.9
> > > +++ pkg/PLIST 22 Nov 2020 21:11:12 -
> > > @@ -3,7 +3,6 @@
> > >  include/mpv/
> > >  include/mpv/client.h
> > >  include/mpv/opengl_cb.h
> > > -include/mpv/qthelper.hpp
> > >  include/mpv/render.h
> > >  include/mpv/render_gl.h
> > >  include/mpv/stream_cb.h
> >

Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Rafael Sadowski
On Mon Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:
> Here is an update to mpv 0.33.0.
> 
> Any testing would be appreciated.
> 
> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
> retrieving revision 1.65
> diff -u -p -u -p -r1.65 Makefile
> --- Makefile  10 Nov 2020 16:40:18 -  1.65
> +++ Makefile  22 Nov 2020 21:48:18 -
> @@ -4,10 +4,9 @@ COMMENT =movie player based on MPlayer
>  
>  GH_ACCOUNT = mpv-player
>  GH_PROJECT = mpv
> -GH_TAGNAME = v0.32.0
> -REVISION =   2
> +GH_TAGNAME = v0.33.0
>  
> -SHARED_LIBS +=   mpv 0.1 # 1.107
> +SHARED_LIBS +=   mpv 0.2 # 1.107
>  
>  CATEGORIES = multimedia x11
>  
> @@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X
>  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
>  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
>  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
> -WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
> +WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample

s/lua5.1/${MODLUA_WANTLIB}/ ?



Re: UPDATE: mpv 0.33.0

2020-12-14 Thread Hiltjo Posthuma
On Mon, Dec 14, 2020 at 02:44:29AM -0500, Brad Smith wrote:
> Here is an update to mpv 0.33.0.
> 
> Any testing would be appreciated.
> 

Hi Brad,

Thanks for updating it. I noticed some issues.

> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
> retrieving revision 1.65
> diff -u -p -u -p -r1.65 Makefile
> --- Makefile  10 Nov 2020 16:40:18 -  1.65
> +++ Makefile  22 Nov 2020 21:48:18 -
> @@ -4,10 +4,9 @@ COMMENT =movie player based on MPlayer
>  
>  GH_ACCOUNT = mpv-player
>  GH_PROJECT = mpv
> -GH_TAGNAME = v0.32.0
> -REVISION =   2
> +GH_TAGNAME = v0.33.0
>  
> -SHARED_LIBS +=   mpv 0.1 # 1.107
> +SHARED_LIBS +=   mpv 0.2 # 1.107
>  
>  CATEGORIES = multimedia x11
>  
> @@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X
>  WANTLIB += avcodec avdevice avfilter avformat avresample avutil
>  WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
>  WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
> -WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
> +WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample
>  WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
>  
>  MODULES =lang/lua \
> @@ -66,7 +65,6 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
>   --enable-cdda \
>   --enable-dvdnav \
>   --enable-libmpv-shared \
> - --enable-sndio \
>   --enable-sdl2 \
>   --disable-alsa \
>   --disable-caca \
> @@ -75,12 +73,10 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
>   --disable-gl-wayland \
>   --disable-jack \
>   --disable-rubberband \
> - --disable-oss-audio \
>   --disable-openal \
>   --disable-optimize \
>   --disable-pulse \
> - --disable-rsound \
> - --disable-libsmbclient \
> + --disable-sixel \
>   --disable-uchardet \
>   --disable-vaapi \
>   --disable-vaapi-drm \
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
> retrieving revision 1.24
> diff -u -p -u -p -r1.24 distinfo
> --- distinfo  29 Oct 2020 13:44:14 -  1.24
> +++ distinfo  22 Nov 2020 20:32:07 -
> @@ -1,4 +1,4 @@
> -SHA256 (mpv-0.32.0.tar.gz) = kWP2SDIibSLiS7xIdOvWrAI3LNcXvvFcKKCqhYxf5ZI=
> +SHA256 (mpv-0.33.0.tar.gz) = 8bm69dwu6vN2WXwopigfrPbtmP89Vn45Vclb8kWVILQ=
>  SHA256 (waf-2.0.20) = v5cemO3CQUloomLGqmuIVBomw80khonIn0xXNwlV7n8=
> -SIZE (mpv-0.32.0.tar.gz) = 3148730
> +SIZE (mpv-0.33.0.tar.gz) = 3259387
>  SIZE (waf-2.0.20) = 104725
> Index: patches/patch-libmpv_client_h
> ===
> RCS file: /home/cvs/ports/multimedia/mpv/patches/patch-libmpv_client_h,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 patch-libmpv_client_h
> --- patches/patch-libmpv_client_h 29 Jan 2020 06:52:21 -  1.5
> +++ patches/patch-libmpv_client_h 22 Nov 2020 21:06:48 -
> @@ -5,11 +5,11 @@ Set shared library version.
>  Index: libmpv/client.h
>  --- libmpv/client.h.orig
>  +++ libmpv/client.h
> -@@ -229,7 +229,7 @@ extern "C" {
> +@@ -235,7 +235,7 @@ extern "C" {
>* relational operators (<, >, <=, >=).
>*/
>   #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
> --#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 107)
> +-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 109)
>  +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(${LMAJ}, ${LMIN})
>   
>   /**
> Index: pkg/PLIST
> ===
> RCS file: /home/cvs/ports/multimedia/mpv/pkg/PLIST,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 PLIST
> --- pkg/PLIST 29 Jan 2020 06:52:21 -  1.9
> +++ pkg/PLIST 22 Nov 2020 21:11:12 -
> @@ -3,7 +3,6 @@
>  include/mpv/
>  include/mpv/client.h
>  include/mpv/opengl_cb.h
> -include/mpv/qthelper.hpp
>  include/mpv/render.h
>  include/mpv/render_gl.h
>  include/mpv/stream_cb.h
> @@ -20,6 +19,7 @@ share/examples/mpv/mpv.conf
>  share/examples/mpv/mpv_identify.sh
>  share/examples/mpv/restore-old-bindings.conf
>  share/examples/mpv/umpv
> +share/icons/hicolor/128x128/apps/mpv.png
>  share/icons/hicolor/16x16/apps/mpv.png
>  share/icons/hicolor/32x32/apps/mpv.png
>  share/icons/hicolor/64x64/apps/mpv.png
> 

~/music $ mpv somefile.opus
 (+) Audio --aid=1 --alang=eng (opus 2ch 48000Hz)
[ao] Audio output sndio not found!
[ao] Failed to initialize audio driver 'sndio'
Could not open/initialize audio device -> no sound

UPDATE: mpv 0.33.0

2020-12-14 Thread Brad Smith
Here is an update to mpv 0.33.0.

Any testing would be appreciated.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile10 Nov 2020 16:40:18 -  1.65
+++ Makefile22 Nov 2020 21:48:18 -
@@ -4,10 +4,9 @@ COMMENT =  movie player based on MPlayer
 
 GH_ACCOUNT =   mpv-player
 GH_PROJECT =   mpv
-GH_TAGNAME =   v0.32.0
-REVISION = 2
+GH_TAGNAME =   v0.33.0
 
-SHARED_LIBS += mpv 0.1 # 1.107
+SHARED_LIBS += mpv 0.2 # 1.107
 
 CATEGORIES =   multimedia x11
 
@@ -26,7 +25,7 @@ WANTLIB += Xinerama Xrandr Xrender Xss X
 WANTLIB += avcodec avdevice avfilter avformat avresample avutil
 WANTLIB += bluray c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread
 WANTLIB += epoxy expat fontconfig freetype fribidi gbm iconv jpeg
-WANTLIB += lcms2 lua5.1 m placebo postproc pthread sndio swresample
+WANTLIB += lcms2 lua5.1 m placebo postproc pthread swresample
 WANTLIB += swscale xcb xcb-dri2 xcb-glx xml2 z
 
 MODULES =  lang/lua \
@@ -66,7 +65,6 @@ CONFIGURE_ARGS =  --confloaddir=${SYSCONF
--enable-cdda \
--enable-dvdnav \
--enable-libmpv-shared \
-   --enable-sndio \
--enable-sdl2 \
--disable-alsa \
--disable-caca \
@@ -75,12 +73,10 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
--disable-gl-wayland \
--disable-jack \
--disable-rubberband \
-   --disable-oss-audio \
--disable-openal \
--disable-optimize \
--disable-pulse \
-   --disable-rsound \
-   --disable-libsmbclient \
+   --disable-sixel \
--disable-uchardet \
--disable-vaapi \
--disable-vaapi-drm \
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo29 Oct 2020 13:44:14 -  1.24
+++ distinfo22 Nov 2020 20:32:07 -
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.32.0.tar.gz) = kWP2SDIibSLiS7xIdOvWrAI3LNcXvvFcKKCqhYxf5ZI=
+SHA256 (mpv-0.33.0.tar.gz) = 8bm69dwu6vN2WXwopigfrPbtmP89Vn45Vclb8kWVILQ=
 SHA256 (waf-2.0.20) = v5cemO3CQUloomLGqmuIVBomw80khonIn0xXNwlV7n8=
-SIZE (mpv-0.32.0.tar.gz) = 3148730
+SIZE (mpv-0.33.0.tar.gz) = 3259387
 SIZE (waf-2.0.20) = 104725
Index: patches/patch-libmpv_client_h
===
RCS file: /home/cvs/ports/multimedia/mpv/patches/patch-libmpv_client_h,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-libmpv_client_h
--- patches/patch-libmpv_client_h   29 Jan 2020 06:52:21 -  1.5
+++ patches/patch-libmpv_client_h   22 Nov 2020 21:06:48 -
@@ -5,11 +5,11 @@ Set shared library version.
 Index: libmpv/client.h
 --- libmpv/client.h.orig
 +++ libmpv/client.h
-@@ -229,7 +229,7 @@ extern "C" {
+@@ -235,7 +235,7 @@ extern "C" {
   * relational operators (<, >, <=, >=).
   */
  #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
--#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 107)
+-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 109)
 +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(${LMAJ}, ${LMIN})
  
  /**
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/multimedia/mpv/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 PLIST
--- pkg/PLIST   29 Jan 2020 06:52:21 -  1.9
+++ pkg/PLIST   22 Nov 2020 21:11:12 -
@@ -3,7 +3,6 @@
 include/mpv/
 include/mpv/client.h
 include/mpv/opengl_cb.h
-include/mpv/qthelper.hpp
 include/mpv/render.h
 include/mpv/render_gl.h
 include/mpv/stream_cb.h
@@ -20,6 +19,7 @@ share/examples/mpv/mpv.conf
 share/examples/mpv/mpv_identify.sh
 share/examples/mpv/restore-old-bindings.conf
 share/examples/mpv/umpv
+share/icons/hicolor/128x128/apps/mpv.png
 share/icons/hicolor/16x16/apps/mpv.png
 share/icons/hicolor/32x32/apps/mpv.png
 share/icons/hicolor/64x64/apps/mpv.png