From 9b61c2daaa6fa3bff8dad5e8180704b04a2b78da Mon Sep 17 00:00:00 2001 From: tm512 Date: Sun, 18 May 2025 23:46:09 -0700 Subject: [PATCH] mpv: update to 0.40.0 --- .../mpv/patches/0.39.0-pipewire-1.4-fix.patch | 33 ------------------- srcpkgs/mpv/template | 6 ++-- 2 files changed, 3 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/mpv/patches/0.39.0-pipewire-1.4-fix.patch diff --git a/srcpkgs/mpv/patches/0.39.0-pipewire-1.4-fix.patch b/srcpkgs/mpv/patches/0.39.0-pipewire-1.4-fix.patch deleted file mode 100644 index bdeaade6f93..00000000000 --- a/srcpkgs/mpv/patches/0.39.0-pipewire-1.4-fix.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://github.com/mpv-player/mpv/commit/c9970b5ba66e25aeab36cdbdb91b973f2d3f8d90.patch -From c9970b5ba66e25aeab36cdbdb91b973f2d3f8d90 Mon Sep 17 00:00:00 2001 -From: llyyr -Date: Wed, 19 Feb 2025 19:08:36 +0530 -Subject: [PATCH] ao_pipewire: don't load client-rt.conf properties - -Deprecated in https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/24bcacc6195ffbf8e40c9ea1374eb6666252eadc - -Fixes: #15914 ---- - audio/out/ao_pipewire.c | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/audio/out/ao_pipewire.c b/audio/out/ao_pipewire.c -index 5e6bb1fa4fdf7..88c48ddca60e7 100644 ---- a/audio/out/ao_pipewire.c -+++ b/audio/out/ao_pipewire.c -@@ -510,10 +510,11 @@ static int pipewire_init_boilerplate(struct ao *ao) - if (pw_thread_loop_start(p->loop) < 0) - goto error; - -- context = pw_context_new( -- pw_thread_loop_get_loop(p->loop), -- pw_properties_new(PW_KEY_CONFIG_NAME, "client-rt.conf", NULL), -- 0); -+ struct pw_properties *props = NULL; -+#if !PW_CHECK_VERSION(1, 3, 81) -+ props = pw_properties_new(PW_KEY_CONFIG_NAME, "client-rt.conf", NULL); -+#endif -+ context = pw_context_new(pw_thread_loop_get_loop(p->loop), props, 0); - if (!context) - goto error; - diff --git a/srcpkgs/mpv/template b/srcpkgs/mpv/template index eed5131202b..38127a4a604 100644 --- a/srcpkgs/mpv/template +++ b/srcpkgs/mpv/template @@ -1,7 +1,7 @@ # Template file for 'mpv' pkgname=mpv -version=0.39.0 -revision=4 +version=0.40.0 +revision=1 build_style=meson configure_args="-Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibmpv=true -Dcplugins=enabled @@ -41,7 +41,7 @@ license="GPL-2.0-or-later" homepage="https://mpv.io" changelog="https://github.com/mpv-player/mpv/releases" distfiles="https://github.com/mpv-player/mpv/archive/v${version}.tar.gz" -checksum=2ca92437affb62c2b559b4419ea4785c70d023590500e8a52e95ea3ab4554683 +checksum=10a0f4654f62140a6dd4d380dcf0bbdbdcf6e697556863dc499c296182f081a3 python_version=3 build_options="alsa caca jack javascript lcms lua openal pulseaudio pipewire sdl2