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: Wed Dec 24 15:34:23 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.41.0
Changes:
0.41.0
- The libplacebo based gpu-next is now the default, instead of gpu
- Vulkan hardware decoding is preferred over other APIs
- New context_menu.lua script for right-click context menus
- AAudio backend for modern, JNI-free audio output on Android
- Improved default color management for gpu-next, and handling on Wayland
- Color representation protocol support for Wayland
- Tablet input support for Wayland
- Clipboard writing support for Wayland and a clipboard backend for X11
- Ambient light support on Linux (using sysfs ALS)
- Built-in helpers to register mpv as a media app on Windows
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.181 -r1.182 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/multimedia/mpv/PLIST
cvs rdiff -u -r1.84 -r1.85 pkgsrc/multimedia/mpv/distinfo
cvs rdiff -u -r1.39 -r1.40 pkgsrc/multimedia/mpv/options.mk
cvs rdiff -u -r1.5 -r1.6 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.181 pkgsrc/multimedia/mpv/Makefile:1.182
--- pkgsrc/multimedia/mpv/Makefile:1.181 Mon Dec 22 06:08:14 2025
+++ pkgsrc/multimedia/mpv/Makefile Wed Dec 24 15:34:22 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.181 2025/12/22 06:08:14 adam Exp $
+# $NetBSD: Makefile,v 1.182 2025/12/24 15:34:22 leot Exp $
-DISTNAME= mpv-0.40.0
-PKGREVISION= 3
+DISTNAME= mpv-0.41.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -30,8 +29,6 @@ USE_TOOLS+= perl pkg-config
MAKE_DIRS= ${PKG_SYSCONFDIR}/mpv
INSTALLATION_DIRS= share/examples/mpv
-CONF_FILES+= share/examples/mpv/encoding-profiles.conf \
- ${PKG_SYSCONFDIR}/mpv/encoding-profiles.conf
CONF_FILES+= share/examples/mpv/mpv.conf \
${PKG_SYSCONFDIR}/mpv/mpv.conf
Index: pkgsrc/multimedia/mpv/PLIST
diff -u pkgsrc/multimedia/mpv/PLIST:1.18 pkgsrc/multimedia/mpv/PLIST:1.19
--- pkgsrc/multimedia/mpv/PLIST:1.18 Thu Apr 24 10:26:30 2025
+++ pkgsrc/multimedia/mpv/PLIST Wed Dec 24 15:34:22 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2025/04/24 10:26:30 leot Exp $
+@comment $NetBSD: PLIST,v 1.19 2025/12/24 15:34:22 leot Exp $
bin/mpv
include/mpv/client.h
include/mpv/render.h
@@ -11,11 +11,11 @@ lib/pkgconfig/mpv.pc
man/man1/mpv.1
${PLIST.desktop}share/applications/mpv.desktop
share/bash-completion/completions/mpv
+share/doc/mpv/encoding-profiles.conf
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
Index: pkgsrc/multimedia/mpv/distinfo
diff -u pkgsrc/multimedia/mpv/distinfo:1.84 pkgsrc/multimedia/mpv/distinfo:1.85
--- pkgsrc/multimedia/mpv/distinfo:1.84 Thu Apr 24 10:26:30 2025
+++ pkgsrc/multimedia/mpv/distinfo Wed Dec 24 15:34:22 2025
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.84 2025/04/24 10:26:30 leot Exp $
+$NetBSD: distinfo,v 1.85 2025/12/24 15:34:22 leot Exp $
-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
+BLAKE2s (mpv-0.41.0.tar.gz) = d8c2cb67997fefd5e4660afd4ff0d3539f7fe0b9a8393500faf9b6234ce61e95
+SHA512 (mpv-0.41.0.tar.gz) = d8806ef04455aeb65d45c5956b4589d7a9728f869b74b9bcd8c9ab08475c28538334399ddc7fc2aee6a31fd178fe4b87ec755cd99ffa6e29ab4b6b61757b9320
+Size (mpv-0.41.0.tar.gz) = 7262018 bytes
SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0
SHA1 (patch-etc_mpv.conf) = 9e41b2f4bf59c3bfc5ad84af05538661981ed111
-SHA1 (patch-meson.build) = 425276892a144337b2e568c47767fcfeaa954c89
+SHA1 (patch-meson.build) = 482d9ace47968e741cf4abf995d812b4a8fcf3f4
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.39 pkgsrc/multimedia/mpv/options.mk:1.40
--- pkgsrc/multimedia/mpv/options.mk:1.39 Sun Dec 14 13:25:04 2025
+++ pkgsrc/multimedia/mpv/options.mk Wed Dec 24 15:34:22 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.39 2025/12/14 13:25:04 vins Exp $
+# $NetBSD: options.mk,v 1.40 2025/12/24 15:34:22 leot Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mpv
@@ -139,11 +139,13 @@ MESON_ARGS+= -Dsndio=disabled
###
.if !empty(PKG_OPTIONS:Msdl2)
MESON_ARGS+= -Dsdl2-audio=enabled
-MESON_ARGS+= -Dsdl2=enabled
+MESON_ARGS+= -Dsdl2-gamepad=enabled
+MESON_ARGS+= -Dsdl2-video=enabled
.include "../../devel/SDL2/buildlink3.mk"
.else
MESON_ARGS+= -Dsdl2-audio=disabled
-MESON_ARGS+= -Dsdl2=disabled
+MESON_ARGS+= -Dsdl2-gamepad=disabled
+MESON_ARGS+= -Dsdl2-video=disabled
.endif
###
Index: pkgsrc/multimedia/mpv/patches/patch-meson.build
diff -u pkgsrc/multimedia/mpv/patches/patch-meson.build:1.5 pkgsrc/multimedia/mpv/patches/patch-meson.build:1.6
--- pkgsrc/multimedia/mpv/patches/patch-meson.build:1.5 Thu Apr 24 10:26:30 2025
+++ pkgsrc/multimedia/mpv/patches/patch-meson.build Wed Dec 24 15:34:23 2025
@@ -1,15 +1,14 @@
-$NetBSD: patch-meson.build,v 1.5 2025/04/24 10:26:30 leot Exp $
+$NetBSD: patch-meson.build,v 1.6 2025/12/24 15:34:23 leot Exp $
- Instruct about NetBSD pthread_setname_np(3).
Maybe pthread_setname_np(3) should be checked in order to distinguish
based on the argument supported instead of special-casing based on the
platform... workaround that for the moment in the simplest way.
- Enable support for DRM on NetBSD.
-- Install configuration files to examples, per pkgsrc conventions.
---- meson.build.orig 2025-03-25 17:33:27.000000000 +0000
+--- meson.build.orig 2025-12-21 19:08:20.000000000 +0000
+++ meson.build
-@@ -312,6 +312,7 @@ if cc.get_id() == 'gcc'
+@@ -313,6 +313,7 @@ if cc.get_id() == 'gcc'
endif
darwin = host_machine.system() == 'darwin'
@@ -17,7 +16,7 @@ $NetBSD: patch-meson.build,v 1.5 2025/04
win32 = host_machine.system() == 'cygwin' or host_machine.system() == 'windows'
posix = not win32
-@@ -555,14 +556,17 @@ features += {'wsdisplay-usl-io.h': cc.ha
+@@ -559,14 +560,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,12 +36,3 @@ $NetBSD: patch-meson.build,v 1.5 2025/04
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
-@@ -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'))
-+ install_data('etc/encoding-profiles.conf', install_dir: join_paths(datadir, 'examples/mpv'))
-
- foreach size: ['16x16', '32x32', '64x64', '128x128']
- icon_dir = join_paths(datadir, 'icons', 'hicolor', size, 'apps')
Home |
Main Index |
Thread Index |
Old Index