Here is an update to mpv 0.30.0.

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.50
diff -u -p -u -p -r1.50 Makefile
--- Makefile    19 Aug 2019 06:04:22 -0000      1.50
+++ Makefile    26 Oct 2019 01:20:12 -0000
@@ -4,17 +4,15 @@ COMMENT =             movie player based on MPlayer
 
 GH_ACCOUNT =           mpv-player
 GH_PROJECT =           mpv
-GH_TAGNAME =           v0.29.1
+GH_TAGNAME =           v0.30.0
 
-REVISION =             2
-
-SHARED_LIBS += mpv                       0.0 # 1.101
+SHARED_LIBS +=         mpv             0.1 # 1.106
 
 CATEGORIES =           multimedia x11
 
 HOMEPAGE =             https://mpv.io/
 
-WAF =                  ${WRKSRC}/waf-2.0.14
+WAF =                  ${WRKSRC}/waf-2.0.18
 MASTER_SITES0 =                https://waf.io/
 DISTFILES =            ${DISTNAME}{${GH_TAGNAME}}${EXTRACT_SUFX} ${WAF:T}:0
 EXTRACT_ONLY =         ${DISTNAME}${EXTRACT_SUFX}
@@ -27,8 +25,8 @@ WANTLIB += Xinerama Xrandr Xrender Xss X
 WANTLIB += avdevice avfilter avformat avresample avutil bluray
 WANTLIB += c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread expat
 WANTLIB += fontconfig freetype fribidi gbm iconv jpeg lcms2 m
-WANTLIB += postproc pthread sndio swresample swscale v4l2
-WANTLIB += v4lconvert xcb xcb-dri2 xcb-glx z ${MODLUA_WANTLIB}
+WANTLIB += postproc pthread sndio swresample swscale xcb xcb-dri2
+WANTLIB += xcb-glx z ${MODLUA_WANTLIB}
 
 MODULES =              lang/lua \
                        lang/python
@@ -49,8 +47,7 @@ LIB_DEPENDS =         audio/libcdio \
                        graphics/lcms2 \
                        multimedia/libass \
                        multimedia/libbluray \
-                       multimedia/libdvdnav \
-                       multimedia/libv4l
+                       multimedia/libdvdnav
 
 MODPY_RUNDEP =         No
 RUN_DEPENDS =          devel/desktop-file-utils \
