Received: by mail.netbsd.org (Postfix, from userid 605) id C8AA784F80; Wed, 16 Nov 2022 11:27:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 05FA784D2C for ; Wed, 16 Nov 2022 11:27:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id M-84OB1nLPIA for ; Wed, 16 Nov 2022 11:27:32 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B16B984CD8 for ; Wed, 16 Nov 2022 11:27:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id AAB64FA90; Wed, 16 Nov 2022 11:27:32 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1668598052211960" MIME-Version: 1.0 Date: Wed, 16 Nov 2022 11:27:32 +0000 From: "Leonardo Taccari" Subject: CVS commit: pkgsrc/multimedia/mpv To: pkgsrc-changes@NetBSD.org Reply-To: leot@netbsd.org X-Mailer: log_accum Message-Id: <20221116112732.AAB64FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1668598052211960 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: leot Date: Wed Nov 16 11:27:32 UTC 2022 Modified Files: pkgsrc/multimedia/mpv: Makefile PLIST distinfo pkgsrc/multimedia/mpv/patches: patch-wscript patch-wscript__build.py Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 pkgsrc/multimedia/mpv/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/multimedia/mpv/PLIST cvs rdiff -u -r1.75 -r1.76 pkgsrc/multimedia/mpv/distinfo cvs rdiff -u -r1.8 -r1.9 pkgsrc/multimedia/mpv/patches/patch-wscript cvs rdiff -u -r1.3 -r1.4 \ pkgsrc/multimedia/mpv/patches/patch-wscript__build.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1668598052211960 Content-Disposition: inline Content-Length: 6229 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/multimedia/mpv/Makefile diff -u pkgsrc/multimedia/mpv/Makefile:1.142 pkgsrc/multimedia/mpv/Makefile:1.143 --- pkgsrc/multimedia/mpv/Makefile:1.142 Sun Sep 11 12:52:03 2022 +++ pkgsrc/multimedia/mpv/Makefile Wed Nov 16 11:27:32 2022 @@ -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} Index: pkgsrc/multimedia/mpv/PLIST diff -u pkgsrc/multimedia/mpv/PLIST:1.12 pkgsrc/multimedia/mpv/PLIST:1.13 --- pkgsrc/multimedia/mpv/PLIST:1.12 Tue May 3 07:04:27 2022 +++ pkgsrc/multimedia/mpv/PLIST Wed Nov 16 11:27:32 2022 @@ -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 Index: pkgsrc/multimedia/mpv/distinfo diff -u pkgsrc/multimedia/mpv/distinfo:1.75 pkgsrc/multimedia/mpv/distinfo:1.76 --- pkgsrc/multimedia/mpv/distinfo:1.75 Tue May 17 13:12:13 2022 +++ pkgsrc/multimedia/mpv/distinfo Wed Nov 16 11:27:32 2022 @@ -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 Index: pkgsrc/multimedia/mpv/patches/patch-wscript diff -u pkgsrc/multimedia/mpv/patches/patch-wscript:1.8 pkgsrc/multimedia/mpv/patches/patch-wscript:1.9 --- pkgsrc/multimedia/mpv/patches/patch-wscript:1.8 Tue May 3 07:04:27 2022 +++ pkgsrc/multimedia/mpv/patches/patch-wscript Wed Nov 16 11:27:32 2022 @@ -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 '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 + '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', Index: pkgsrc/multimedia/mpv/patches/patch-wscript__build.py diff -u pkgsrc/multimedia/mpv/patches/patch-wscript__build.py:1.3 pkgsrc/multimedia/mpv/patches/patch-wscript__build.py:1.4 --- pkgsrc/multimedia/mpv/patches/patch-wscript__build.py:1.3 Tue May 3 07:04:27 2022 +++ pkgsrc/multimedia/mpv/patches/patch-wscript__build.py Wed Nov 16 11:27:32 2022 @@ -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( --_----------=_1668598052211960--