mpv/mpv.spec

303 lines
9.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mpv
#
Accepting request 1063950 from home:jaimeMF:branches:multimedia:apps - Update to version 0.35.1+git.20230128.140ec21c: * ao_pipewire: log version and other useful debug info * wayland: error out if essential protocol support is missing * wayland: also log refresh rate on surface entrance * vo_gpu_next: fix undefined behavior on alpha-first formats * meson: prepend MPV_CONFDIR path with prefix * meson: unbreak dl check on BSDs without libdl * lcms: fix crash with lcms2-related options if lcms is disabled * meson: fix stdatomic detection on bsd * osc: don't spam window-controls bindings on every render * wayland: check for resize/move in touch event first * ao_coreaudio: use device's nominal sample rate for latency properties * ao_pipewire: properly clean up resources * filter_kernels: fix kaiser * hwdec/d3d11va: fix a possible memory leak * external_files: set log level for potential files to trace * vo_opengl: do not blindly reject all Microsoft's OpenGL implementations * ao_coreaudio: use AudioUnitReset as ao_driver.reset to prevent long restart * hwdec_drmprime: fix memory leak * vo: hwdec: fix libdrm-related memory leak * draw_bmp: ensure last slice width is less than total width * wayland: dispatch and wait for compositor events in uninit * demux: boost read EBU R128 gain values to ReplayGain's reference level * version.py/version.sh: bump copyright year * vulkan: fix build error for 32bit builds with clang * vo_wlshm: cleanup on failure * ra_d3d11: fix incorrect type * meson: also search for rst2html with .py extension * audio: fix crash during uninit with ao_lavc * mp_image: fix XYZ primaries default * vd_lavc: add "auto" choice for vd-lavc-dr * vo: implement VO_DR_FLAG_HOST_CACHED * x11: fix issue with xpresent timing feedback - Refresh mpv-make-ffmpeg-version-check-non-fatal.patch OBS-URL: https://build.opensuse.org/request/show/1063950 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=290
2023-02-10 14:32:02 +01:00
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2015 Packman Team <packman@links2linux.de>
# Copyright (c) 2012 Jiri Slaby <jslaby@suse.de>
# Copyright (c) 2011-2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname libmpv2
Name: mpv
Accepting request 1101508 from home:llyyr:branches:multimedia:apps - Remove waf build: removed upstream - Make meson a hard requirement now - Bump libplacebo requirement to 6.292.0 for Tumbleweed - Add patch 0001-Revert-meson-bump-required-version-to-0.62.patch to lower meson requirement for Leap - Update to version 0.36.0+git.20230730.1bbc7a2c: * ao_sndio: use sio_flush() to improve controls responsiveness * draw_bmp: fix overflowing coordinates in mark_rcs * Revert "audio: add AOCONTROL_UPDATE_MEDIA_ROLE" * Revert "ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE" * meson: look for linux/input-event-codes.h with libwayland flags * version.py: fix build date * options: restore old default sub selection behavior * vo_gpu_next: fix assertion on wayland * vo_gpu_next: delay swapchain submit until flip_frame() * path-win: move state directory to %LOCALAPPDATA% * path-win: add subdirectory for cache * Revert "ci/msys2: double down on running meson through python3.11" * ad_spdif: fix segfault due to early deallocation * test: enhance libmpv test * player/video: check for track and decoder existence * video_writer: fix gamma for YUV screenshots * image_writer: log pixfmt conversion * encode_lavc: fix leak of codecpar * zimg: fix abort on subsampled input with odd heights * demux_mkv: add missing space to log msg * build: remove unneeded libdl requirement for vaapi * build: refactor vaapi handling * ci/mingw: reduce git clone depth to 1 * ci/mingw: use ccache * ci/mingw: disable fail-fast * ci/mingw: check if binary is runnable before packaging * language-posix: as a fallback, treat "C" as "en" * msg: print MSGL_WARN and higher error messages to stderr * build: vaapi-x-egl is not used anywhere, remove it * build: vaapi-egl should explicitly depend on egl * build: vaapi-drm and vaapi-wayland do not depend on egl * ci/mingw: update luajit to fix i686 crashes * wayland: restore xkb_keysym_to_utf8 handling * build: internally rename gl-wayland to egl-wayland * waf: remove waf as a build system OBS-URL: https://build.opensuse.org/request/show/1101508 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=297
2023-07-31 13:56:12 +02:00
Version: 0.36.0+git.20230730.1bbc7a2c
Release: 0
Summary: Advanced general-purpose multimedia player
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Video/Players
URL: http://mpv.io
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
Source: %{name}-%{version}.tar.xz
Source2: %{name}.changes
# PATCH-FIX-OPENSUSE do not require equal libav versions, obs rebuilds as needed
Patch0: mpv-make-ffmpeg-version-check-non-fatal.patch
Accepting request 1101508 from home:llyyr:branches:multimedia:apps - Remove waf build: removed upstream - Make meson a hard requirement now - Bump libplacebo requirement to 6.292.0 for Tumbleweed - Add patch 0001-Revert-meson-bump-required-version-to-0.62.patch to lower meson requirement for Leap - Update to version 0.36.0+git.20230730.1bbc7a2c: * ao_sndio: use sio_flush() to improve controls responsiveness * draw_bmp: fix overflowing coordinates in mark_rcs * Revert "audio: add AOCONTROL_UPDATE_MEDIA_ROLE" * Revert "ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE" * meson: look for linux/input-event-codes.h with libwayland flags * version.py: fix build date * options: restore old default sub selection behavior * vo_gpu_next: fix assertion on wayland * vo_gpu_next: delay swapchain submit until flip_frame() * path-win: move state directory to %LOCALAPPDATA% * path-win: add subdirectory for cache * Revert "ci/msys2: double down on running meson through python3.11" * ad_spdif: fix segfault due to early deallocation * test: enhance libmpv test * player/video: check for track and decoder existence * video_writer: fix gamma for YUV screenshots * image_writer: log pixfmt conversion * encode_lavc: fix leak of codecpar * zimg: fix abort on subsampled input with odd heights * demux_mkv: add missing space to log msg * build: remove unneeded libdl requirement for vaapi * build: refactor vaapi handling * ci/mingw: reduce git clone depth to 1 * ci/mingw: use ccache * ci/mingw: disable fail-fast * ci/mingw: check if binary is runnable before packaging * language-posix: as a fallback, treat "C" as "en" * msg: print MSGL_WARN and higher error messages to stderr * build: vaapi-x-egl is not used anywhere, remove it * build: vaapi-egl should explicitly depend on egl * build: vaapi-drm and vaapi-wayland do not depend on egl * ci/mingw: update luajit to fix i686 crashes * wayland: restore xkb_keysym_to_utf8 handling * build: internally rename gl-wayland to egl-wayland * waf: remove waf as a build system OBS-URL: https://build.opensuse.org/request/show/1101508 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=297
2023-07-31 13:56:12 +02:00
Patch1: 0001-Revert-meson-bump-required-version-to-0.62.patch
BuildRequires: bash
BuildRequires: hicolor-icon-theme
BuildRequires: libjpeg-devel
BuildRequires: linux-kernel-headers
BuildRequires: meson >= 0.60.3
# Needed any lua to convert the bash-completion
BuildRequires: lua
BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: python3-docutils
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(alsa) >= 1.0.18
BuildRequires: pkgconfig(caca) >= 0.99.beta18
BuildRequires: pkgconfig(dri)
BuildRequires: pkgconfig(dvdnav) >= 4.2.0
BuildRequires: pkgconfig(egl) >= 1.4
BuildRequires: pkgconfig(ffnvcodec) >= 8.2.15.7
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
BuildRequires: pkgconfig(gbm) >= 17.1.0
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(lcms2) >= 2.6
BuildRequires: pkgconfig(libarchive) >= 3.4.0
BuildRequires: pkgconfig(libass) >= 0.12.2
BuildRequires: pkgconfig(libavcodec) >= 58.12.100
BuildRequires: pkgconfig(libavdevice) >= 57.0.0
BuildRequires: pkgconfig(libavfilter) >= 7.14.100
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(libavformat) >= 59.27.100
BuildRequires: pkgconfig(libavif) >= 0.11.1
BuildRequires: pkgconfig(libavutil) >= 57.24.100
%else
BuildRequires: pkgconfig(libavformat) >= 58.9.100
BuildRequires: pkgconfig(libavutil) >= 56.12.100
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
%endif
BuildRequires: pkgconfig(libbluray) >= 0.3.0
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libcdio_cdda)
BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libdrm) >= 2.4.75
BuildRequires: pkgconfig(libiso9660)
BuildRequires: pkgconfig(libpulse) >= 1.0
Accepting request 599616 from home:alois:branches:multimedia:apps - Update to version 0.28.2 Added features: * Add DRM_PRIME Format Handling and Display for RockChip MPP decoders * csputils: Add support for Display P3 primaries * demux: support multiple seekable cached ranges, display cache ranges on OSC * demux_playlist: support .url files (#5107) * dvb: Add multiple frontends support (up to 8) * dvb: implement parsing of modulation for VDR-style channels config * hwdec: add mediacodec hardware decoder for IMGFMT_MEDIACODEC frames, * rename mediacodec to mediacodec-copy * lua: integrate stats.lua script (bound to i/I by default) * vd_lavc: add support for nvdec hwaccel * vo_gpu: add android opengl backend * vo_gpu: initial d3d11 support * vo_gpu: vulkan support Removed features: * af: remove deprecated audio filters (channels, equalizer, pan, volume; * replacements in lavfi) * vf: remove most GPL video filters (crop, dsize, expand, flip, gradfun, mirror, * noformat, pullup, rotate, scale, stereo3d, yadif; replacements in lavfi) * vf_buffer: remove this filter * video: remove automatic stereo3d filter insertion * vo_gpu: remove hwdec_vaglx interop * vo_opengl: refactor into vo_gpu * vo_wayland: remove Added options and commands: * demux: add option to create CC tracks eagerly (--sub-create-cc-track) * options: add --start=none to reset previously set start time * options: add --vlang switch Changed options and commands: * cache: lower default size to 2*10MB * demux: bump the demuxer cache readahead duration to 10 hours * demux: use seekable cache for network by default, bump prefetch limit * msg: make --msg-level affect --log-file too * player/misc.c: allow both --length and --end to control play endpoint * player: match subtitles with language tags with --sub-auto=exact * rename --opengl-hwdec-interop to --gpu-hwdec-interop (now mostly useless) * vd_lavc: prefer nvdec over vdpau with --hwdec=auto (better codec and surface * format support) * vd_lavc: rename --hwdec=rpi to --hwdec=mmal Removed options and commands: * options: remove --heartbeat-cmd and --heartbeat-interval * (incidentally fixes #4888) Fixes and Minor Enhancements * TOOLS/autoload.lua: add ogm, ogg and opus extensions * Use /dev/tty instead of stdin for terminal input (#4190) * audio: add audio softvol processing to AO (replaces previously GPL’d code) * audio: fix channel conversion with NA channels (e.g. with ALSA) * audio: fix missing volume update on init and reinit * csputils: Fix DCI P3 primaries white point * demux: don't allow subtitles to mess up buffered time display * demux: fix .cue files with audio files that contain attached pictures * demux: fix accounting for seekable ranges on track switches (fixes missing * audio when cycling through audio tracks with e.g. EDL, --merge-files, ordered * chapters and youtube-dl pseudo DASH) * demux: fix crash with cue/ordered chapter files (#5027) * demux: speed up cache seeking with a coarse index * demux_lavf: always give libavformat the filename when probing * (helps with mp3 files) * demux_mkv: add V_SNOW tag to mkv_video_tags * dvb: Fix long channel switching: next/prev channel * dvb: fixes for ATSC tuning * lavc_conv: clamp timestamps to positive (#5047) * mp_image: always copy color attributes on hw download (#4804) * mp_image: select an explicit fallback for chroma location (#4804) * msg: bump log level of --log-file to -v -v * msg: reinterpret a bunch of message levels * osc: fix rare stack overflow when changing visibility mode * osdep/io: add android-related bullshit to fix files >2 GiB * player/playloop.c: respect playback start time when using --loop-file * player: allow seeking in cached parts of unseekable streams * player: make track language matching case insensitive (#5272) * player: use start timestamp for ab-looping if --ab-loop-a is absent * player: when loading external file, always add all track types (#5132) * restore-old-bindings.conf: add old macOS/Wayland AXIS bindings * screenshot: create directories from template * scripting: report dlerror() output * sd_ass: accept RFC8081 font media types * sd_ass: accept otc as fallback OpenType collection file extension * stream_libarchive: work around various types of locale braindeath * (https://git.io/vbiFJ) * subprocess-win: don't change the mouse cursor when creating processes * video: add a hack to avoid missing subtitles with vf_sub (#5194) * video: fix alpha handling (#4983) * video: fix memory leaks (roughly 1 KB per decoded frame) with hwdec copy modes * video: fix rotation and deinterlace auto filters * video: properly pass through ICC data * vo: add support for externally driven renderloop and make wayland use it * (partially fixes display-sync under wayland; disables rendering when window * is invisible) * vo_gpu: change --tone-mapping-desaturate algorithm * vo_gpu: enable 3DLUTs in dumb mode * vo_gpu: fix gamma scale * vo_gpu: fix mobius tone mapping compatibility to GLSL 120 (#5069) * vo_gpu: fix video sometimes not being rerendered on equalizer change * vo_gpu: kill off FBOTEX_FUZZY (#1814) * vo_gpu: opengl: fix possible screenshot window crash (#4905) * vo_gpu: opengl: use GLX_MESA_swap_control where available * vo_gpu: reduce the --alpha=blend-tiles checkerboard intensity * vo_gpu: win: remove exclusive-fullscreen detection hack * vo_lavc: remove messy delayed subtitle rendering logic (#4689) * wayland_common: implement output tracking, many cleanups and bugfixes (#4711) * ytdl_hook: don't prepend ytdl:// to non-youtube links in playlists (#5003) - Refreshed mpv-make-ffmpeg-version-check-non-fatal.patch - Dropped mpv-vaapi2.patch (no longer necessary) OBS-URL: https://build.opensuse.org/request/show/599616 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=139
2018-04-21 21:37:40 +02:00
BuildRequires: pkgconfig(libswresample) >= 3.0.100
BuildRequires: pkgconfig(libswscale) >= 5.0.101
BuildRequires: pkgconfig(libudf)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libva) >= 1.1.0
BuildRequires: pkgconfig(libva-x11) >= 1.1.0
BuildRequires: pkgconfig(lua5.1)
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
BuildRequires: pkgconfig(openal) >= 1.13
# Testing framework: disabled for now as it runs just 1 test
# BuildRequires: pkgconfig(cmocka) >= 0.4.1
BuildRequires: pkgconfig(python3)
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150400
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
BuildRequires: pkgconfig(libsixel) >= 1.5
%endif
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
BuildRequires: pkgconfig(rubberband) >= 3.0.0
Accepting request 511318 from home:lachs0r:branches:multimedia:apps Update to 0.26.0, some packaging fixes. I’d enable JavaScript support, too, but openSUSE doesn’t package MuJS yet (which is sort of a pain because upstream doesn’t have a SONAME, yada yada). old: multimedia:apps/mpv new: home:lachs0r:branches:multimedia:apps/mpv rev None Index: mpv.changes =================================================================== --- mpv.changes (revision 99) +++ mpv.changes (revision 3) @@ -1,4 +1,104 @@ ------------------------------------------------------------------- +Tue Jul 18 19:42:17 UTC 2017 - 9@cirno.systems + +- Packaging changes: + * Remove unnecessary build dependencies + * Explicitly enable DVD and DVB features + * Add libgbm, rubberband, uchardet + +- Update to version 0.26.0 + * Built-in V4L TV support is disabled by default. + av://v4l2 can be used instead. + * Support for C plugins is now enabled by default (#4491). + * Many more parts of the player are now licensed under LGPL, + see Copyright file. + Added features: + * csputils: implement sony s-gamut + * vo_opengl: add new HDR tone mapping algorithm + (mobius, now default) + * vo_opengl: hwdec_cuda: Support separate decode and display + devices + * vo_opengl: implement sony s-log1 and s-log2 trc + * vo_opengl: implement support for OOTFs and non-display referred + content + Removed features: + * vf_dlopen: remove this filter + Added options and commands: + * vo_opengl: add --tone-mapping-desaturate + * vo_opengl: support tone-mapping-param for `clip` + * ytdl_hook: add option to exclude URLs from being parsed + Changed options and commands: + * allow setting profile option with libmpv + * audio: move replaygain control to top-level options + * external_files: parse ~ in --{sub,audio}-paths + * options: change --sub-fix-timing default to no (#4484) + * options: expose string list actions for --sub-file option + * options: slight cleanup of --sub-ass-style-override + + signfs → scale + + --sub-ass-style-override → --sub-ass-override + * renamed the HDR TRCs `st2084` and `std-b67` to `pq` and `hlg` + respectively + * replace vf_format's `peak` suboption by `sig-peak`, which is + relative to the reference white level instead of in cd/m^2 + * the following options change to append-by-default (and possibly + separator): --script + * video: change --video-aspect-method default value to `container` + Deprecated options and commands: + * m_option: deprecate multiple items for -add etc. + * player: deprecate "osd" command + * --audio-file-paths => --audio-file-path + * --sub-paths => --sub-file-path + * --opengl-shaders => --opengl-shader + * --sub-paths => --sub-file-paths + * the following options are deprecated for setting via API: + + "script" (use "scripts") + + "sub-file" (use "sub-files") + + "audio-file" (use "audio-files") + + "external-file" (use "external-files") + (the compatibility hacks for this will be removed after this + release) + Removed options and commands: + * chmap: remove misleading "downmix" channel layout name (#4545) + * demux_lavf: remove --demuxer-lavf-cryptokey option (#4579) + * input.conf: drop TV/DVB bindings + * options: remove remaining deprecated audio device selection options + + --alsa-device + + --oss-device + + --coreaudio-exclusive + + --pulse-sink + + --rsound-host/--rsound-port + + --ao-sndio-device + + --ao-wasapi-exclusive + + --ao-wasapi-device + * remove option --target-brightness + * remove property "video-params/nom-peak" + Fixes and minor enhancements: + * TOOLS/lua/autoload.lua: actually sort files case insensitive (#4398) + * TOOLS/lua/autoload.lua: ignores all files starting with "." + * ao_pulse: reorder format choice to prefer float and S32 over S16 as fallback format + * command: add missing change notification for playlist-shuffle (#4573) + * demux_disc: fix bluray subtitle language retrieval (#4611) + * demux_mkv: fix alpha with vp9 + libvpx + * demux_mkv: support FFmpeg A_MS/ACM extensions + * ipc-unix: don’t truncate the message on EAGAIN (#4452) + * ipc: raise json nesting limit (#4394) + * mpv_identify: replace deprecated fps property (#4550) + * options/path: fallback to USERPROFILE if HOME isn't set + * player: close audio device on no audio track + * player: fix potential segfault when playing dvd:// with DVD disabled (#4393) + * player: prevent seek position to jump around adjacent keyframes, e.g. when dragging the OSC bar on short videos (#4183) + * vo_opengl: bump up SHADER_MAX_HOOKS and MAX_TEXTURE_HOOKS to 64 + * vo_opengl: correct off-by-one in scale=oversample + * vo_opengl: do not use vaapi-over-GLX (#4555) + * vo_opengl: fall back to ordered dither instead of blowing up (#4519) + * vo_opengl: tone map in linear XYZ instead of RGB + * x11: add 128x128 sized icon support + * ytdl_hook: add a header to support geo-bypass + * ytdl_hook: don't override start time set by saved state + * ytdl_hook: don't override user-set start time + * ytdl_hook: treat single-entry playlists as a single video + +------------------------------------------------------------------- Mon May 22 08:41:28 UTC 2017 - tchvatal@suse.com - Depend on lua-5.1 as 5.3 is incompatible wrt bsc#1040034 Index: mpv.spec =================================================================== --- mpv.spec (revision 99) +++ mpv.spec (revision 3) @@ -21,7 +21,7 @@ %define _waf_ver 1.9.9 %define _mbc_ver 3.3.13 -%define _mpv_ver 0.25.0 +%define _mpv_ver 0.26.0 %define lname libmpv1 Name: mpv Version: %{_mpv_ver} @@ -39,24 +39,19 @@ Patch0: mpv-make-ffmpeg-version-check-non-fatal.patch BuildRequires: bash BuildRequires: hicolor-icon-theme -BuildRequires: ladspa-devel BuildRequires: libjpeg-devel -BuildRequires: libmng-devel BuildRequires: linux-kernel-headers -BuildRequires: lirc-devel BuildRequires: lua -BuildRequires: ncurses-devel BuildRequires: perl BuildRequires: pkgconfig BuildRequires: python3-docutils BuildRequires: update-desktop-files -BuildRequires: yasm BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(caca) >= 0.99.beta18 BuildRequires: pkgconfig(dri) BuildRequires: pkgconfig(dvdnav) >= 4.2.0 BuildRequires: pkgconfig(dvdread) >= 4.1.0 -BuildRequires: pkgconfig(enca) +BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(lcms2) >= 2.6 @@ -68,7 +63,6 @@ BuildRequires: pkgconfig(libavformat) >= 57.56.100 BuildRequires: pkgconfig(libavutil) >= 55.34.100 BuildRequires: pkgconfig(libbluray) >= 0.3.0 -BuildRequires: pkgconfig(libbs2b) BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcdio_cdda) BuildRequires: pkgconfig(libcdio_paranoia) @@ -82,7 +76,9 @@ BuildRequires: pkgconfig(libva-x11) >= 0.36.0 BuildRequires: pkgconfig(lua-5.1) BuildRequires: pkgconfig(python3) +BuildRequires: pkgconfig(rubberband) BuildRequires: pkgconfig(smbclient) +BuildRequires: pkgconfig(uchardet) BuildRequires: pkgconfig(vdpau) BuildRequires: pkgconfig(xext) >= 1.0.0 BuildRequires: pkgconfig(xinerama) >= 1.0.0 @@ -215,10 +211,13 @@ --docdir="%{_docdir}/%{name}" \ --confdir="%{_sysconfdir}/%{name}" \ --enable-cdda \ + --enable-dvdread \ + --enable-dvdnav \ --enable-libmpv-shared \ --enable-zsh-comp \ --enable-manpage-build \ --enable-libarchive \ + --enable-dvbin \ ${myopts} ./waf build --verbose %{?_smp_mflags} Index: mpv-0.26.0.tar.gz =================================================================== Binary file mpv-0.26.0.tar.gz (revision 3) added Index: mpv-0.25.0.tar.gz =================================================================== Binary file mpv-0.25.0.tar.gz (revision 99) deleted OBS-URL: https://build.opensuse.org/request/show/511318 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=100
2017-07-19 13:05:16 +02:00
BuildRequires: pkgconfig(uchardet)
BuildRequires: pkgconfig(vapoursynth) >= 24
BuildRequires: pkgconfig(vapoursynth-script) >= 23
BuildRequires: pkgconfig(vdpau) >= 0.2
BuildRequires: pkgconfig(xext) >= 1.0.0
BuildRequires: pkgconfig(xinerama) >= 1.0.0
Accepting request 624568 from home:alois:branches:multimedia:apps - Update to version 0.29.0 * This release requires FFmpeg 4.0 or newer. Added features: * ao/openal: Add better sample format and channel layout selection * ao/openal: Add support for direct channels output * cocoa-cb: initial implementation via opengl-cb API * context_drm_egl: Introduce 30bpp support (requires Mesa 18.0.0_rc4 or later) * osx: add some more menu bar items as suggested by Apples's HIG * vo_gpu: make screenshots use the GL renderer (#5498, #5240) * x11: support Shift+TAB as an input key bind (#5849) * ytdl_hook: support native dash demuxer, if present Changed features * ao_alsa, ao_pulse: reduce requested buffer size * audio: change format negotiation, remove channel remix fudging * client API: deprecate opengl-cb API and introduce a replacement API * demux: lower demuxer cache default sizes from 400MB/400MB to 50MB/150MB * osx: always deactivate the early opengl flush on macOS * scripting: change when/how player waits for scripts being loaded * vo_gpu: various improvements to HDR peak detection * vo_gpu: various improvements to HDR tone mapping * wayland_common: update to stable xdg-shell * ytdl_hook: parse youtube playlist urls to set start index if `--ytdl-raw-option=yes-playlist=` is specified Deprecated features: * af_lavrresample: deprecate this filter Removed features: * build: drop support for SDL1 (only applied to ao_sdl) Added options and commands: * add a number of --audio-resample-* options, which should from now on be used instead of --af-defaults=lavrresample: * ao/openal: --openal-direct-channels * command: add --osd-on-seek option defaulting to bar * command: add a change-list command (#5435) * options: add --http-proxy * options: add a builtin low-latency profile * vaapi: add option to select a non-default device path with --vaapi-device (#4320) * video: add option to reduce latency by 1 or 2 frames * vo_gpu: introduce --target-peak (#5521) Changed options and commands: * command: change cycle-value command behavior (#5772) * config: replace config dir lua-settings/ with dir script-opts/ * options: --lavfi-complex now requires uniquely named filter pads. * options: --ytdl is now always enabled, even for libmpv * options: make --deinterlace=yes always deinterlace (#5219) * options: slightly improve filter help output for lavfi bridge * vo: rename --vo=opengl-cb to --vo=libmpv Deprecated options and commands: * encoding: deprecate a bunch of obscure options (--ovoffset, --oaoffset, --ovfirst, --oafirst) * options: deprecate --vf-defaults and --af-defaults * osx: --gpu-context=cocoa with --gpu-api=opengl is now deprecated in favour of --vo=libmpv Removed options and commands: * command: remove an old compatibility hack that allowed CLI aliases to be set as property, deprecated in 0.26.0 * input: remove legacy command handling for MPlayer commands that were deprecated in 2013 * options: drop --opensles-sample-rate, as --audio-samplerate should be used if desired * options: drop deprecated --videotoolbox-format, --ff-aid, --ff-vid, --ff-sid, --ad-spdif-dtshd, --softvol options * options: remove --video-stereo-mode * options: remove deprecated ao/vo auto profiles * options: remove the following encoding options: --ocopyts (now the default, old timestamp handling is gone), --oneverdrop (now default), --oharddup (you need to use --vf=fps=VALUE), --ofps, --oautofps, --omaxfps Fixes and minor enhancements: * HIDRemote: fix volume buttons on macOS 10.13 (#5721) * TOOLS/autoload: Fix broken "disabled" option * TOOLS/autoload: be more robust with slow directory listings (#5618) * ao_sdl: fix default buffer size * build: add static libraries to libmpv.pc * build: bump waf to 2.0.9 (fixes Python 3.7 compatibility) * build: manually add standard library search paths for linking (#5791) * common: round all integer times to milliseconds * demux, player: fix playback of sparse video streams (w/ still images) * demux: support for some kinds of timed metadata (e.g. ICY) * demux_mkv: add V_AV1 identifier for AV1 * demux_mkv: support Meridian Lossless Packing in Matroska (#5923) * display additional metadata tags during video playback * drm_atomic: Fix memory leaks in drm_atomic_create * enable cache for FUSE filesystems on OpenBSD and FreeBSD * gpu: prefer 16bit floating point FBO formats to 16bit integer ones * hwdec_vaegl: Fix VAAPI EGL interop used with gpu-context=drm * input.conf: use exact value for [ binding, which does the inverse of ] * input: add a keybinding to toggle hardware decoding * input: minor additions to default key bindings (#973) * osc: fix accidentally skipping files when seeking with slider * player: fix strange behavior on edition switching * player: fix track autoselection of external files yet again * terminal-unix: stop trying to read when terminal disappears (#5842) * video: actually wait for last frame being rendered on EOF * video: fix --video-rotate in some cases * video: fix crash with vdpau when reinitializing rendering (#5447) * vo_gpu: fix anamorphic screenshots (#5619) * vo_vdpau: fix resizing and rotation problems - Refreshed mpv-make-ffmpeg-version-check-non-fatal.patch - Bumped waf to 2.0.9 - Enable wayland only for Tumbleweed due to version constraints OBS-URL: https://build.opensuse.org/request/show/624568 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=143
2018-07-23 08:56:04 +02:00
BuildRequires: pkgconfig(xkbcommon) >= 0.3.0
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
BuildRequires: pkgconfig(xpresent) >= 1.0.0
BuildRequires: pkgconfig(xrandr) >= 1.2.0
BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zimg) >= 2.9
BuildRequires: pkgconfig(zlib)
Requires: hicolor-icon-theme
Requires(post): hicolor-icon-theme
Requires(post): update-desktop-files
Requires(postun):hicolor-icon-theme
Requires(postun):update-desktop-files
# Used via LUA scripts
Recommends: yt-dlp
Conflicts: mpv-plugin-mpris < 0.4
# Obsoletion of mplayer2 that is dead for 2 years now
Provides: mplayer2 = 20140101
Obsoletes: mplayer2 < 20140101
Accepting request 1101508 from home:llyyr:branches:multimedia:apps - Remove waf build: removed upstream - Make meson a hard requirement now - Bump libplacebo requirement to 6.292.0 for Tumbleweed - Add patch 0001-Revert-meson-bump-required-version-to-0.62.patch to lower meson requirement for Leap - Update to version 0.36.0+git.20230730.1bbc7a2c: * ao_sndio: use sio_flush() to improve controls responsiveness * draw_bmp: fix overflowing coordinates in mark_rcs * Revert "audio: add AOCONTROL_UPDATE_MEDIA_ROLE" * Revert "ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE" * meson: look for linux/input-event-codes.h with libwayland flags * version.py: fix build date * options: restore old default sub selection behavior * vo_gpu_next: fix assertion on wayland * vo_gpu_next: delay swapchain submit until flip_frame() * path-win: move state directory to %LOCALAPPDATA% * path-win: add subdirectory for cache * Revert "ci/msys2: double down on running meson through python3.11" * ad_spdif: fix segfault due to early deallocation * test: enhance libmpv test * player/video: check for track and decoder existence * video_writer: fix gamma for YUV screenshots * image_writer: log pixfmt conversion * encode_lavc: fix leak of codecpar * zimg: fix abort on subsampled input with odd heights * demux_mkv: add missing space to log msg * build: remove unneeded libdl requirement for vaapi * build: refactor vaapi handling * ci/mingw: reduce git clone depth to 1 * ci/mingw: use ccache * ci/mingw: disable fail-fast * ci/mingw: check if binary is runnable before packaging * language-posix: as a fallback, treat "C" as "en" * msg: print MSGL_WARN and higher error messages to stderr * build: vaapi-x-egl is not used anywhere, remove it * build: vaapi-egl should explicitly depend on egl * build: vaapi-drm and vaapi-wayland do not depend on egl * ci/mingw: update luajit to fix i686 crashes * wayland: restore xkb_keysym_to_utf8 handling * build: internally rename gl-wayland to egl-wayland * waf: remove waf as a build system OBS-URL: https://build.opensuse.org/request/show/1101508 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=297
2023-07-31 13:56:12 +02:00
# Use libplacebo v5.264 for Leap 15.5
%if 0%{?sle_version} >= 150400 && 0%{?is_opensuse}
BuildRequires: (pkgconfig(libplacebo) >= 5 with pkgconfig(libplacebo) < 6.292.0)
%endif
# Use libplacebo v6.292 for Tumbleweed
%if 0%{?suse_version} >= 1550
BuildRequires: pkgconfig(libplacebo) >= 6.292.0
%endif
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(mujs)
%endif
BuildRequires: pkgconfig(libva-wayland) >= 1.1.0
BuildRequires: pkgconfig(vulkan) >= 1.0.61
Accepting request 1101508 from home:llyyr:branches:multimedia:apps - Remove waf build: removed upstream - Make meson a hard requirement now - Bump libplacebo requirement to 6.292.0 for Tumbleweed - Add patch 0001-Revert-meson-bump-required-version-to-0.62.patch to lower meson requirement for Leap - Update to version 0.36.0+git.20230730.1bbc7a2c: * ao_sndio: use sio_flush() to improve controls responsiveness * draw_bmp: fix overflowing coordinates in mark_rcs * Revert "audio: add AOCONTROL_UPDATE_MEDIA_ROLE" * Revert "ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE" * meson: look for linux/input-event-codes.h with libwayland flags * version.py: fix build date * options: restore old default sub selection behavior * vo_gpu_next: fix assertion on wayland * vo_gpu_next: delay swapchain submit until flip_frame() * path-win: move state directory to %LOCALAPPDATA% * path-win: add subdirectory for cache * Revert "ci/msys2: double down on running meson through python3.11" * ad_spdif: fix segfault due to early deallocation * test: enhance libmpv test * player/video: check for track and decoder existence * video_writer: fix gamma for YUV screenshots * image_writer: log pixfmt conversion * encode_lavc: fix leak of codecpar * zimg: fix abort on subsampled input with odd heights * demux_mkv: add missing space to log msg * build: remove unneeded libdl requirement for vaapi * build: refactor vaapi handling * ci/mingw: reduce git clone depth to 1 * ci/mingw: use ccache * ci/mingw: disable fail-fast * ci/mingw: check if binary is runnable before packaging * language-posix: as a fallback, treat "C" as "en" * msg: print MSGL_WARN and higher error messages to stderr * build: vaapi-x-egl is not used anywhere, remove it * build: vaapi-egl should explicitly depend on egl * build: vaapi-drm and vaapi-wayland do not depend on egl * ci/mingw: update luajit to fix i686 crashes * wayland: restore xkb_keysym_to_utf8 handling * build: internally rename gl-wayland to egl-wayland * waf: remove waf as a build system OBS-URL: https://build.opensuse.org/request/show/1101508 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=297
2023-07-31 13:56:12 +02:00
BuildRequires: pkgconfig(wayland-client) >= 1.20.0
BuildRequires: pkgconfig(wayland-cursor) >= 1.20.0
Accepting request 624568 from home:alois:branches:multimedia:apps - Update to version 0.29.0 * This release requires FFmpeg 4.0 or newer. Added features: * ao/openal: Add better sample format and channel layout selection * ao/openal: Add support for direct channels output * cocoa-cb: initial implementation via opengl-cb API * context_drm_egl: Introduce 30bpp support (requires Mesa 18.0.0_rc4 or later) * osx: add some more menu bar items as suggested by Apples's HIG * vo_gpu: make screenshots use the GL renderer (#5498, #5240) * x11: support Shift+TAB as an input key bind (#5849) * ytdl_hook: support native dash demuxer, if present Changed features * ao_alsa, ao_pulse: reduce requested buffer size * audio: change format negotiation, remove channel remix fudging * client API: deprecate opengl-cb API and introduce a replacement API * demux: lower demuxer cache default sizes from 400MB/400MB to 50MB/150MB * osx: always deactivate the early opengl flush on macOS * scripting: change when/how player waits for scripts being loaded * vo_gpu: various improvements to HDR peak detection * vo_gpu: various improvements to HDR tone mapping * wayland_common: update to stable xdg-shell * ytdl_hook: parse youtube playlist urls to set start index if `--ytdl-raw-option=yes-playlist=` is specified Deprecated features: * af_lavrresample: deprecate this filter Removed features: * build: drop support for SDL1 (only applied to ao_sdl) Added options and commands: * add a number of --audio-resample-* options, which should from now on be used instead of --af-defaults=lavrresample: * ao/openal: --openal-direct-channels * command: add --osd-on-seek option defaulting to bar * command: add a change-list command (#5435) * options: add --http-proxy * options: add a builtin low-latency profile * vaapi: add option to select a non-default device path with --vaapi-device (#4320) * video: add option to reduce latency by 1 or 2 frames * vo_gpu: introduce --target-peak (#5521) Changed options and commands: * command: change cycle-value command behavior (#5772) * config: replace config dir lua-settings/ with dir script-opts/ * options: --lavfi-complex now requires uniquely named filter pads. * options: --ytdl is now always enabled, even for libmpv * options: make --deinterlace=yes always deinterlace (#5219) * options: slightly improve filter help output for lavfi bridge * vo: rename --vo=opengl-cb to --vo=libmpv Deprecated options and commands: * encoding: deprecate a bunch of obscure options (--ovoffset, --oaoffset, --ovfirst, --oafirst) * options: deprecate --vf-defaults and --af-defaults * osx: --gpu-context=cocoa with --gpu-api=opengl is now deprecated in favour of --vo=libmpv Removed options and commands: * command: remove an old compatibility hack that allowed CLI aliases to be set as property, deprecated in 0.26.0 * input: remove legacy command handling for MPlayer commands that were deprecated in 2013 * options: drop --opensles-sample-rate, as --audio-samplerate should be used if desired * options: drop deprecated --videotoolbox-format, --ff-aid, --ff-vid, --ff-sid, --ad-spdif-dtshd, --softvol options * options: remove --video-stereo-mode * options: remove deprecated ao/vo auto profiles * options: remove the following encoding options: --ocopyts (now the default, old timestamp handling is gone), --oneverdrop (now default), --oharddup (you need to use --vf=fps=VALUE), --ofps, --oautofps, --omaxfps Fixes and minor enhancements: * HIDRemote: fix volume buttons on macOS 10.13 (#5721) * TOOLS/autoload: Fix broken "disabled" option * TOOLS/autoload: be more robust with slow directory listings (#5618) * ao_sdl: fix default buffer size * build: add static libraries to libmpv.pc * build: bump waf to 2.0.9 (fixes Python 3.7 compatibility) * build: manually add standard library search paths for linking (#5791) * common: round all integer times to milliseconds * demux, player: fix playback of sparse video streams (w/ still images) * demux: support for some kinds of timed metadata (e.g. ICY) * demux_mkv: add V_AV1 identifier for AV1 * demux_mkv: support Meridian Lossless Packing in Matroska (#5923) * display additional metadata tags during video playback * drm_atomic: Fix memory leaks in drm_atomic_create * enable cache for FUSE filesystems on OpenBSD and FreeBSD * gpu: prefer 16bit floating point FBO formats to 16bit integer ones * hwdec_vaegl: Fix VAAPI EGL interop used with gpu-context=drm * input.conf: use exact value for [ binding, which does the inverse of ] * input: add a keybinding to toggle hardware decoding * input: minor additions to default key bindings (#973) * osc: fix accidentally skipping files when seeking with slider * player: fix strange behavior on edition switching * player: fix track autoselection of external files yet again * terminal-unix: stop trying to read when terminal disappears (#5842) * video: actually wait for last frame being rendered on EOF * video: fix --video-rotate in some cases * video: fix crash with vdpau when reinitializing rendering (#5447) * vo_gpu: fix anamorphic screenshots (#5619) * vo_vdpau: fix resizing and rotation problems - Refreshed mpv-make-ffmpeg-version-check-non-fatal.patch - Bumped waf to 2.0.9 - Enable wayland only for Tumbleweed due to version constraints OBS-URL: https://build.opensuse.org/request/show/624568 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=143
2018-07-23 08:56:04 +02:00
BuildRequires: pkgconfig(wayland-egl) >= 9.0.0
Accepting request 1101508 from home:llyyr:branches:multimedia:apps - Remove waf build: removed upstream - Make meson a hard requirement now - Bump libplacebo requirement to 6.292.0 for Tumbleweed - Add patch 0001-Revert-meson-bump-required-version-to-0.62.patch to lower meson requirement for Leap - Update to version 0.36.0+git.20230730.1bbc7a2c: * ao_sndio: use sio_flush() to improve controls responsiveness * draw_bmp: fix overflowing coordinates in mark_rcs * Revert "audio: add AOCONTROL_UPDATE_MEDIA_ROLE" * Revert "ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE" * meson: look for linux/input-event-codes.h with libwayland flags * version.py: fix build date * options: restore old default sub selection behavior * vo_gpu_next: fix assertion on wayland * vo_gpu_next: delay swapchain submit until flip_frame() * path-win: move state directory to %LOCALAPPDATA% * path-win: add subdirectory for cache * Revert "ci/msys2: double down on running meson through python3.11" * ad_spdif: fix segfault due to early deallocation * test: enhance libmpv test * player/video: check for track and decoder existence * video_writer: fix gamma for YUV screenshots * image_writer: log pixfmt conversion * encode_lavc: fix leak of codecpar * zimg: fix abort on subsampled input with odd heights * demux_mkv: add missing space to log msg * build: remove unneeded libdl requirement for vaapi * build: refactor vaapi handling * ci/mingw: reduce git clone depth to 1 * ci/mingw: use ccache * ci/mingw: disable fail-fast * ci/mingw: check if binary is runnable before packaging * language-posix: as a fallback, treat "C" as "en" * msg: print MSGL_WARN and higher error messages to stderr * build: vaapi-x-egl is not used anywhere, remove it * build: vaapi-egl should explicitly depend on egl * build: vaapi-drm and vaapi-wayland do not depend on egl * ci/mingw: update luajit to fix i686 crashes * wayland: restore xkb_keysym_to_utf8 handling * build: internally rename gl-wayland to egl-wayland * waf: remove waf as a build system OBS-URL: https://build.opensuse.org/request/show/1101508 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=297
2023-07-31 13:56:12 +02:00
BuildRequires: pkgconfig(wayland-protocols) >= 1.25
Accepting request 624568 from home:alois:branches:multimedia:apps - Update to version 0.29.0 * This release requires FFmpeg 4.0 or newer. Added features: * ao/openal: Add better sample format and channel layout selection * ao/openal: Add support for direct channels output * cocoa-cb: initial implementation via opengl-cb API * context_drm_egl: Introduce 30bpp support (requires Mesa 18.0.0_rc4 or later) * osx: add some more menu bar items as suggested by Apples's HIG * vo_gpu: make screenshots use the GL renderer (#5498, #5240) * x11: support Shift+TAB as an input key bind (#5849) * ytdl_hook: support native dash demuxer, if present Changed features * ao_alsa, ao_pulse: reduce requested buffer size * audio: change format negotiation, remove channel remix fudging * client API: deprecate opengl-cb API and introduce a replacement API * demux: lower demuxer cache default sizes from 400MB/400MB to 50MB/150MB * osx: always deactivate the early opengl flush on macOS * scripting: change when/how player waits for scripts being loaded * vo_gpu: various improvements to HDR peak detection * vo_gpu: various improvements to HDR tone mapping * wayland_common: update to stable xdg-shell * ytdl_hook: parse youtube playlist urls to set start index if `--ytdl-raw-option=yes-playlist=` is specified Deprecated features: * af_lavrresample: deprecate this filter Removed features: * build: drop support for SDL1 (only applied to ao_sdl) Added options and commands: * add a number of --audio-resample-* options, which should from now on be used instead of --af-defaults=lavrresample: * ao/openal: --openal-direct-channels * command: add --osd-on-seek option defaulting to bar * command: add a change-list command (#5435) * options: add --http-proxy * options: add a builtin low-latency profile * vaapi: add option to select a non-default device path with --vaapi-device (#4320) * video: add option to reduce latency by 1 or 2 frames * vo_gpu: introduce --target-peak (#5521) Changed options and commands: * command: change cycle-value command behavior (#5772) * config: replace config dir lua-settings/ with dir script-opts/ * options: --lavfi-complex now requires uniquely named filter pads. * options: --ytdl is now always enabled, even for libmpv * options: make --deinterlace=yes always deinterlace (#5219) * options: slightly improve filter help output for lavfi bridge * vo: rename --vo=opengl-cb to --vo=libmpv Deprecated options and commands: * encoding: deprecate a bunch of obscure options (--ovoffset, --oaoffset, --ovfirst, --oafirst) * options: deprecate --vf-defaults and --af-defaults * osx: --gpu-context=cocoa with --gpu-api=opengl is now deprecated in favour of --vo=libmpv Removed options and commands: * command: remove an old compatibility hack that allowed CLI aliases to be set as property, deprecated in 0.26.0 * input: remove legacy command handling for MPlayer commands that were deprecated in 2013 * options: drop --opensles-sample-rate, as --audio-samplerate should be used if desired * options: drop deprecated --videotoolbox-format, --ff-aid, --ff-vid, --ff-sid, --ad-spdif-dtshd, --softvol options * options: remove --video-stereo-mode * options: remove deprecated ao/vo auto profiles * options: remove the following encoding options: --ocopyts (now the default, old timestamp handling is gone), --oneverdrop (now default), --oharddup (you need to use --vf=fps=VALUE), --ofps, --oautofps, --omaxfps Fixes and minor enhancements: * HIDRemote: fix volume buttons on macOS 10.13 (#5721) * TOOLS/autoload: Fix broken "disabled" option * TOOLS/autoload: be more robust with slow directory listings (#5618) * ao_sdl: fix default buffer size * build: add static libraries to libmpv.pc * build: bump waf to 2.0.9 (fixes Python 3.7 compatibility) * build: manually add standard library search paths for linking (#5791) * common: round all integer times to milliseconds * demux, player: fix playback of sparse video streams (w/ still images) * demux: support for some kinds of timed metadata (e.g. ICY) * demux_mkv: add V_AV1 identifier for AV1 * demux_mkv: support Meridian Lossless Packing in Matroska (#5923) * display additional metadata tags during video playback * drm_atomic: Fix memory leaks in drm_atomic_create * enable cache for FUSE filesystems on OpenBSD and FreeBSD * gpu: prefer 16bit floating point FBO formats to 16bit integer ones * hwdec_vaegl: Fix VAAPI EGL interop used with gpu-context=drm * input.conf: use exact value for [ binding, which does the inverse of ] * input: add a keybinding to toggle hardware decoding * input: minor additions to default key bindings (#973) * osc: fix accidentally skipping files when seeking with slider * player: fix strange behavior on edition switching * player: fix track autoselection of external files yet again * terminal-unix: stop trying to read when terminal disappears (#5842) * video: actually wait for last frame being rendered on EOF * video: fix --video-rotate in some cases * video: fix crash with vdpau when reinitializing rendering (#5447) * vo_gpu: fix anamorphic screenshots (#5619) * vo_vdpau: fix resizing and rotation problems - Refreshed mpv-make-ffmpeg-version-check-non-fatal.patch - Bumped waf to 2.0.9 - Enable wayland only for Tumbleweed due to version constraints OBS-URL: https://build.opensuse.org/request/show/624568 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=143
2018-07-23 08:56:04 +02:00
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server)
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
Accepting request 1101508 from home:llyyr:branches:multimedia:apps - Remove waf build: removed upstream - Make meson a hard requirement now - Bump libplacebo requirement to 6.292.0 for Tumbleweed - Add patch 0001-Revert-meson-bump-required-version-to-0.62.patch to lower meson requirement for Leap - Update to version 0.36.0+git.20230730.1bbc7a2c: * ao_sndio: use sio_flush() to improve controls responsiveness * draw_bmp: fix overflowing coordinates in mark_rcs * Revert "audio: add AOCONTROL_UPDATE_MEDIA_ROLE" * Revert "ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE" * meson: look for linux/input-event-codes.h with libwayland flags * version.py: fix build date * options: restore old default sub selection behavior * vo_gpu_next: fix assertion on wayland * vo_gpu_next: delay swapchain submit until flip_frame() * path-win: move state directory to %LOCALAPPDATA% * path-win: add subdirectory for cache * Revert "ci/msys2: double down on running meson through python3.11" * ad_spdif: fix segfault due to early deallocation * test: enhance libmpv test * player/video: check for track and decoder existence * video_writer: fix gamma for YUV screenshots * image_writer: log pixfmt conversion * encode_lavc: fix leak of codecpar * zimg: fix abort on subsampled input with odd heights * demux_mkv: add missing space to log msg * build: remove unneeded libdl requirement for vaapi * build: refactor vaapi handling * ci/mingw: reduce git clone depth to 1 * ci/mingw: use ccache * ci/mingw: disable fail-fast * ci/mingw: check if binary is runnable before packaging * language-posix: as a fallback, treat "C" as "en" * msg: print MSGL_WARN and higher error messages to stderr * build: vaapi-x-egl is not used anywhere, remove it * build: vaapi-egl should explicitly depend on egl * build: vaapi-drm and vaapi-wayland do not depend on egl * ci/mingw: update luajit to fix i686 crashes * wayland: restore xkb_keysym_to_utf8 handling * build: internally rename gl-wayland to egl-wayland * waf: remove waf as a build system OBS-URL: https://build.opensuse.org/request/show/1101508 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=297
2023-07-31 13:56:12 +02:00
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.48
%endif
# JIT for lua.
%ifarch aarch64 %{ix86} x86_64
BuildRequires: pkgconfig(luajit)
%else
BuildRequires: pkgconfig(lua5.1)
%endif
%description
mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
of video file formats, audio and video codecs, and subtitle types.
%package bash-completion
Summary: Bash Completion for %{name}
Group: Productivity/Multimedia/Video/Players
Requires: %{name} = %{version}
Requires: bash-completion
Recommends: xrandr
Supplements: (mpv and bash)
BuildArch: noarch
%description bash-completion
Bash command line completion support for %{name}.
%package zsh-completion
Summary: ZSH Completion for %{name}
Group: Productivity/Multimedia/Video/Players
Requires: %{name} = %{version}
Supplements: (mpv and zsh)
BuildArch: noarch
%description zsh-completion
ZSH command line completion support for %{name}.
%package devel
Summary: A library to link together with mpv player
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
%description devel
mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
of video file formats, audio and video codecs, and subtitle types.
This package contains all the development files.
%package -n %{lname}
Summary: A library to link together with mpv player
Group: System/Libraries
%description -n %{lname}
mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
of video file formats, audio and video codecs, and subtitle types.
This package contains a library that can other apps use to utilize the mpv
features.
%prep
%setup -q
%patch0 -p1
Accepting request 1101508 from home:llyyr:branches:multimedia:apps - Remove waf build: removed upstream - Make meson a hard requirement now - Bump libplacebo requirement to 6.292.0 for Tumbleweed - Add patch 0001-Revert-meson-bump-required-version-to-0.62.patch to lower meson requirement for Leap - Update to version 0.36.0+git.20230730.1bbc7a2c: * ao_sndio: use sio_flush() to improve controls responsiveness * draw_bmp: fix overflowing coordinates in mark_rcs * Revert "audio: add AOCONTROL_UPDATE_MEDIA_ROLE" * Revert "ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE" * meson: look for linux/input-event-codes.h with libwayland flags * version.py: fix build date * options: restore old default sub selection behavior * vo_gpu_next: fix assertion on wayland * vo_gpu_next: delay swapchain submit until flip_frame() * path-win: move state directory to %LOCALAPPDATA% * path-win: add subdirectory for cache * Revert "ci/msys2: double down on running meson through python3.11" * ad_spdif: fix segfault due to early deallocation * test: enhance libmpv test * player/video: check for track and decoder existence * video_writer: fix gamma for YUV screenshots * image_writer: log pixfmt conversion * encode_lavc: fix leak of codecpar * zimg: fix abort on subsampled input with odd heights * demux_mkv: add missing space to log msg * build: remove unneeded libdl requirement for vaapi * build: refactor vaapi handling * ci/mingw: reduce git clone depth to 1 * ci/mingw: use ccache * ci/mingw: disable fail-fast * ci/mingw: check if binary is runnable before packaging * language-posix: as a fallback, treat "C" as "en" * msg: print MSGL_WARN and higher error messages to stderr * build: vaapi-x-egl is not used anywhere, remove it * build: vaapi-egl should explicitly depend on egl * build: vaapi-drm and vaapi-wayland do not depend on egl * ci/mingw: update luajit to fix i686 crashes * wayland: restore xkb_keysym_to_utf8 handling * build: internally rename gl-wayland to egl-wayland * waf: remove waf as a build system OBS-URL: https://build.opensuse.org/request/show/1101508 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=297
2023-07-31 13:56:12 +02:00
%patch1 -p1
# I hate UNKNOWN so lets put decent info there.
MODIFIED="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE2}")"
DATE="$(date -d "$MODIFIED" "+%%b %%e %%Y")"
sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{version}\"|g" common/version.c
%build
# We don't want to rebuild all the time.
myopts=" -Dbuild-date=false"
# Disable pipwire for Leap because of build error
%if 0%{?suse_version} <= 1500
myopts+=" -Dpipewire=disabled"
%endif
- Update to version 0.35.1+git.20230714.1f683401: * vo_dmabuf_wayland: error out if compositor doesn't support the format * build: make dmabuf-wayland a build option and require drm * console: sort the output from the `help` command * player: delete watch later redirect entries again * wayland: use xdg_surface_set_window_geometry * Revert "wayland_gl: wait until resize to create egl_window" * vo_dmabuf_wayland: guard in destroy_osd_buffers * vo_dmabuf_wayland: stop lazy loading hwdec * vo_dmabuf_wayland: don't try to get pts without frame->current * draw_bmp: ensure last slice is less than total width (again) * vo_dmabuf_wayland: add osd support * vo_dmabuf_wayland: init wl_list at the top of preinit * vo_dmabuf_wayland: stop guarding viewport interfaces * video/image_writer: check for write errors * video/image_writer: fix file leak in error path * wscript: add 1.32 protocols to sources * stats.lua: set sans-serif as default font * wayland: add xdg_toplevel.wm_capabilities handler * wayland: add support for suspended toplevel state * wayland: add cursor-shape-v1 support * vd_lavc: fix delay_queue for videos with frames < max_delay_queue * vd_lavc: prefer d3d11va-copy over dxva2-copy * vo_wlshm: bail out of resize if width/height is 0 * wayland: fix memory leak with multiple monitors * player: delete watch_later file after successful load * json: unify json_parse depth to MAX_JSON_DEPTH=50 * terminal-unix: better error detection logic * TOOLS/idet: fix some outdated cli syntax * demux_playlist: sort files before directories OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=294
2023-07-14 19:13:14 +02:00
# Needs libavutil >= 58.11.100 (unreleased as of 2023-07-14)
myopts+=" -Dvulkan-interop=disabled"
%meson \
-Dlibmpv=true \
-Dmanpage-build=enabled \
-Dcdda=enabled \
-Ddvbin=enabled \
-Ddvdnav=enabled \
-Dopenal=enabled \
-Dandroid-media-ndk=disabled \
-Daudiounit=disabled \
-Dcocoa=disabled \
-Dcoreaudio=disabled \
-Dd3d-hwaccel=disabled \
-Dd3d11=disabled \
-Dd3d9-hwaccel=disabled \
-Ddirect3d=disabled \
-Degl-android=disabled \
-Degl-angle-lib=disabled \
-Degl-angle-win32=disabled \
-Degl-angle=disabled \
-Dgl-cocoa=disabled \
-Dgl-dxinterop-d3d9=disabled \
-Dgl-dxinterop=disabled \
-Dgl-win32=disabled \
-Dios-gl=disabled \
-Dmacos-10-11-features=disabled \
-Dmacos-10-12-2-features=disabled \
-Dmacos-10-14-features=disabled \
-Dmacos-cocoa-cb=disabled \
-Dmacos-media-player=disabled \
-Dmacos-touchbar=disabled \
-Dopensles=disabled \
-Doss-audio=disabled \
-Drpi-mmal=disabled \
-Dsdl2-audio=disabled \
-Dsdl2-gamepad=disabled \
-Dsdl2-video=disabled \
-Dsndio=disabled \
-Dspirv-cross=disabled \
-Dswift-build=disabled \
-Dvideotoolbox-gl=disabled \
-Dwasapi=disabled \
-Dwin32-internal-pthreads=disabled \
${myopts}
%meson_build
%install
%meson_install
install -dm755 %{buildroot}%{_defaultdocdir}
mv %{buildroot}%{_datadir}/doc/mpv %{buildroot}%{_defaultdocdir}/%{name}
install -D -m 0644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf
install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf
# remove shebang
sed -i -e '1d' %{buildroot}%{_datadir}/bash-completion/completions/mpv
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files
Accepting request 599616 from home:alois:branches:multimedia:apps - Update to version 0.28.2 Added features: * Add DRM_PRIME Format Handling and Display for RockChip MPP decoders * csputils: Add support for Display P3 primaries * demux: support multiple seekable cached ranges, display cache ranges on OSC * demux_playlist: support .url files (#5107) * dvb: Add multiple frontends support (up to 8) * dvb: implement parsing of modulation for VDR-style channels config * hwdec: add mediacodec hardware decoder for IMGFMT_MEDIACODEC frames, * rename mediacodec to mediacodec-copy * lua: integrate stats.lua script (bound to i/I by default) * vd_lavc: add support for nvdec hwaccel * vo_gpu: add android opengl backend * vo_gpu: initial d3d11 support * vo_gpu: vulkan support Removed features: * af: remove deprecated audio filters (channels, equalizer, pan, volume; * replacements in lavfi) * vf: remove most GPL video filters (crop, dsize, expand, flip, gradfun, mirror, * noformat, pullup, rotate, scale, stereo3d, yadif; replacements in lavfi) * vf_buffer: remove this filter * video: remove automatic stereo3d filter insertion * vo_gpu: remove hwdec_vaglx interop * vo_opengl: refactor into vo_gpu * vo_wayland: remove Added options and commands: * demux: add option to create CC tracks eagerly (--sub-create-cc-track) * options: add --start=none to reset previously set start time * options: add --vlang switch Changed options and commands: * cache: lower default size to 2*10MB * demux: bump the demuxer cache readahead duration to 10 hours * demux: use seekable cache for network by default, bump prefetch limit * msg: make --msg-level affect --log-file too * player/misc.c: allow both --length and --end to control play endpoint * player: match subtitles with language tags with --sub-auto=exact * rename --opengl-hwdec-interop to --gpu-hwdec-interop (now mostly useless) * vd_lavc: prefer nvdec over vdpau with --hwdec=auto (better codec and surface * format support) * vd_lavc: rename --hwdec=rpi to --hwdec=mmal Removed options and commands: * options: remove --heartbeat-cmd and --heartbeat-interval * (incidentally fixes #4888) Fixes and Minor Enhancements * TOOLS/autoload.lua: add ogm, ogg and opus extensions * Use /dev/tty instead of stdin for terminal input (#4190) * audio: add audio softvol processing to AO (replaces previously GPL’d code) * audio: fix channel conversion with NA channels (e.g. with ALSA) * audio: fix missing volume update on init and reinit * csputils: Fix DCI P3 primaries white point * demux: don't allow subtitles to mess up buffered time display * demux: fix .cue files with audio files that contain attached pictures * demux: fix accounting for seekable ranges on track switches (fixes missing * audio when cycling through audio tracks with e.g. EDL, --merge-files, ordered * chapters and youtube-dl pseudo DASH) * demux: fix crash with cue/ordered chapter files (#5027) * demux: speed up cache seeking with a coarse index * demux_lavf: always give libavformat the filename when probing * (helps with mp3 files) * demux_mkv: add V_SNOW tag to mkv_video_tags * dvb: Fix long channel switching: next/prev channel * dvb: fixes for ATSC tuning * lavc_conv: clamp timestamps to positive (#5047) * mp_image: always copy color attributes on hw download (#4804) * mp_image: select an explicit fallback for chroma location (#4804) * msg: bump log level of --log-file to -v -v * msg: reinterpret a bunch of message levels * osc: fix rare stack overflow when changing visibility mode * osdep/io: add android-related bullshit to fix files >2 GiB * player/playloop.c: respect playback start time when using --loop-file * player: allow seeking in cached parts of unseekable streams * player: make track language matching case insensitive (#5272) * player: use start timestamp for ab-looping if --ab-loop-a is absent * player: when loading external file, always add all track types (#5132) * restore-old-bindings.conf: add old macOS/Wayland AXIS bindings * screenshot: create directories from template * scripting: report dlerror() output * sd_ass: accept RFC8081 font media types * sd_ass: accept otc as fallback OpenType collection file extension * stream_libarchive: work around various types of locale braindeath * (https://git.io/vbiFJ) * subprocess-win: don't change the mouse cursor when creating processes * video: add a hack to avoid missing subtitles with vf_sub (#5194) * video: fix alpha handling (#4983) * video: fix memory leaks (roughly 1 KB per decoded frame) with hwdec copy modes * video: fix rotation and deinterlace auto filters * video: properly pass through ICC data * vo: add support for externally driven renderloop and make wayland use it * (partially fixes display-sync under wayland; disables rendering when window * is invisible) * vo_gpu: change --tone-mapping-desaturate algorithm * vo_gpu: enable 3DLUTs in dumb mode * vo_gpu: fix gamma scale * vo_gpu: fix mobius tone mapping compatibility to GLSL 120 (#5069) * vo_gpu: fix video sometimes not being rerendered on equalizer change * vo_gpu: kill off FBOTEX_FUZZY (#1814) * vo_gpu: opengl: fix possible screenshot window crash (#4905) * vo_gpu: opengl: use GLX_MESA_swap_control where available * vo_gpu: reduce the --alpha=blend-tiles checkerboard intensity * vo_gpu: win: remove exclusive-fullscreen detection hack * vo_lavc: remove messy delayed subtitle rendering logic (#4689) * wayland_common: implement output tracking, many cleanups and bugfixes (#4711) * ytdl_hook: don't prepend ytdl:// to non-youtube links in playlists (#5003) - Refreshed mpv-make-ffmpeg-version-check-non-fatal.patch - Dropped mpv-vaapi2.patch (no longer necessary) OBS-URL: https://build.opensuse.org/request/show/599616 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=139
2018-04-21 21:37:40 +02:00
%license LICENSE.GPL
%doc Copyright README.md RELEASE_NOTES
%doc %{_defaultdocdir}/%{name}/input.conf
%doc %{_defaultdocdir}/%{name}/mplayer-input.conf
%doc %{_defaultdocdir}/%{name}/mpv.conf
%doc %{_defaultdocdir}/%{name}/restore-old-bindings.conf
%dir %{_sysconfdir}/%{name}/
%ghost %dir %{_sysconfdir}/%{name}/scripts/
%config %{_sysconfdir}/%{name}/encoding-profiles.conf
%config %{_sysconfdir}/%{name}/input.conf
%config %{_sysconfdir}/%{name}/mpv.conf
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor
Accepting request 1035630 from home:ecsos - Update to version 0.35+git.20221112.2f747341: * Update VERSION * Release 0.35.0 * meson: fix macos-touchbar check * github/workflows: force deletion of existing upstream python symlinks on macOS * vo_gpu_next: add tunable shader parameters * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings * wayland, x11: fix possibly unsafe bstr usage * ao_pipewire: reload ao on stream disconnect * ao_pipewire: explicitly remove stream hook * ao_pipewire: log generic stream errors * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" * vo_dmabuf_wayland: improve error handling exporting VA surface * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded * github/workflows: remove seccomp disablement * github/workflows: bump linux jobs to Ubuntu 22.04 base VM * github/workflows: move all build jobs to checkout V3 * github/workflows: remove xcode 13.0 to xcode 13.1 override * github/workflows: remove macOS 10.15 image usage * sd_ass: never mangle colours on RGB video * meson: move dmabuf-wayland specific files under the right check * gpu/context: properly guard wldmabuf context * console: add history deduplication * github/workflows: remove pip usage in mingw CI * vo_gpu_next: set background transparency * ci: upload resulting binary of mingw64 build * ci/mingw64: refresh build scripts * ytdl_hook: reverse order of tracks * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags * wayland_common: always zero out presentation context when destroying it * wayland: correct braindead comment (no-op) * wayland: hack around presentation_feedback weirdness * wayland: free dmabuf_feedback object * test: update to reflect that Vulkan is a generic format again * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now * build: add an additional check for wayland-protocols 1.24 * meson: add more hardcoded values to configuration * meson: use 'dl' instead of 'libdl' in find_library * ci: use meson setup build instead of meson build * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions * options: log profile name if there is no restore data * console: respect the top margin shared script property * vo_dmabuf_wayland: use special ra_ctx_create_by_name * vo_dmabuf_wayland: load all hwdecs in preinit * wayland: always do a display_roundtrip at the end of init * github/workflows: print error logs on freebsd * ci/build-freebsd.sh: remove nonexistent option * vo_dmabuf_wayland: fix DRM builds with no VAAPI * video/out/wayland_common: adjust decoration disagreement log level * video/out/wayland_common: clear decoration request even if compositor disagrees * video/out/wayland_common: don't pass a negative of border flag into ternary * video/out/wayland_common: make decoration state usage explicit * ao_pipewire: compatibility for libpipewire 0.3.19 * ci: require pipewire to be enabled for Tumbleweed Linux builds * wayland: bump dmabuf protocol to version 4 * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers * wayland: clean wp_presentation_feedback in discard callback to avoid leak * build_image_converter - use full image format list to create hw_upload * mp_imgfmt: move DRMPRIME format to end of enum * DOCS: document E to cycle through Editions * ao: promote ao_pipewire * ao_pipewire: test for session to contain audio sinks * ao_pipewire: init_boilerplate(): simplify errorhandling * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units * vo_gpu/hwdec: add NULL check for legacy_name * hwdec_aimagereader: fix incorrect return values * demux_mkv: add AVS2 and AVS3 to tag list * wscript: remove some bogus configure options * demux_mf: add support for QOI, PHM and HDR images * f_hwtransfer: allow hw uploads to implicitly convert formats * f_hwtransfer: accept non-power-of-2 hw uploads * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling * f_hwtransfer: get rid of the shit list * hwdec/vaapi: improve probing of supported sw formats * vo_gpu_next: fix crash on uninit after startup failure * sd_ass: improve handling of subtitles with unknown duration * DOCS: fix minor typo with keep-open description * draw_bmp: fix out of bounds access in mark_rect * vo_gpu/hwdec: rename and introduce legacy names for some interops * x11: fix --on-all-workspaces option * vo_gpu_next: vulkan: libplacebo: unify log prefix * github/workflows: explicitly install Xinerama on FreeBSD * x11: fix a couple of memory leaks * ao_pipewire: allow specification of remote name * ao_pipewire: small cleanups and restructring * osc: scale rendered aspect ratio with window aspect ratio * wayland: correctly handle non-CLOCK_MONOTONIC clocks * vulkan: remove --vulkan-disable-events * vo: hwdec_aimagereader: add missing image format specifier * vo_gpu: hwdec: add Android hwdec utilizing AImageReader * DOCS: deprecate --gamma-factor and --gamma-auto * vo_gpu_next: respect --blend-subtitles=<yes/no> * ao_pipewire: don't try to lock nonexistent loop * ao_pipewire: use target.object * mp_image: strip DoVi metadata that requires an EL * manpage: document bt.2390 parameter * vo_gpu_next: fix screenshots of rotated sources * DOCS/man/vf.rst : replace the outdated syntax * vo_gpu_next: use static assert for array size * vo_gpu_next: update render_info for upstream API change * vo_gpu_next: implement --video-output-levels * TOOLS/lua/autoload: add various extra file extensions * TOOLS/lua/autoload: alphebatize auto-loaded file extensions * ytdl_hook: use subtitle `name` as title if available * af_scaletempo2: fix crash when the number of channels increases * build: update waf to 2.0.24 * f_hwtransfer: mp_image_pool: support HW -> HW mapping * f_autoconvert: f_hwtransfer: support HW -> HW uploads * filters: lavfi: allow hwdec_interop selection for filters * filters: support loading new hwdec_interops from filters * vo: hwdec: do hwdec interop lookup by image format * demux_lavf: extract is_image function * demux_lavf: detect avif images * DOCS/man/options.rst: replace some legacy single-hyphen syntax * vo_gpu_next: support error diffusion dithering * sub: use Unicode linebreaking for non-ASS subs and OSD * ao_audiounit: get the channel layout from the AU itself * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format * ytdl_hook: simplify exclude option parsing * vo_gpu_next: only require full pixel byte alignment * vo_gpu_next: implement ICC 3DLUT caching * vo_gpu_next: use correct pixel size when mapping formats * ao_pipewire: listen to hotplug events * ao_pipewire: use proper hotplug init APIs * ao_pipewire: create is_sink_node helper * audio: list devices for all AOs with hotplug_init * audio: try to use playback AO as hotplug AO first * ta: increase size of names printed * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE * audio: add AOCONTROL_UPDATE_MEDIA_ROLE * ao_pipewire: fix indent * repack: add repacker for ccc16x16 formats * mpv.metainfo.xml: add XDG appstream metadata manifest * DOCS: Mention "mono" audio channels option * DOCS/libmpv: fix typo in linkage section * w32: fix typo in F23 mapping * vo_gpu_next: fix typo affecting --target-trc option * macos: add support for F13-F20 keys * w32: add support for F13-F24 keys * x11: add support for F13-F24 keys * wayland: add support for F13-F24 keys * input: add function keys F13-F24 * ad_lavc: strip non-normalized floats * vo_gpu_next: display subtitles without video stream * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions * DOCS/mpv: remove spaces at EOL, ensure 80 cols * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL * ao_pipewire: for_each_sink(): report errors * meson: fix condition for enabling vaapi-egl * meson: fix libplacebo check * audio: fix lack of reinitialization on format change with pull AOs * player/audio: remove explicit drain on EOF * ao_pipewire: make sure not to exceed the available buffer * audio: don't try to drain non-existent AO * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo * ao_pipewire: test on FreeBSD * mpv.desktop: add RIST protocol to desktop entry * osxbundle: add RIST protocol support to app metadata * stream_lavf: enable RIST protocol support via ffmpeg * ao_pipewire: restructure logic a bit * ao_pipewire: only try to read requested data * ao_pipewire: report all available info about chunk * ytdl_hook: improve track detection * misc/random: add xoshiro random number implementation * meson: fix the build-date option * meson: fix building without gl * meson: consistently use feature['foo'] * meson: refactor generating config.h * meson: disable dvdnav by default * meson: reduce dictionary usage * meson: add comment clarifying windows-internal-pthreads * ytdl_hook: consistant behavior for single format * wayland: add support for configure bounds * x11: fix display-{width,height} calculation * DOCS/options: correct wayland-disable-vsync option * ytdl_hook: fix default track for single format * github/workflows: auto-update freebsd-vm within major version * drm_common: remove hard dependency on drmIsKMS() * context_drm_egl: skip page flip wait on error * gpu/hwdec: reorder `drmprime` below `drmprime_drm` * video/drmprime: fix use-after-free * hwdec/drmprime: fix build * hwdec/dmabuf_interop: Properly prefix `priv` struct * hwdec/drmprime: Fix small issues * audio: drain ao on EOF * hwdec/drmprime: add drmprime hwdec-interop * ao_pipewire: tell audio server about number of queued samples * man: remove unhelpful language * ao_pipewire: use mpv logging * hwdec/dmabuf_interop_gl: support basic multi-plane formats * hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs * hwdec/dmabuf_interop: refactor out hwdec_vaapi dependencies * hwdec/vaapi: rename interops to reflect more general use * af_rubberband: add new engine option in rubberband 3.0.0 * drm_common: skip cards that don't support KMS for autodetection * drm: avoid drmModeAtomicCommit races by blocking * video: remove unnecessary code * ytdl_hook: fix playlist index extraction * ci: bump macos runner version * wayland: add missing newline in wayland_common * hwdec_vaapi_pl: support simple multi-plane image formats * vo_gpu_next: fix screenshots on single-frame files * vo_gpu/d3d11: fix VRAM leak * osc.lua: add osc-tcspace script option * osc.lua: add osc-unicodeminus script option * vo_gpu_next: don't crash on !frame->current * ytdl_hook: always set HTTP headers * libplacebo: fix compatibility with libplacebo >= 5 * github/workflows: upgrade FreeBSD to 13.1 * vo_gpu: fix 3DLUT precision * ao_pipewire: prevent deprecation warning for pw_stream_get_time() * ao_pipewire: pipewire uses linear volume * ao_pipewire: don't access core after disconnect * ao_pipewire: zero listeners * ao_pipewire: support ao-volume on non-stereo channel layouts * DOCS/encoding: remove the legacy option syntax * drm_prime: fix newline in error message * meson: fix rst2html command * context_x11egl: remove supposed transparency fix * DOCS: fix typo * DOCS/osc: fix option "showidlescreen" -> "idlescreen" This option was added in mpv-player@ec236f7, but its name in the document description is incorrect * meson: add a summary at the end of configuration * vo_gpu_next: implement --cscale * swresample: don't forcibly clip on every conversion * js: key bindings: ensure priorities for same-key - again * x11: avoid XPresent API calls when it's not needed * lua: command_native_async: make the callback optional * lua: command_native_async: always callback a-sync * x11: add --x11-present option * x11: add nouveau to the xpresent whitelist * x11: correct provider detection logic * vo_vaapi_wayland: remove vaapi format query as formats are never used * meson: remove pointless d3d11 dictionary * x11: replace strcasestr usage with bstr * github/workflows: install libxpresent on freebsd * x11: support xorg present extension * x11: use xrandr providers for driver detection * vo: move wayland presentation to separate files * meson: use require when checking for vdpau * ci/build: Do not manually install Meson in openSUSE container * meson: rearrange library dependency order to avoid crash with fontconfig * vo_vaapi_wayland: only attach solid buffer once to main surface, on creation * vo_vaapi_wayland: remove unnecessary subsurface sync/desync in resize * ci/build-mingw64: enable test building * ci/build-mingw64: bump dependencies * ci/build-mingw64: switch to fossils directory for zlib * ci/build-tumbleweed: attempt to enable unit tests in CI * test/chmap: start adding AVChannelLayout unit tests * audio/chmap: add mp_iterate_builtin_layouts * f_lavfi: switch to AVChannelLayout when available * ad_lavc: switch to AVChannelLayout when available * af_lavcac3enc: switch to AVChannelLayout when available * af_lavcac3enc: refactor chmap adding into its own function * ao_lavc: switch to AVChannelLayout when available * demux_lavf: switch to AVChannelLayout when available * common/av_common: switch to AVChannelLayout when available * audio/aframe: switch to AVChannelLayout when available * audio: add AVChannelLayout helpers to convert from/to mp_chmap * wayland: set appid before initial surface commit * wayland_gl: fix a typo * wayland_gl: wait until resize to create egl_window * DOCS/options: fix incorrect labelling of hr-seek default * sub: jsre filter: abort init early on empty filter list * ci/mingw64: add git libplacebo for gpu-next * github/workflows: move mingw CI to ubuntu 22.04 * ci/mingw64: make meson crossfile global * wayland_gl: use wl->scaling when creating egl_window * wayland: rearrange initialization logic * player: add tiff/tif (TIFF) to list of image extensions * player: add jxl (JPEG XL) to list of image extensions * wayland: remove some unneeded lines from reconfig * vo_gpu_next: fix OSD rendering of screenshots * meson: add internal arg to wayland-protocols' get_variable() * osc.lua: add idlescreen and osc-idlescreen * video/out/dither: remove custom index_t typedef * wayland: force vo_vaapi_wayland scaling to 1 * DOCS/interface-changes: mention vaapi-wayland vo * vo: move allocate_memfd method to wayland_common * vo_vaapi_wayland/wayland_common: code style fixes * wayland: use mp_tag_str not drm_format_string * vo: allow vaapi_wayland and vaapi_x11 to coexist * wayland: don't depend on the order of global announcements * vo: add new vaapi-wayland driver * demux: stop iterating over demuxers as soon as a match is found * osc.lua: fix crash when calling osc-tracklist while idle * player: check for argv before printing help text * player: set EOF when seeking to end with keep-open * various: remove trailing whitespace * wayland: use wl_output v4 for display-names * lua: avoid rare memory leak in mp.join_path * client API: always export symbols on windows * stream_lavf: add support for ipfs and ipns * meson: compile mpv.exe as a win32 gui application * context_drm_egl: support monitor par * github/workflows: add macOS 12 build * video/image_writer: tag colorspace in AVCodecContext * DOCS/input: fix typo "NANME" -> "NAME" * console.lua: don't render a 2nd cursor on the OSC * video/image_writer: fix high-depth JPEG XL screenshots * build: add avcodec jpegxl dependency versions * demux: add support for r128 replaygain tags * DOCS/ao: remove only usage of git.io link shortening service * wayland: use wl_surface_damage_buffer * DOCS/options: properly capitalize JPEG XL * video/image_writer: add Jpeg XL screenshots * various: fix typos * vo_gpu_next: avoid 0x0 resizes * github/workflows: workaround git permissions error * DOCS/options: update the --load-osd-console documentation * DOCS/input: update the ASS tags documentation URL * options: make --cover-art-auto=exact the default * player: add cover-art-whitelist option * DOCS: fix the typo of --sub-justify * DOCS: correct --sub-shadow-color * DOCS/{mpv,options}: document the watch later functionality * vo_wlshm: use draw_frame instead of draw_image * mpv.desktop: add japanese translation * ci: switch Tumbleweed build to openSUSE container registry * vd_lavc: fixup unchecked usage of AV_CODEC_EXPORT_DATA_FILM_GRAIN * vd_lavc: fix decoder initialization when no VO is available * vd_lavc: remove duplicate vd_ffmpeg_ctx pointer from init_avctx * wayland: use wl_output v4 for --fs-screen-name * x11: avoid wasteful rendering when possible * player: rearrange video sync opts/enums/defines * wayland: unify visibility checking code * vo_gpu/d3d11: add message ID based log level mapping * vo_gpu/d3d11: mimic libplacebo backbuffer usage * vo_gpu/d3d11: enable receival of color depth without active backbuffer * vo_gpu/d3d11: add helper function to get ra_format from DXGI_FORMAT * vo_gpu_next: switch to unpooled hwdec mapping * x11: fix screen-name option * mpv.desktop: add turkish translation * options.lua: remove unused function * options: add osd-playing-msg-duration * egl_helpers: request at least 8 alpha bits if necessary * DOCS/input: mark chapter-list as writable * drm: context_drm_egl: add support for enabling VRR * vd_lavc: add vo caps and option to set GPU film grain application * vo_gpu_next: apply film grain if such metadata is present * vf_format: support forwarding/stripping film grain metadata * mp_image: support film grain parameters * vd_lavc: hide a deprecation warning in already handled compatible code * sub/osd: use atomic for osd_state.force_video_pts * osdep/atomic: add mp_atomic_double * Revert "vo_gpu_next: remove unnecessary dependency" * ao_pipewire: Do not hold thread lock during loop stop * ao_pipewire: fix resource lifetimes * vo_gpu_next: remove unnecessary dependency * lua: use correct chunkname when loading script files * vo_gpu[_next]: hwdec: fix logging regression when probing * common/av_log: explicitly include version.h for required libraries * vo_gpu_next: also include stride alignment in DR size * vulkan: correctly inherit proc_addr pointer * ao_sndio: fix parentheses warning * client API: also export mpv_stream_cb_add_ro * vo_gpu: hwdec_vaapi: Improve logging when probing surface formats * DOCS/options.rst DOCS/vo.rst: Update discussion of hwdec usage * vo_gpu_next: fix crash when disabling DR at runtime * vo_gpu_next: don't leak mpi on failed upload * vo_gpu_next: properly keep track of DR allocations * hwdec: warn on unsupported hwdec option value * vo_gpu_next: don't allocate dr_buf as part of the AVBufferRef * hwdec: fix out-of-date preprocessor variable name * ytdl_hook.lua: consider any subprocess status != 0 as error * vo_gpu_next: add D3D11 RA texture wrapping/unwrapping for hwdec * vo_gpu_next: add support for hardware decoding * manpage: add vo_gpu_next wiki link to manpage * vo_gpu_next: configure the VO queue size dynamically * vo_gpu_next: expose EGLDisplay to pl_gpu * vo_gpu: move hwdec loading code to common helper * hwdec: release images as soon as possible after mapping * hwdec_vaapi_vk: rename to vaapi_pl * hwdec_vaapi_gl: properly zero initialize priv struct * filters: Re-add vavpp deinterlacing auto-filter * ytdl_hook: fix url_is_safe to match URL protocols properly * vo_gpu_next: remove/simplify plane flipping hacks * vo_gpu_next: avoid rendering subtitles as HDR/wide gamut * mp_image: fix mp_image_plane_w/h * stats.lua: page 2 - frame timing: use fixed display order * stats.lua: graphs: fix bad rendering due to division by 0 * vo_gpu_next: refactor subtitle rendering * options: add always to stop-screensaver * DOCS/input: document subprocess more clearly * DOCS/input: fix typo * vo_gpu: hwdec: load hwdec interops on-demand by default * ao_pipewire: fix ao-volume handling * vo_gpu_next: don't crash on negative plane strides * vo_gpu: d3d11_helpers: don't create UNORDERED_ACCESS backbuffers in Win7 * meson: remove horrifying macos luajit hack * github/workflows: use lua 5.1 on macos * DOCS/mpv: improve vf=rotate examples * wayland: partially fix drag and drop handling * ao_pipewire: validate pod creation * ao_pipewire: add support for device selection * vo_gpu_next/context: get graphics API-specific contexts from pl_gpu * vf_format: simplify frame type checking after addition of DoVi option * vo_gpu: hwdec_vaapi: Don't probe formats for irrelevant endpoints * ci/appveyor: fix package install line * osc.lua: seekbar hover: speed-up chapter access * js: utils.get_user_path: make wrapper of expand-path - Change source from cpio/tar to tar.xz to reduce the source code size by a factor of 4. - Update waf to version 2.0.24 - Set rubberband to version 3.0.0 which is need for optional dependencies. - Remove --enable-pipewire because it is now autodetected. You can now only disable. - Disable pipwire under Leap because of build error. - Enable openal, sixel. - Enable mujs for Leap >= 15.4. - Enable wayland for Leap >= 15.4. - If libavif is installed default at build time it must have version >= 0.11.1 - Fix rpmlint filename-too-long-for-joliet. OBS-URL: https://build.opensuse.org/request/show/1035630 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=277
2022-11-19 01:49:04 +01:00
%{_datadir}/metainfo/mpv.metainfo.xml
%{_mandir}/man?/%{name}.?%{?ext_man}
%files zsh-completion
%{_datadir}/zsh/site-functions/_mpv
%files bash-completion
%{_datadir}/bash-completion/completions/mpv
%files -n %{lname}
%{_libdir}/*.so.*
%files devel
%{_includedir}/%{name}/
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog