pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/mpv



Module Name:    pkgsrc
Committed By:   leot
Date:           Thu Apr 24 10:26:30 UTC 2025

Modified Files:
        pkgsrc/multimedia/mpv: Makefile PLIST distinfo options.mk
        pkgsrc/multimedia/mpv/patches: patch-meson.build

Log Message:
mpv: Update to 0.40.0

Changes:
0.40.0
======
We are excited to announce the release of mpv 0.40.0.

Key highlights:

* Console: Enhanced autocompletion and visual styling
* OSC: New selection menu accessible by right-clicking common buttons
* HDR is now natively supported when using direct rendering (DRM),
  as well as dmabuf-wayland on Linux
* Native clipboard access for scripts via new `clipboard` property
* New command menu, with common actions easily accessible
* Enhanced select.lua with new selection options for watch history, editions,
  DVD/Blu-Ray titles
* New positioning.lua script script for cursor-centric zooming and drag to pan
* Better stream support for Blu-ray, DVD and CDDA
* Track selection improvements and better metadata display
* Added osd-box / sub-box / box profiles to easily enable box styled OSD/OSC
* Windows support in umpv helper script

This release requires FFmpeg 6.1 or newer and libplacebo 6.338.2 or newer.


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/multimedia/mpv/PLIST
cvs rdiff -u -r1.83 -r1.84 pkgsrc/multimedia/mpv/distinfo
cvs rdiff -u -r1.37 -r1.38 pkgsrc/multimedia/mpv/options.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/multimedia/mpv/patches/patch-meson.build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/mpv/Makefile
diff -u pkgsrc/multimedia/mpv/Makefile:1.177 pkgsrc/multimedia/mpv/Makefile:1.178
--- pkgsrc/multimedia/mpv/Makefile:1.177        Thu Apr 17 21:51:48 2025
+++ pkgsrc/multimedia/mpv/Makefile      Thu Apr 24 10:26:30 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.177 2025/04/17 21:51:48 wiz Exp $
+# $NetBSD: Makefile,v 1.178 2025/04/24 10:26:30 leot Exp $
 
-DISTNAME=      mpv-0.39.0
-PKGREVISION=   7
+DISTNAME=      mpv-0.40.0
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpv-player/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/multimedia/mpv/PLIST
diff -u pkgsrc/multimedia/mpv/PLIST:1.17 pkgsrc/multimedia/mpv/PLIST:1.18
--- pkgsrc/multimedia/mpv/PLIST:1.17    Tue Dec 17 01:21:17 2024
+++ pkgsrc/multimedia/mpv/PLIST Thu Apr 24 10:26:30 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2024/12/17 01:21:17 js Exp $
+@comment $NetBSD: PLIST,v 1.18 2025/04/24 10:26:30 leot Exp $
 bin/mpv
 include/mpv/client.h
 include/mpv/render.h
@@ -6,7 +6,7 @@ include/mpv/render_gl.h
 include/mpv/stream_cb.h
 lib/libmpv.so
 lib/libmpv.so.2
-lib/libmpv.so.2.3.0
+lib/libmpv.so.2.5.0
 lib/pkgconfig/mpv.pc
 man/man1/mpv.1
 ${PLIST.desktop}share/applications/mpv.desktop
@@ -14,8 +14,10 @@ share/bash-completion/completions/mpv
 share/doc/mpv/input.conf
 share/doc/mpv/mplayer-input.conf
 share/doc/mpv/restore-old-bindings.conf
+share/doc/mpv/restore-osc-bindings.conf
 share/examples/mpv/encoding-profiles.conf
 share/examples/mpv/mpv.conf
+share/fish/vendor_completions.d/mpv.fish
 share/icons/hicolor/128x128/apps/mpv.png
 share/icons/hicolor/16x16/apps/mpv.png
 share/icons/hicolor/32x32/apps/mpv.png

Index: pkgsrc/multimedia/mpv/distinfo
diff -u pkgsrc/multimedia/mpv/distinfo:1.83 pkgsrc/multimedia/mpv/distinfo:1.84
--- pkgsrc/multimedia/mpv/distinfo:1.83 Sun Oct 20 09:28:29 2024
+++ pkgsrc/multimedia/mpv/distinfo      Thu Apr 24 10:26:30 2025
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.83 2024/10/20 09:28:29 leot Exp $
+$NetBSD: distinfo,v 1.84 2025/04/24 10:26:30 leot Exp $
 
-BLAKE2s (mpv-0.39.0.tar.gz) = 16a4e3392732f311fee0d87a3565c9dad13eb00eeeab941589adf483fd619d70
-SHA512 (mpv-0.39.0.tar.gz) = 9cf1d7487b1e9e36d2b731bf951c4d3b9deba95109af408ccfc71b88e85f6de2558e7b4950781667bb4d40e0352742e3ed278559ff34d07905dd459969cbf503
-Size (mpv-0.39.0.tar.gz) = 3494313 bytes
+BLAKE2s (mpv-0.40.0.tar.gz) = b4cc71b1d45ee4f291fbbf76d45ffa0d594febf9e2c56e5cc73823e62591af59
+SHA512 (mpv-0.40.0.tar.gz) = 24ccbff7fa34f85c033dc9ed94a364c6226e1081a47086365fc98e332af2004517dede371a005f1d51c2a3306b7dc915df9de4188cea140b1fd988058bbd6e8c
+Size (mpv-0.40.0.tar.gz) = 3561474 bytes
 SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0
 SHA1 (patch-etc_mpv.conf) = 9e41b2f4bf59c3bfc5ad84af05538661981ed111
