On Wed, Apr 17, 2024 at 10:09:06PM -0400, Brad Smith wrote:
> Here is an update to mpv 0.38.0.
> 
> https://raw.githubusercontent.com/mpv-player/mpv/master/RELEASE_NOTES

Here is an updated diff. Drop the pthread_np.h header patch.


Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.99
diff -u -p -u -p -r1.99 Makefile
--- Makefile    21 Feb 2024 10:42:42 -0000      1.99
+++ Makefile    24 Apr 2024 05:09:17 -0000
@@ -2,7 +2,7 @@ COMMENT =               movie player based on MPlayer
 
 GH_ACCOUNT =           mpv-player
 GH_PROJECT =           mpv
-GH_TAGNAME =           v0.37.0
+GH_TAGNAME =           v0.38.0
 USE_NOBTCFI =          Yes
 
 SHARED_LIBS +=         mpv             2.0
@@ -59,9 +59,11 @@ CONFIGURE_ARGS =     -Dlua=lua${MODLUA_DEP_V
                        -Dlibmpv=true \
                        -Dsdl2=enabled \
                        -Dsndio=enabled \
+                       -Dvulkan=enabled \
                        -Dalsa=disabled \
                        -Dandroid-media-ndk=disabled \
                        -Daudiounit=disabled \
+                       -Davfoundation=disabled \
                        -Dcaca=disabled \
                        -Dcocoa=disabled \
                        -Dcoreaudio=disabled \
@@ -72,12 +74,15 @@ CONFIGURE_ARGS =    -Dlua=lua${MODLUA_DEP_V
                        -Dd3d-hwaccel=disabled \
                        -Ddirect3d=disabled \
                        -Ddmabuf-wayland=disabled \
+                       -Ddrm=disabled \
+                       -Ddvbin=disabled \
                        -Degl-android=disabled \
                        -Degl-angle=disabled  \
                        -Degl-angle-lib=disabled \
                        -Degl-angle-win32=disabled \
                        -Degl-drm=disabled \
                        -Degl-wayland=disabled \
+                       -Dgbm=disabled \
                        -Dgl-cocoa=disabled \
                        -Dgl-dxinterop=disabled \
                        -Dgl-dxinterop-d3d9=disabled \
@@ -93,25 +98,24 @@ CONFIGURE_ARGS =    -Dlua=lua${MODLUA_DEP_V
                        -Doss-audio=disabled \
                        -Dpipewire=disabled \
                        -Dpulse=disabled \
-                       -Drpi-mmal=disabled \
                        -Drubberband=disabled \
+                       -Dsdl2-audio=disabled \
                        -Dshaderc=disabled \
                        -Dsixel=disabled \
+                       -Dspirv-cross=disabled \
                        -Dswift-build=disabled \
                        -Dswift-flags=disabled \
-                       -Dsdl2-audio=disabled \
-                       -Dspirv-cross=disabled \
                        -Duchardet=disabled \
                        -Dvaapi=disabled \
                        -Dvaapi-drm=disabled \
                        -Dvaapi-x11=disabled \
                        -Dvaapi-wayland=disabled \
+                       -Dvaapi-win32=disabled \
                        -Dvapoursynth=disabled \
                        -Dvdpau=disabled \
                        -Dvdpau-gl-x11=disabled \
                        -Dvideotoolbox-gl=disabled \
                        -Dvideotoolbox-pl=disabled \
-                       -Dvulkan=enabled \
                        -Dvulkan-interop=disabled \
                        -Dwayland=disabled \
                        -Dwin32-threads=disabled \
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/mpv/distinfo,v
retrieving revision 1.35
diff -u -p -u -p -r1.35 distinfo
--- distinfo    21 Feb 2024 10:42:42 -0000      1.35
+++ distinfo    24 Apr 2024 05:09:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (mpv-0.37.0.tar.gz) = HS1K268Eii+m7hNFdQMsSy2tmn76/Vs+abiNuTWvrd8=
-SIZE (mpv-0.37.0.tar.gz) = 3384190
+SHA256 (mpv-0.38.0.tar.gz) = htnvQLYFhzL2e0bQu9okoHT66GCz6q4FurMUUEEwMGY=
+SIZE (mpv-0.38.0.tar.gz) = 3419741
Index: patches/patch-meson_build
===================================================================
RCS file: /cvs/ports/multimedia/mpv/patches/patch-meson_build,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 patch-meson_build
--- patches/patch-meson_build   21 Feb 2024 10:42:42 -0000      1.7
+++ patches/patch-meson_build   24 Apr 2024 05:09:17 -0000
@@ -4,9 +4,9 @@ time if present at all, rather than only
 Index: meson.build
 --- meson.build.orig
 +++ meson.build
-@@ -342,7 +342,19 @@ if features['libdl']
+@@ -348,7 +348,19 @@ if features['libdl']
  endif
-
+ 
  # C11 atomics are mandatory but linking to the library is not always required.
 -dependencies += cc.find_library('atomic', required: false)
 +if cc.links('''
@@ -22,6 +22,6 @@ Index: meson.build
 +else
 +    stdatomic_dep = cc.find_library('atomic')
 +endif
-
+ 
  cplugins = get_option('cplugins').require(
      win32 or (features['libdl'] and cc.has_link_argument('-rdynamic')),
Index: patches/patch-osdep_threads_posix_h
===================================================================
RCS file: patches/patch-osdep_threads_posix_h
diff -N patches/patch-osdep_threads_posix_h
--- patches/patch-osdep_threads_posix_h 21 Feb 2024 10:42:42 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-Index: osdep/threads-posix.h
---- osdep/threads-posix.h.orig
-+++ osdep/threads-posix.h
-@@ -19,6 +19,7 @@
-
- #include <errno.h>
- #include <pthread.h>
-+#include <pthread_np.h>
- #include <stdio.h>
-
- #include "common/common.h"
Index: patches/patch-osdep_timer-linux_c
===================================================================
RCS file: /cvs/ports/multimedia/mpv/patches/patch-osdep_timer-linux_c,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-osdep_timer-linux_c
--- patches/patch-osdep_timer-linux_c   21 Feb 2024 10:42:42 -0000      1.3
+++ patches/patch-osdep_timer-linux_c   24 Apr 2024 05:09:17 -0000
@@ -5,12 +5,11 @@ Index: osdep/timer-linux.c
 --- osdep/timer-linux.c.orig
 +++ osdep/timer-linux.c
 @@ -20,6 +20,8 @@
-
+ 
  #include <errno.h>
  #include <stdlib.h>
 +#undef _POSIX_TIMERS
 +#define _POSIX_TIMERS 1
  #include <time.h>
-
+ 
  #include "common/common.h"
-
Index: patches/patch-osdep_timer_c
===================================================================
RCS file: /cvs/ports/multimedia/mpv/patches/patch-osdep_timer_c,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-osdep_timer_c
--- patches/patch-osdep_timer_c 21 Feb 2024 10:42:42 -0000      1.3
+++ patches/patch-osdep_timer_c 24 Apr 2024 05:09:17 -0000
@@ -13,4 +13,3 @@ Index: osdep/timer.c
  #include <sys/time.h>
  #include <limits.h>
  #include <assert.h>
-

Reply via email to