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:   wiz
Date:           Wed May 15 20:37:20 UTC 2024

Modified Files:
        pkgsrc/multimedia/mpv: Makefile PLIST distinfo
        pkgsrc/multimedia/mpv/patches: patch-meson.build
            patch-osdep_threads-posix.h

Log Message:
mpv: update to 0.38.0.

Release 0.38.0
==============

Features
--------

New
~~~

- scripting: add mp.input()
- player: add an option to automatically turn on deinterlacing
- mac: add more Now Playing information and functionality
- osxbundle: automatically include MoltenVK to enable Vulkan support
- input.conf: bind Ctrl+WHEEL_UP/DOWN to video-zoom
- ao_avfoundation: initial support for AVFoundation audio driver (macOS)
- vo: add context menu support on win32

Changed
~~~~~~~

- osc: allow disabling special mouse wheel behavior
- mac: add support for dynamic change of geometry, autofit
- x11_common: allow DPI scale in unit of 0.5 and prefer the value from Xft.dpi
- vo_gpu_next: save cache to separate files
- mac: large amounts of refactoring, internal improvements and cleanups
- builtin.conf: remove debanding from the high-quality profile

Removed
~~~~~~~

- player: remove legacy, non-standard Raspberry Pi-specific support code

Options and Commands
--------------------

Added
~~~~~

- options: add secondary-sub-delay
- options: add --osd-bar-border-size
- filter_sdh: add --sub-filter-sdh-enclosures option
- options: add --secondary-sub-ass-override
- audio: add --volume-gain option to control volume in decibels
- command: export current-gpu-context property
- sub: add --sub-lavc-o option
- command: add load-config-file and load-input-conf
- input: add --input-preprocess-wheel option
- player: add loadfile/loadlist insert-next commands
- input: rework window dragging to be command controllable
- options: add --deinterlace-field-parity option
- vo: add video-target-params property
- options: add --input-commands that runs commands at startup

Changed
~~~~~~~

- player/command: add ability to scale overlay
- mac: add support for window-id property and --drag-and-drop
- command: support passing scale to `keypress`
- mac: add support for --auto-window-resize, --input-cursor-passthrough options
- win32: add support for --input-cursor-passthrough option
- x11_common: support --title-bar
- sub: allow setting special page numbers via --teletext_page
- player: set --hidpi-window-scale to no by default
- osd_libass: update the OSD bar's dent and border size
- player: remove --alpha and rename --background to --background-color
- options: remove --focus-on-open and add --focus-on

Removed
~~~~~~~

- player: remove --term-remaining-playtime option

Fixes and Minor Enhancements
----------------------------

