summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2022-11-16 11:27:32 +0000
committerleot <leot@pkgsrc.org>2022-11-16 11:27:32 +0000
commit92c163687ef292389f60f6d406576e86e8815598 (patch)
treeb59742260343f3f12643591000cd8792523755c2 /multimedia
parent0a64e58106f56571dce61f041c471677fd2294b6 (diff)
downloadpkgsrc-92c163687ef292389f60f6d406576e86e8815598.tar.gz
mpv: Update to 0.35.0
Changes: 0.35.0 ====== This release requires FFmpeg 4.0 or newer. For packagers: Note that mpv's build system is only supported on Python 3. If you use the `bootstrap.py` script it will take care of this, otherwise you need to explicitly invoke the build system using `python3 waf`. This release adds the Meson build system as an alternative to waf. It is supposed to be feature-complete but please report any issues you encounter. Features -------- Added ~~~~~ - vo_gpu_next: add new libplacebo-based renderer - build: add meson build support - vo_gpu_next: forward Dolby Vision metadata to libplacebo - ao_pipewire: add PipeWire audio backend - ao_sndio: readd this audio output again - vo_gpu_next: apply film grain if such metadata is present - drm: context_drm_egl: add support for enabling VRR - demux: add support for R128 replaygain tags - x11: support X Present extension - af_rubberband: add support for new engine in rubberband 3.0.0 - hwdec/drmprime: add drmprime hwdec-interop (commonly found on SoCs) - various: support binding functions keys beyond F12 - audio: support hotplug events for multiple AOs - sub: use Unicode linebreaking for non-ASS subs and OSD - vo_gpu: hwdec: add Android hwdec utilizing AImageReader - vo_dmabuf_wayland: add wayland VO displaying dmabuf buffers (vaapi or drm hwdec only) - lua/console: add history deduplication Changed ~~~~~~~ - filters: re-add vavpp hardware deinterlacing auto-filter (for --deinterlace) - swresample: don't forcibly clip audio on every conversion - ytdl_hook: always set HTTP headers to fix yt-dlp on certain sites Removed ~~~~~~~ - libmpv: remove opengl_cb API and other deprecated symbols - lua: remove deprecated mp.suspend(), resume() and resume_all() - build: raise minimum libplacebo version requirement to v4.157.0 Options and Commands -------------------- Added ~~~~~ - vo_gpu_next: add --target-colorspace-hint to facilitate HDR passthrough - vo_gpu_next: new tone mapping options 'auto', 'spline', 'bt.2446a' and add --tone-mapping-crosstalk, --inverse-tone-mapping - vo_gpu: add --gamut-mapping-mode and --tone-mapping-mode - options: add 'always' choice to --stop-screensaver - options: add --osd-playing-msg-duration - player: add --cover-art-whitelist option - x11: add --x11-present option Changed ~~~~~~~ - ao_openal: enable --openal-direct-channels by default - options: only apply --sub-visibility to primary subtitles - options: make --cover-art-auto=exact the default - vo_gpu/hwdec: rename and introduce legacy names for some interops Deprecated ~~~~~~~~~~ - vo_gpu: deprecate --gamma-factor and --gamma-auto Removed ~~~~~~~ - vo_gpu: remove --gamut-clipping, --gamut-warning, --tone-mapping-desaturate and --tone-mapping-desaturate-exponent (replacements available) - vulkan: remove --vulkan-disable-events Fixes and Minor Enhancements ---------------------------- - context_drm_egl: use gbm_surface_create_with_modifiers - context_drm_egl: add support for BGR surface formats - vo_gpu: vulkan: open DRM render fd when using VK_KHR_display - client API: use symbol visibility attributes - vo_gpu: hwdec_vaapi: add dma-buf modifiers support - wayland: fix various issues that could lead to jitter - osc: fix cache displaying 60s in some cases - player: make --keep-open=always work with --loop-playlist - opengl: support driver debug message under OpenGL ES - vo_gpu: opengl: fixes for OpenGL ES version and extension handling - f_decoder_wrapper: support frame rotation metadata (used by JPEG) - wscript: switch shaderc checks to pkgconfig - vd_lavc: enable hwdec for prores by default - vo_gpu: add HOOKED_gather for custom shaders - wayland, x11: sanitize window title for valid UTF-8 - win32: apply geometry position to content instead of window - filter_kernels: add cosine window - vo_gpu: hwdec_vaapi: don't probe formats for irrelevant endpoints - vo_gpu: hwdec: load hwdec interops on-demand by default - stats.lua: graphs: fix bad rendering due to division by 0 - hwdec: warn on unsupported --hwdec option value - x11: fix --screen-name option - x11: avoid wasteful rendering when possible - video/image_writer: add JPEG XL support - stream_lavf: enable ipfs, ipns and rist protocol support - osc.lua: fix crash when calling osc-tracklist while idle - player: add jxl, tiff, tif to list of image extensions - various: switch to new AVChannelLayout structure - lua: command_native_async: always run callback asynchronously (edge case) - context_x11egl: remove supposed transparency workaround - vo_gpu: fix 3DLUT precision - drm: avoid drmModeAtomicCommit races by blocking - drm_common: skip cards that don't support KMS for autodetection - hwdec/dmabuf_interop_gl: support basic multi-plane formats - misc/random: switch to internal xoshiro rng implementation - ytdl_hook: improve track detection - ad_lavc: strip non-normalized floats - mpv.metainfo.xml: add XDG appstream metadata manifest - mac: avoid unnecessary unsafe conversions; fixes crash in debug builds - af_scaletempo2: fix crash when the number of channels increases - wayland: correctly handle non-CLOCK_MONOTONIC clocks - x11: fix --on-all-workspaces option - sd_ass: improve handling of subtitles with unknown duration - hwdec/vaapi: improve probing of supported sw formats - demux_mf: enable support for QOI, PHM and HDR images - demux_mkv: add AVS2 and AVS3 to tag list - TOOLS/lua/autoload: fix incorrect duplicate file loading behavior - demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags - sd_ass: never mangle colours on RGB video
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpv/Makefile5
-rw-r--r--multimedia/mpv/PLIST8
-rw-r--r--multimedia/mpv/distinfo12
-rw-r--r--multimedia/mpv/patches/patch-wscript12
-rw-r--r--multimedia/mpv/patches/patch-wscript__build.py12
5 files changed, 24 insertions, 25 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 61c9680aec2..a0d733ba16d 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.142 2022/09/11 12:52:03 wiz Exp $
+# $NetBSD: Makefile,v 1.143 2022/11/16 11:27:32 leot Exp $
-DISTNAME= mpv-0.34.1
-PKGREVISION= 10
+DISTNAME= mpv-0.35.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/multimedia/mpv/PLIST b/multimedia/mpv/PLIST
index a10b3a3d33a..4c73a759015 100644
--- a/multimedia/mpv/PLIST
+++ b/multimedia/mpv/PLIST
@@ -1,13 +1,12 @@
-@comment $NetBSD: PLIST,v 1.12 2022/05/03 07:04:27 nia Exp $
+@comment $NetBSD: PLIST,v 1.13 2022/11/16 11:27:32 leot Exp $
bin/mpv
include/mpv/client.h
-include/mpv/opengl_cb.h
include/mpv/render.h
include/mpv/render_gl.h
include/mpv/stream_cb.h
lib/libmpv.so
-lib/libmpv.so.1
-lib/libmpv.so.1.109.0
+lib/libmpv.so.2
+lib/libmpv.so.2.0.0
lib/pkgconfig/mpv.pc
man/man1/mpv.1
share/applications/mpv.desktop
@@ -23,4 +22,5 @@ share/icons/hicolor/32x32/apps/mpv.png
share/icons/hicolor/64x64/apps/mpv.png
share/icons/hicolor/scalable/apps/mpv.svg
share/icons/hicolor/symbolic/apps/mpv-symbolic.svg
+share/metainfo/mpv.metainfo.xml
share/zsh/site-functions/_mpv
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo
index 425bfbe523c..7f35ad1499e 100644
--- a/multimedia/mpv/distinfo
+++ b/multimedia/mpv/distinfo
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.75 2022/05/17 13:12:13 ryoon Exp $
+$NetBSD: distinfo,v 1.76 2022/11/16 11:27:32 leot Exp $
-BLAKE2s (mpv-0.34.1.tar.gz) = 8c12b91067c852b26e1b044afb0ff1e80f1950f2c5cc193cc10ffbef227eb4da
-SHA512 (mpv-0.34.1.tar.gz) = 77ea349d6999f8cce9b5cce4cebd3506a224fc18ab08d22dd16bd34c34d012bb170879b268ddd62db40d116b4cc0b2d9d651b8097f387ed9115c426834cac77e
-Size (mpv-0.34.1.tar.gz) = 3288356 bytes
+BLAKE2s (mpv-0.35.0.tar.gz) = 63c605cf84af3d1a720f3786d5c8b7aaae42be43a9ff3bfa24e1aafef785f4d0
+SHA512 (mpv-0.35.0.tar.gz) = d5c1f734057f6b6c27e7f59de43cf7c0e7f813d842b8c7fd2ae1073dbe649c8187b7686df4efe928db2952e9f1efc171245e6f8780c1d9f174f4d7abff1e073a
+Size (mpv-0.35.0.tar.gz) = 3365752 bytes
SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0
SHA1 (patch-etc_mpv.conf) = 9e41b2f4bf59c3bfc5ad84af05538661981ed111
SHA1 (patch-stream_stream__libarchive.c) = 2025f994b7f82cc868608ab7e8df0ae89b549922
SHA1 (patch-video_out_drm__common.c) = 70eb8884f63e9456c0ffe592289cfd81e208955b
SHA1 (patch-video_out_wayland__common.c) = abed416d258ebf0b595ea897daf3013dd81189e8
-SHA1 (patch-wscript) = c7bb9c506718c38aded9ca47e7aa0d76cf338bf2
-SHA1 (patch-wscript__build.py) = fc77ebe56fba0b827541d052a767402965793ee1
+SHA1 (patch-wscript) = 16cd1c2ecd6b860d4dc0d826742d31952811c3f7
+SHA1 (patch-wscript__build.py) = afd5e66032e5ec50c7f12988480340eca0b82bf9
diff --git a/multimedia/mpv/patches/patch-wscript b/multimedia/mpv/patches/patch-wscript
index 1fe63168716..2fb15acce6d 100644
--- a/multimedia/mpv/patches/patch-wscript
+++ b/multimedia/mpv/patches/patch-wscript
@@ -1,12 +1,12 @@
-$NetBSD: patch-wscript,v 1.8 2022/05/03 07:04:27 nia Exp $
+$NetBSD: patch-wscript,v 1.9 2022/11/16 11:27:32 leot Exp $
- Enable support for DRM on NetBSD.
- Check for OSSv4 features that could not be on some platforms
(e.g. NetBSD)
---- wscript.orig 2022-01-03 19:45:08.000000000 +0000
+--- wscript.orig 2022-11-12 13:52:40.000000000 +0000
+++ wscript
-@@ -272,6 +272,11 @@ iconv support use --disable-iconv.",
+@@ -278,6 +278,11 @@ iconv support use --disable-iconv.",
'func': check_statement(['sys/consio.h', 'sys/ioctl.h'],
'int m; ioctl(0, VT_GETMODE, &m)'),
}, {
@@ -18,7 +18,7 @@ $NetBSD: patch-wscript,v 1.8 2022/05/03 07:04:27 nia Exp $
'name': 'gbm.h',
'desc': 'gbm.h',
'func': check_cc(header_name=['stdio.h', 'gbm.h']),
-@@ -432,7 +437,7 @@ audio_output_features = [
+@@ -441,7 +446,7 @@ audio_output_features = [
}, {
'name': '--oss-audio',
'desc': 'OSSv4 audio output',
@@ -26,8 +26,8 @@ $NetBSD: patch-wscript,v 1.8 2022/05/03 07:04:27 nia Exp $
+ 'func': check_statement(['sys/soundcard.h'], 'int x = SNDCTL_DSP_SETPLAYVOL; int y = SNDCTL_DSP_HALT;'),
'deps': 'posix && gpl',
}, {
- 'name': '--pulse',
-@@ -490,7 +495,7 @@ video_output_features = [
+ 'name': '--pipewire',
+@@ -508,7 +513,7 @@ video_output_features = [
}, {
'name': '--drm',
'desc': 'DRM',
diff --git a/multimedia/mpv/patches/patch-wscript__build.py b/multimedia/mpv/patches/patch-wscript__build.py
index f302f464aa1..34f082ee463 100644
--- a/multimedia/mpv/patches/patch-wscript__build.py
+++ b/multimedia/mpv/patches/patch-wscript__build.py
@@ -1,15 +1,15 @@
-$NetBSD: patch-wscript__build.py,v 1.3 2022/05/03 07:04:27 nia Exp $
+$NetBSD: patch-wscript__build.py,v 1.4 2022/11/16 11:27:32 leot Exp $
Install configuration files to examples, per pkgsrc conventions.
---- wscript_build.py.orig 2022-01-03 19:45:08.000000000 +0000
+--- wscript_build.py.orig 2022-11-12 13:52:40.000000000 +0000
+++ wscript_build.py
-@@ -737,7 +737,7 @@ def build(ctx):
- ctx.env.DATADIR + '/applications',
- ['etc/mpv.desktop'] )
+@@ -769,7 +769,7 @@ def build(ctx):
+ ctx.env.DATADIR + '/metainfo',
+ ['etc/mpv.metainfo.xml'] )
- ctx.install_files(ctx.env.CONFDIR, ['etc/encoding-profiles.conf'] )
-+ ctx.install_files(ctx.env.DATADIR + '/examples/mpv', ['etc/encoding-profiles.conf'] )
++ ctx.install_files(ctx.env.DATADIR + '/examples/mpv', ['etc/encoding-profiles.conf'] )
for size in '16x16 32x32 64x64 128x128'.split():
ctx.install_as(