@@ -64,12 +61,10 @@ CONFIGURE_ARGS =    --confloaddir=${SYSCONF
                        --zshdir=${LOCALBASE}/share/zsh/vendor-completions \
                        --enable-cdda \
                        --enable-dvdnav \
-                       --enable-dvdread \
                        --enable-libmpv-shared \
                        --enable-sndio \
                        --enable-sdl2 \
                        --enable-tv \
-                       --enable-zsh-comp \
                        --disable-alsa \
                        --disable-caca \
                        --disable-cuda-hwaccel \
@@ -87,17 +82,18 @@ CONFIGURE_ARGS =    --confloaddir=${SYSCONF
                        --disable-uchardet \
                        --disable-vaapi \
                        --disable-vaapi-drm \
-                       --disable-vaapi-glx \
                        --disable-vaapi-x-egl \
                        --disable-vaapi-x11 \
                        --disable-vaapi-wayland \
                        --disable-vapoursynth \
-                       --disable-vapoursynth-lazy \
                        --disable-vdpau \
                        --disable-vdpau-gl-x11 \
                        --disable-videotoolbox-gl \
                        --disable-vulkan \
                        --disable-wayland
+
+# seems like a waf bug, we're not tvOS -- 7087
+#CONFIGURE_ARGS+=      --disable-tvos
 
 MAKE_ENV +=            LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
 MAKE_ENV +=            CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/multimedia/mpv/distinfo,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 distinfo
--- distinfo    25 Feb 2019 22:43:46 -0000      1.20
+++ distinfo    25 Oct 2019 22:34:37 -0000
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.29.1.tar.gz) = +fnUYdGZD5coZgtMyw6MtdzinMqmr1Z77EgbeSkcpiM=
-SHA256 (waf-2.0.14) = xbxgg7ul4kQVu4OHL6ngSK+hUBCafohVr2eQdtB3myI=
-SIZE (mpv-0.29.1.tar.gz) = 3059503
-SIZE (waf-2.0.14) = 103895
+SHA256 (mpv-0.30.0.tar.gz) = M6G8t+dP8X8HDnVMFcUiKM9E8s77/Y80iGroHfIUyjU=
+SHA256 (waf-2.0.18) = Lgz4OmOEPaEnYQQgzvHTEm8Rh9jlcrazooBS/CJQ1L8=
+SIZE (mpv-0.30.0.tar.gz) = 3085141
+SIZE (waf-2.0.18) = 104609
Index: patches/patch-libmpv_client_h
===================================================================
RCS file: /home/cvs/ports/multimedia/mpv/patches/patch-libmpv_client_h,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-libmpv_client_h
--- patches/patch-libmpv_client_h       6 Aug 2019 23:17:55 -0000       1.1
+++ patches/patch-libmpv_client_h       25 Oct 2019 22:38:04 -0000
@@ -5,11 +5,11 @@ Could not find an easy way to do this.
 Index: libmpv/client.h
 --- libmpv/client.h.orig
 +++ libmpv/client.h
-@@ -210,7 +210,7 @@ extern "C" {
+@@ -227,7 +227,7 @@ extern "C" {
   * relational operators (<, >, <=, >=).
   */
  #define MPV_MAKE_VERSION(major, minor) (((major) << 16) | (minor) | 0UL)
--#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 101)
+-#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(1, 106)
 +#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION(LMAJ, LMIN)
  
  /**
Index: patches/patch-stream_tvi_v4l2_c
===================================================================
RCS file: patches/patch-stream_tvi_v4l2_c
diff -N patches/patch-stream_tvi_v4l2_c
--- patches/patch-stream_tvi_v4l2_c     25 Jun 2018 16:43:01 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-$OpenBSD: patch-stream_tvi_v4l2_c,v 1.1 2018/06/25 16:43:01 sthen Exp $
-
-OpenBSD doesn't define _POSIX_TIMERS because we are missing some of the
-required clocks, but we do have enough for mpv.
-
-Index: stream/tvi_v4l2.c
---- stream/tvi_v4l2.c.orig
-+++ stream/tvi_v4l2.c
-@@ -44,6 +44,8 @@ known issues:
- #include <sys/time.h>
- #include <sys/types.h>
- #include <unistd.h>
-+#undef _POSIX_TIMERS
-+#define _POSIX_TIMERS 1
- #include <math.h>
- #if HAVE_SYS_VIDEOIO_H
- #include <sys/videoio.h>
Index: patches/patch-waftools_detections_compiler_py
===================================================================
RCS file: patches/patch-waftools_detections_compiler_py
diff -N patches/patch-waftools_detections_compiler_py
--- patches/patch-waftools_detections_compiler_py       25 Feb 2019 22:43:46 
-0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-waftools_detections_compiler_py,v 1.2 2019/02/25 22:43:46 
sthen Exp $
-Index: waftools/detections/compiler.py
---- waftools/detections/compiler.py.orig
-+++ waftools/detections/compiler.py
-@@ -42,9 +42,7 @@ def __add_generic_flags__(ctx):
- def __add_gcc_flags__(ctx):
-     ctx.env.CFLAGS += ["-Wall", "-Wundef", "-Wmissing-prototypes", "-Wshadow",
-                        "-Wno-switch", "-Wparentheses", "-Wpointer-arith",
--                       "-Wno-pointer-sign",
--                       # GCC bug 66425
--                       "-Wno-unused-result"]
-+                       "-Wno-pointer-sign"]
- 
- def __add_clang_flags__(ctx):
-     ctx.env.CFLAGS += ["-Wno-logical-op-parentheses", "-fcolor-diagnostics",

Reply via email to