- vaapi: add support for vaapi-win32
- ao/coreaudio_exclusive: fix segfault when changing formats
- mac: fix libmpv usage without embedding
- build: only directly link shaderc and spirv-cross on windows
- build: enable dvbin by default again
- playloop: use a 16:9 ratio with --force-window
- mac: report modifier keys on precise scrolling
- input: fix double click handling
- input: add missing forward media key ('GO_FORWARD')
- sub: don't busy loop if the player is paused for cache
- playlist: correctly populate playlist-path with the --playlist option
- win32: opt in to the windows segment heap
- demux_lavf: remove fix_editlists hack for mp4
- wayland: fix key modifier handling again
- win32: re-enable IME
- wayland_common: guard against negative configure sizes
- demux_lavf: detect ico as images
- bash-completion: parse the mpv options lazily
- f_auto_filters: use bwdif_cuda for deinterlacing with cuda hwdec
- command: do a normal seek instead of a refresh seek when switching vo
- ad_spdif: fix DTS 44.1khz passthrough playback
- vo_dmabuf_wayland: scale smarter in hidpi situations
- hwdec_drmprime: add P010 and P210 support
- wayland: look for "default" cursor as well as "left_ptr"
- wayland_common: properly handle high resolution scrolling
- vo_vdpau: fix timing for nanoseconds
- demux_mkv: add tags for A_MPEG/L1 (mp1) audio and FFV1 video
- osdep: fix infinite loop when cancelling subprocess
- dec_sub: expand sub packet caching
- player/sub: avoid wasteful subtitle redraws
- ao_pipewire: add support for SPDIF formats
- wayland_common: implement multi-seat support
- vo: make libmpv last in the auto-probing order for cocoa-cb only
- player/loadfile: rewrite sub autoselection logic
- meson: add custom target for macOS App bundling
- image_writer: cleanup leftover files if image writing fails
- sub: fix LRC lines with multiple timestamps
- ao: don't clip floating point formats at non-unity gain
- wayland: remove old sway/wlroots hack
- hwdec/dmabuf_interop_gl: migrate to EXT_EGL_image_storage on desktop GL
- sd_ass: don't wrongly recognize \pos as \p
- ao_audiotrack: fix missing check for passthrough support
- wayland_common: log if Drag-and-Drop fails
- vo_gpu_next: render subtitles at video colorspace
- swresample: stop using deprecated {in,out}_channel_layout options
- path: don't load any files if --no-config is passed (incl. cache and state)
- vo_gpu/vo_gpu_next: fix transparency with GLX
- wayland_common: require WAYLAND_DISPLAY to be set for initialization
- vo_drm: add support for BGR formats and YUYV
- stream: enable caching for sockets, pipes and FIFOs
- ao_coreaudio: stop audio unit after idle timeout
- vo_gpu_next: add support for --dither-depth=auto
- vo_gpu_next: don't render ASS subtitles at HDR colorspace
- video/image_writer: attach MDVC metadata and CLLI metadata
- win32: resolve dropped shell links (Windows shortcuts)
- af_lavcac3enc: fix memory leak on 2ch audio
- win32: increase hires timer resolution
- input: raise maximum key down limit to 16
- input: remove max active section limit
- video/egl_helpers: fix fallback logic for EGL_KHR_create_context
- ao_pulse: reenable latency hacks by default
- hwdec/vulkan: enable the stable AV1 extension
- af_scaletempo2: fix false reporting of frame availability
- win32: fix native key repeat support
- ao_pipewire: fix some buffer size / timing calculations
- audio: pause handling improvements for pull-based AOs
- ad_spdif: specify missing media type and sample rate
- mac/vulkan: add support for frame timing via presentation feedback
- demux_mkv: corrected direction of ProjectionPoseRoll rotation
- demux_mkv: add support for BCP 47 language tags
- player: avoid busy looping during subtitle track switches


To generate a diff of this commit:
cvs rdiff -u -r1.166 -r1.167 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/multimedia/mpv/PLIST
cvs rdiff -u -r1.81 -r1.82 pkgsrc/multimedia/mpv/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/multimedia/mpv/patches/patch-meson.build
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/multimedia/mpv/patches/patch-osdep_threads-posix.h

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.166 pkgsrc/multimedia/mpv/Makefile:1.167
--- pkgsrc/multimedia/mpv/Makefile:1.166        Sat Apr  6 08:06:25 2024
+++ pkgsrc/multimedia/mpv/Makefile      Wed May 15 20:37:20 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.166 2024/04/06 08:06:25 wiz Exp $
+# $NetBSD: Makefile,v 1.167 2024/05/15 20:37:20 wiz Exp $
 
-DISTNAME=      mpv-0.37.0
-PKGREVISION=   3
+DISTNAME=      mpv-0.38.0
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpv-player/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -83,6 +82,7 @@ post-install:
 .include "../../lang/python/tool.mk"
 .include "../../multimedia/libass/buildlink3.mk"
 .include "../../multimedia/libdvdnav/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libplacebo+=     libplacebo>=6.338.2
 .include "../../multimedia/libplacebo/buildlink3.mk"
 .include "../../multimedia/ffmpeg6/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"

Index: pkgsrc/multimedia/mpv/PLIST
diff -u pkgsrc/multimedia/mpv/PLIST:1.15 pkgsrc/multimedia/mpv/PLIST:1.16
--- pkgsrc/multimedia/mpv/PLIST:1.15    Mon Jan  1 15:50:13 2024
+++ pkgsrc/multimedia/mpv/PLIST Wed May 15 20:37:20 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2024/01/01 15:50:13 leot Exp $
+@comment $NetBSD: PLIST,v 1.16 2024/05/15 20:37:20 wiz 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.2.0
+lib/libmpv.so.2.3.0
 lib/pkgconfig/mpv.pc
 man/man1/mpv.1
 share/applications/mpv.desktop

