Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mpv/Makefile,v
diff -u -p -u -p -r1.111 Makefile
--- Makefile	11 Sep 2026 16:35:40 -0000	1.111
+++ Makefile	9 Nov 2026 02:32:47 -0000
@@ -4,10 +4,9 @@ USE_NOBTCFI =		Yes
 
 GH_ACCOUNT =		mpv-player
 GH_PROJECT =		mpv
-GH_TAGNAME =		v0.41.0
-REVISION =		1
+GH_TAGNAME =		v0.42.0
 
-SHARED_LIBS +=		mpv		2.1
+SHARED_LIBS +=		mpv		2.2
 
 CATEGORIES =		multimedia x11
 
@@ -57,6 +56,7 @@ RUN_DEPENDS =		devel/desktop-file-utils 
 
 CONFIGURE_ARGS =	-Daaudio=disabled \
 			-Dalsa=disabled \
+			-Damf=disabled \
 			-Dandroid-media-ndk=disabled \
 			-Daudiotrack=disabled \
 			-Daudiounit=disabled \
@@ -103,6 +103,7 @@ CONFIGURE_ARGS =	-Daaudio=disabled \
 			-Dshaderc=disabled \
 			-Dsixel=disabled \
 			-Dspirv-cross=disabled \
+			-Dsubrandr=disabled \
 			-Dswift-build=disabled \
 			-Dswift-flags=disabled \
 			-Duchardet=disabled \
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/mpv/distinfo,v
diff -u -p -u -p -r1.39 distinfo
--- distinfo	5 Mar 2026 12:10:21 -0000	1.39
+++ distinfo	9 Nov 2026 02:32:47 -0000
@@ -1,2 +1,2 @@
-SHA256 (mpv-0.41.0.tar.gz) = 7iEJKl7kJzUzkjYJKdxkZFxUR5rv21urxc+7X61iYgk=
-SIZE (mpv-0.41.0.tar.gz) = 7262018
+SHA256 (mpv-0.42.0.tar.gz) = vP67+itlptiNyX6hgReDEHI3Pji1eFoq+4dO1N9QcN0=
+SIZE (mpv-0.42.0.tar.gz) = 7515468
Index: patches/patch-meson_build
===================================================================
RCS file: /cvs/ports/multimedia/mpv/patches/patch-meson_build,v
diff -u -p -u -p -r1.13 patch-meson_build
--- patches/patch-meson_build	5 Mar 2026 12:10:21 -0000	1.13
+++ patches/patch-meson_build	9 Nov 2026 02:32:47 -0000
@@ -5,7 +5,7 @@ Support for xcb-shm
 Index: meson.build
 --- meson.build.orig
 +++ meson.build
-@@ -356,7 +356,19 @@ if features['libdl']
+@@ -377,7 +377,19 @@ if features['subrandr']
  endif
  
  # C11 atomics are mandatory but linking to the library is not always required.
@@ -26,7 +26,7 @@ Index: meson.build
  
  cplugins = get_option('cplugins').require(
      win32 or (features['libdl'] and cc.has_link_argument('-rdynamic')),
-@@ -1089,7 +1101,10 @@ x11 = {
+@@ -1134,7 +1146,10 @@ x11 = {
               dependency('xscrnsaver', version: '>= 1.0.0', required: x11_opt),
               dependency('xext', version: '>= 1.0.0', required: x11_opt),
               dependency('xpresent', version: '>= 1.0.0', required: x11_opt),
Index: patches/patch-player_lua_ytdl_hook_lua
===================================================================
RCS file: /cvs/ports/multimedia/mpv/patches/patch-player_lua_ytdl_hook_lua,v
diff -u -p -u -p -r1.3 patch-player_lua_ytdl_hook_lua
--- patches/patch-player_lua_ytdl_hook_lua	11 Sep 2026 16:35:40 -0000	1.3
+++ patches/patch-player_lua_ytdl_hook_lua	9 Nov 2026 02:32:47 -0000
@@ -1,7 +1,7 @@
 Index: player/lua/ytdl_hook.lua
 --- player/lua/ytdl_hook.lua.orig
 +++ player/lua/ytdl_hook.lua
-@@ -986,7 +986,7 @@ local function run_ytdl_hook(url)
+@@ -1031,7 +1031,7 @@ local function run_ytdl_hook(url)
          -- trim our stderr to avoid spurious newlines
          local ytdl_err = result.stderr:gsub("^%s*(.-)%s*$", "%1")
          msg.error(ytdl_err)
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/multimedia/mpv/pkg/PLIST,v
diff -u -p -u -p -r1.13 PLIST
--- pkg/PLIST	26 Mar 2025 22:17:18 -0000	1.13
+++ pkg/PLIST	9 Nov 2026 02:32:47 -0000
@@ -2,6 +2,7 @@
 include/mpv/
 include/mpv/client.h
 include/mpv/render.h
+include/mpv/render_d3d11.h
 include/mpv/render_gl.h
 include/mpv/stream_cb.h
 @lib lib/libmpv.so.${LIBmpv_VERSION}
@@ -18,6 +19,8 @@ share/examples/mpv/mpv_identify.sh
 share/examples/mpv/restore-old-bindings.conf
 share/examples/mpv/restore-osc-bindings.conf
 share/examples/mpv/umpv
+share/fish/
+share/fish/vendor_completions.d/
 share/fish/vendor_completions.d/mpv.fish
 share/icons/hicolor/128x128/apps/mpv.png
 share/icons/hicolor/16x16/apps/mpv.png
@@ -29,4 +32,6 @@ share/icons/hicolor/symbolic/apps/mpv-sy
 @tag update-desktop-database
 share/metainfo/
 share/metainfo/mpv.metainfo.xml
+share/zsh/
+share/zsh/site-functions/
 share/zsh/site-functions/_mpv