-SHA1 (patch-meson.build) = 0c529563d875ee41a7b2c556a449107f5e87d742
+SHA1 (patch-meson.build) = 425276892a144337b2e568c47767fcfeaa954c89
 SHA1 (patch-osdep_threads-posix.h) = b7e2626ba490742858bb979ddbc5a541550ecb6b
 SHA1 (patch-stream_stream__libarchive.c) = 2025f994b7f82cc868608ab7e8df0ae89b549922
 SHA1 (patch-video_out_drm__common.c) = cdb827cbbcdfb667329cdbee7ebbb2c5f6acef2f

Index: pkgsrc/multimedia/mpv/options.mk
diff -u pkgsrc/multimedia/mpv/options.mk:1.37 pkgsrc/multimedia/mpv/options.mk:1.38
--- pkgsrc/multimedia/mpv/options.mk:1.37       Wed Feb 26 11:44:54 2025
+++ pkgsrc/multimedia/mpv/options.mk    Thu Apr 24 10:26:30 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.37 2025/02/26 11:44:54 wiz Exp $
+# $NetBSD: options.mk,v 1.38 2025/04/24 10:26:30 leot Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mpv
 
@@ -161,6 +161,7 @@ MESON_ARGS+=        -Dvdpau=disabled
 ###
 .if !empty(PKG_OPTIONS:Mlibdrm)
 MESON_ARGS+=   -Ddrm=enabled
+.include "../../x11/libdisplay-info/buildlink3.mk"
 .include "../../x11/libdrm/buildlink3.mk"
 .else
 MESON_ARGS+=   -Ddrm=disabled

Index: pkgsrc/multimedia/mpv/patches/patch-meson.build
diff -u pkgsrc/multimedia/mpv/patches/patch-meson.build:1.4 pkgsrc/multimedia/mpv/patches/patch-meson.build:1.5
--- pkgsrc/multimedia/mpv/patches/patch-meson.build:1.4 Sun Oct 20 09:28:29 2024
+++ pkgsrc/multimedia/mpv/patches/patch-meson.build     Thu Apr 24 10:26:30 2025
@@ -1,4 +1,4 @@
-$NetBSD: patch-meson.build,v 1.4 2024/10/20 09:28:29 leot Exp $
+$NetBSD: patch-meson.build,v 1.5 2025/04/24 10:26:30 leot Exp $
 
 - Instruct about NetBSD pthread_setname_np(3).
   Maybe pthread_setname_np(3) should be checked in order to distinguish
@@ -7,9 +7,9 @@ $NetBSD: patch-meson.build,v 1.4 2024/10
 - Enable support for DRM on NetBSD.
 - Install configuration files to examples, per pkgsrc conventions.
 
---- meson.build.orig   2024-09-23 17:36:41.000000000 +0000
+--- meson.build.orig   2025-03-25 17:33:27.000000000 +0000
 +++ meson.build
-@@ -300,6 +300,7 @@ if cc.has_multi_arguments('-Wformat', '-
+@@ -312,6 +312,7 @@ if cc.get_id() == 'gcc'
  endif
  
  darwin = host_machine.system() == 'darwin'
@@ -17,7 +17,7 @@ $NetBSD: patch-meson.build,v 1.4 2024/10
  win32 = host_machine.system() == 'cygwin' or host_machine.system() == 'windows'
  posix = not win32
  
-@@ -552,14 +553,17 @@ features += {'wsdisplay-usl-io.h': cc.ha
+@@ -555,14 +556,17 @@ features += {'wsdisplay-usl-io.h': cc.ha
  # macOS's pthread_setname_np is a special snowflake and differs from literally every other platform.
  features += {'mac-thread-name': darwin}
  
@@ -37,8 +37,8 @@ $NetBSD: patch-meson.build,v 1.4 2024/10
      features += {'bsd-thread-name': posix and cc.has_function('pthread_set_name_np', dependencies: pthreads,
                                                                prefix: '#include <pthread.h>\n#include <pthread_np.h>')}
  endif
-@@ -1798,7 +1802,7 @@ if get_option('cplayer')
-     install_data('etc/_mpv.zsh', install_dir: zsh_install_dir, rename: '_mpv')
+@@ -1803,7 +1807,7 @@ if get_option('cplayer')
+     install_data('etc/mpv.fish', install_dir: fish_install_dir, rename: 'mpv.fish')
  
      install_data('etc/mpv.metainfo.xml', install_dir: join_paths(datadir, 'metainfo'))
 -    install_data('etc/encoding-profiles.conf', install_dir: join_paths(confdir, 'mpv'))



Home | Main Index | Thread Index | Old Index