Index: pkgsrc/multimedia/mpv/distinfo
diff -u pkgsrc/multimedia/mpv/distinfo:1.81 pkgsrc/multimedia/mpv/distinfo:1.82
--- pkgsrc/multimedia/mpv/distinfo:1.81 Mon Jan  1 15:50:13 2024
+++ pkgsrc/multimedia/mpv/distinfo      Wed May 15 20:37:20 2024
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.81 2024/01/01 15:50:13 leot Exp $
+$NetBSD: distinfo,v 1.82 2024/05/15 20:37:20 wiz Exp $
 
-BLAKE2s (mpv-0.37.0.tar.gz) = 0406db57ea2b31c309f653af7ed61373ae2db6c63e8189a184bac159b7e52753
-SHA512 (mpv-0.37.0.tar.gz) = a2f7fb3837312ec59c50427af7be3b2b1b6175a53ccc7463e81503284fc4047dff32cb105d665d80be77ee1ae775d4512b71584f324d6d202c9a7fc1fab53257
-Size (mpv-0.37.0.tar.gz) = 3384190 bytes
+BLAKE2s (mpv-0.38.0.tar.gz) = 030036c0a06177c0eb3478bee5bbd78b001889173d98f965c845777e468c4068
+SHA512 (mpv-0.38.0.tar.gz) = b5b2af59039ef4711814f94bbdfedb37f8ce914301670e42d4ed05fe1900025a3d3a2f3d5e69628a8aad115a647a27c386718959e2df1a18740468b3a84f8975
+Size (mpv-0.38.0.tar.gz) = 3419741 bytes
 SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0
 SHA1 (patch-etc_mpv.conf) = 9e41b2f4bf59c3bfc5ad84af05538661981ed111
-SHA1 (patch-meson.build) = 2ffcbb18391372b694af44d711c16d3d44f871c8
-SHA1 (patch-osdep_threads-posix.h) = 67900f0f14762a7ec7e2ee5fdcf57c32cbfe6b49
+SHA1 (patch-meson.build) = 490a7a3b498cfc3ccd8994778f46ae72dbe70431
+SHA1 (patch-osdep_threads-posix.h) = b7e2626ba490742858bb979ddbc5a541550ecb6b
 SHA1 (patch-stream_stream__libarchive.c) = 2025f994b7f82cc868608ab7e8df0ae89b549922
 SHA1 (patch-video_out_drm__common.c) = 70eb8884f63e9456c0ffe592289cfd81e208955b

Index: pkgsrc/multimedia/mpv/patches/patch-meson.build
diff -u pkgsrc/multimedia/mpv/patches/patch-meson.build:1.2 pkgsrc/multimedia/mpv/patches/patch-meson.build:1.3
--- pkgsrc/multimedia/mpv/patches/patch-meson.build:1.2 Mon Jan  1 15:50:14 2024
+++ pkgsrc/multimedia/mpv/patches/patch-meson.build     Wed May 15 20:37:20 2024
@@ -1,4 +1,4 @@
-$NetBSD: patch-meson.build,v 1.2 2024/01/01 15:50:14 leot Exp $
+$NetBSD: patch-meson.build,v 1.3 2024/05/15 20:37:20 wiz 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.2 2024/01
 - Enable support for DRM on NetBSD.
 - Install configuration files to examples, per pkgsrc conventions.
 
---- meson.build.orig   2023-11-21 18:47:46.000000000 +0000
+--- meson.build.orig   2024-04-17 19:18:44.000000000 +0000
 +++ meson.build
-@@ -297,6 +297,7 @@ if cc.get_id() == 'clang'
+@@ -303,6 +303,7 @@ if cc.get_id() == 'clang'
  endif
  
  darwin = host_machine.system() == 'darwin'
@@ -17,32 +17,32 @@ $NetBSD: patch-meson.build,v 1.2 2024/01
  win32 = host_machine.system() == 'cygwin' or host_machine.system() == 'windows'
  posix = not win32
  
-@@ -515,17 +516,22 @@ features += {'vt.h': cc.has_header_symbo
+@@ -527,17 +528,22 @@ features += {'vt.h': cc.has_header_symbo
  
  features += {'consio.h': not features['vt.h'] and cc.has_header_symbol('sys/consio.h', 'VT_GETMODE')}
  
 +features += {'wsdisplay_usl_io.h': not features['vt.h'] and not features['consio.h'] and cc.has_header_symbol('dev/wscons/wsdisplay_usl_io.h', 'VT_GETMODE')}
 +
  # macOS's pthread_setname_np is a special snowflake and differs from literally every other platform.
- features += {'osx-thread-name': darwin}
+ features += {'mac-thread-name': darwin}
  
 +# NetBSD pthread_setname_np differs from macOS and Linux
 +features += {'netbsd-thread-name': netbsd}
 +
  features += {'glibc-thread-name': false}
--if not features['osx-thread-name']
-+if not features['osx-thread-name'] and not features['netbsd-thread-name']
+-if not features['mac-thread-name']
++if not features['mac-thread-name'] and not features['netbsd-thread-name']
      features += {'glibc-thread-name': posix and cc.has_function('pthread_setname_np', args: '-D_GNU_SOURCE',
                                                                  dependencies: pthreads, prefix: '#include <pthread.h>')}
  endif
  
  features += {'bsd-thread-name': false}
--if not features['osx-thread-name'] and not features['glibc-thread-name']
-+if not features['osx-thread-name'] and not features['glibc-thread-name'] and not features['netbsd-thread-name']
+-if not features['mac-thread-name'] and not features['glibc-thread-name']
++if not features['mac-thread-name'] and not features['glibc-thread-name'] and not features['netbsd-thread-name']
      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
-@@ -900,7 +906,7 @@ if features['direct3d']
+@@ -922,7 +928,7 @@ if features['direct3d']
  endif
  
  drm = dependency('libdrm', version: '>= 2.4.105', required: get_option('drm'))
@@ -51,7 +51,7 @@ $NetBSD: patch-meson.build,v 1.2 2024/01
  if features['drm']
      dependencies += drm
      sources += files('video/drmprime.c',
-@@ -1734,7 +1740,7 @@ if get_option('cplayer')
+@@ -1758,7 +1764,7 @@ if get_option('cplayer')
  
      install_data('etc/mpv.desktop', install_dir: join_paths(datadir, 'applications'))
      install_data('etc/mpv.metainfo.xml', install_dir: join_paths(datadir, 'metainfo'))

Index: pkgsrc/multimedia/mpv/patches/patch-osdep_threads-posix.h
diff -u pkgsrc/multimedia/mpv/patches/patch-osdep_threads-posix.h:1.1 pkgsrc/multimedia/mpv/patches/patch-osdep_threads-posix.h:1.2
--- pkgsrc/multimedia/mpv/patches/patch-osdep_threads-posix.h:1.1       Mon Jan  1 15:50:14 2024
+++ pkgsrc/multimedia/mpv/patches/patch-osdep_threads-posix.h   Wed May 15 20:37:20 2024
@@ -1,12 +1,12 @@
-$NetBSD: patch-osdep_threads-posix.h,v 1.1 2024/01/01 15:50:14 leot Exp $
+$NetBSD: patch-osdep_threads-posix.h,v 1.2 2024/05/15 20:37:20 wiz Exp $
 
 Add support for NetBSD.
 
---- osdep/threads-posix.h.orig 2023-12-31 11:13:03.078250654 +0000
+--- osdep/threads-posix.h.orig 2024-04-17 19:18:44.000000000 +0000
 +++ osdep/threads-posix.h
-@@ -232,6 +232,8 @@ static inline void mp_thread_set_name(co
+@@ -237,6 +237,8 @@ static inline void mp_thread_set_name(co
      pthread_set_name_np(pthread_self(), name);
- #elif HAVE_OSX_THREAD_NAME
+ #elif HAVE_MAC_THREAD_NAME
      pthread_setname_np(name);
 +#elif HAVE_NETBSD_THREAD_NAME
 +    pthread_setname_np(pthread_self(), "%s", name);



Home | Main Index | Thread Index | Old Index