From d1c7d930cf4c7e52a596bbcd515682f945d406a4ed140a1fbe9ada98bac94936 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 00:49:04 +0000 Subject: [PATCH 1/8] 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= * 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 --- .gitattributes | 2 +- _service | 20 +- _servicedata | 2 +- ...4.1+git.20220203T182214.5d31c7310c.obscpio | 3 - mpv-0.35+git.20221112.2f747341.tar.xz | 3 + mpv.changes | 419 ++++++++++++++++++ mpv.obsinfo | 4 - mpv.spec | 36 +- waf-2.0.23 | 3 - waf-2.0.24 | 3 + 10 files changed, 464 insertions(+), 31 deletions(-) delete mode 100644 mpv-0.34.1+git.20220203T182214.5d31c7310c.obscpio create mode 100644 mpv-0.35+git.20221112.2f747341.tar.xz delete mode 100644 mpv.obsinfo delete mode 100644 waf-2.0.23 create mode 100644 waf-2.0.24 diff --git a/.gitattributes b/.gitattributes index a8fed13..a205343 100644 --- a/.gitattributes +++ b/.gitattributes @@ -22,4 +22,4 @@ *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text ## Specific LFS patterns -waf-2.0.23 filter=lfs diff=lfs merge=lfs -text +waf-2.0.24 filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service index 707c2dc..0f331d3 100644 --- a/_service +++ b/_service @@ -1,14 +1,24 @@ + + + https://github.com/mpv-player/mpv.git git mpv - 5d31c7310c02767e35bfd82d1cc635427518a298 - 0.34.1+git - %ci.%h + master + 0.35+git + %cd.%h enable - - + + + + *.tar + xz + + diff --git a/_servicedata b/_servicedata index 3d23650..1dd5b26 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/mpv-player/mpv.git - 5d31c7310c02767e35bfd82d1cc635427518a298 \ No newline at end of file + 2f747341f99d9f8697303be01c67ae3b3437cd18 \ No newline at end of file diff --git a/mpv-0.34.1+git.20220203T182214.5d31c7310c.obscpio b/mpv-0.34.1+git.20220203T182214.5d31c7310c.obscpio deleted file mode 100644 index 62ac79d..0000000 --- a/mpv-0.34.1+git.20220203T182214.5d31c7310c.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6c33ee77477de50652c6eefaeac503968290ba3856683c510212b3925103128 -size 9644045 diff --git a/mpv-0.35+git.20221112.2f747341.tar.xz b/mpv-0.35+git.20221112.2f747341.tar.xz new file mode 100644 index 0000000..ae42542 --- /dev/null +++ b/mpv-0.35+git.20221112.2f747341.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb8bc660850b10a96234094458444acd6fcb38ccd27ca9f5e5d80c26cbcf281c +size 2337856 diff --git a/mpv.changes b/mpv.changes index 283d029..12bdb0c 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,422 @@ +------------------------------------------------------------------- +Sun Nov 13 10:23:53 UTC 2022 - ecsos@opensuse.org + +- 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= + * 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. + ------------------------------------------------------------------- Tue Jun 7 14:16:40 UTC 2022 - Dominique Leuenberger diff --git a/mpv.obsinfo b/mpv.obsinfo deleted file mode 100644 index af9649d..0000000 --- a/mpv.obsinfo +++ /dev/null @@ -1,4 +0,0 @@ -name: mpv -version: 0.34.1+git.20220203T182214.5d31c7310c -mtime: 1643908934 -commit: 5d31c7310c02767e35bfd82d1cc635427518a298 diff --git a/mpv.spec b/mpv.spec index 9251db6..167e9f5 100644 --- a/mpv.spec +++ b/mpv.spec @@ -19,16 +19,16 @@ # -%define _waf_ver 2.0.23 +%define _waf_ver 2.0.24 %define lname libmpv2 Name: mpv -Version: 0.34.1+git.20220203T182214.5d31c7310c +Version: 0.35+git.20221112.2f747341 Release: 0 Summary: Advanced general-purpose multimedia player License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Players URL: http://mpv.io -Source: %{name}-%{version}.tar +Source: %{name}-%{version}.tar.xz Source1: https://waf.io/waf-%{_waf_ver} Source2: %{name}.changes # PATCH-FIX-OPENSUSE do not require equal libav versions, obs rebuilds as needed @@ -49,7 +49,7 @@ BuildRequires: pkgconfig(dri) BuildRequires: pkgconfig(dvdnav) >= 4.2.0 BuildRequires: pkgconfig(egl) >= 1.4 BuildRequires: pkgconfig(ffnvcodec) >= 8.2.15.7 -BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(gbm) >= 17.1.0 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(lcms2) >= 2.6 @@ -58,8 +58,14 @@ BuildRequires: pkgconfig(libass) >= 0.12.2 BuildRequires: pkgconfig(libavcodec) >= 58.12.100 BuildRequires: pkgconfig(libavdevice) >= 57.0.0 BuildRequires: pkgconfig(libavfilter) >= 7.14.100 +%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 +%endif BuildRequires: pkgconfig(libbluray) >= 0.3.0 BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcdio_cdda) @@ -74,10 +80,12 @@ BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libva) >= 1.1.0 BuildRequires: pkgconfig(libva-x11) >= 1.1.0 BuildRequires: pkgconfig(lua5.1) +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) -BuildRequires: pkgconfig(rubberband) >= 1.8.0 +BuildRequires: pkgconfig(libsixel) >= 1.5 +BuildRequires: pkgconfig(rubberband) >= 3.0.0 BuildRequires: pkgconfig(uchardet) BuildRequires: pkgconfig(vapoursynth) >= 24 BuildRequires: pkgconfig(vapoursynth-script) >= 23 @@ -85,6 +93,7 @@ BuildRequires: pkgconfig(vdpau) >= 0.2 BuildRequires: pkgconfig(xext) >= 1.0.0 BuildRequires: pkgconfig(xinerama) >= 1.0.0 BuildRequires: pkgconfig(xkbcommon) >= 0.3.0 +BuildRequires: pkgconfig(xpresent) >= 1.0.0 BuildRequires: pkgconfig(xrandr) >= 1.2.0 BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xv) @@ -105,10 +114,9 @@ Obsoletes: mplayer2 < 20140101 %if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 BuildRequires: pkgconfig(libplacebo) >= 4.157 %endif -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150400 +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 BuildRequires: pkgconfig(mujs) %endif -%if 0%{?suse_version} > 1500 BuildRequires: pkgconfig(libva-wayland) >= 1.1.0 BuildRequires: pkgconfig(vulkan) >= 1.0.61 BuildRequires: pkgconfig(wayland-client) >= 1.15.0 @@ -117,9 +125,8 @@ BuildRequires: pkgconfig(wayland-egl) >= 9.0.0 BuildRequires: pkgconfig(wayland-protocols) >= 1.15 BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-server) -%endif %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300 -BuildRequires: pkgconfig(libpipewire-0.3) +BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.19 %endif # JIT for lua. %ifarch aarch64 %{ix86} x86_64 @@ -196,6 +203,10 @@ myopts="--disable-sdl2" myopts+=" --disable-build-date" # Debug just adds -g and we do that over optflags anyway. myopts+=" --disable-debug" +# Disable pipwire for Leap because of build error +%if 0%{?suse_version} <= 1500 +myopts+=" --disable-pipewire" +%endif export CFLAGS="%{optflags}" python3 ./waf configure \ --prefix="%{_prefix}" \ @@ -212,14 +223,10 @@ python3 ./waf configure \ --enable-dvbin \ --enable-drm \ --enable-x11 \ -%if 0%{?suse_version} > 1500 + --enable-openal \ --enable-wayland \ --enable-gl-wayland \ --enable-vulkan \ -%endif -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300 - --enable-pipewire \ -%endif --enable-gl-x11 \ --enable-egl-x11 \ --enable-egl-drm \ @@ -254,6 +261,7 @@ sed -i -e '1d' %{buildroot}%{_datadir}/bash-completion/completions/mpv %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor +%{_datadir}/metainfo/mpv.metainfo.xml %{_mandir}/man?/%{name}.?%{?ext_man} %files zsh-completion diff --git a/waf-2.0.23 b/waf-2.0.23 deleted file mode 100644 index 72e05c0..0000000 --- a/waf-2.0.23 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28a2e4583314a162cfcbffefb8a9202c1d7869040d30b5852da479b76d9c0491 -size 105122 diff --git a/waf-2.0.24 b/waf-2.0.24 new file mode 100644 index 0000000..0f9debe --- /dev/null +++ b/waf-2.0.24 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa2771fed870fe9bf7a67dd13e09770725f4142fcd5481d9796e624759950483 +size 105409 From 5d08a0ab0feb8ffacd0fbff14b10caf5c523bd22f17985507eed032f83ce2b5c Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 01:04:57 +0000 Subject: [PATCH 2/8] - _service: obs_scm -> obs_tar - Do not require libsixel and mujs where no appropriate versions are packaged - Update to version 0.35+git.20221118.d3a61cfe: * wayland: also log refresh rate on surface entrance * drm: remove legacy API * wayland: add support for content-type protocol * player/video: add VOCTRL_CONTENT_TYPE * player/main: log libplacebo version if built with it * common/av_log: move general FFmpeg version before library versions * vo: hwdec: remove legacy_names * player: add --force-render option * wayland: error out if essential protocol support is missing * meson: fix capitalization of "OpenGL" * ao_pipewire: log version information and metadata * DOCS: update release policy to match reality OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=278 --- _service | 2 +- _servicedata | 2 +- mpv-0.35+git.20221112.2f747341.tar.xz | 3 --- mpv-0.35+git.20221118.d3a61cfe.tar.xz | 3 +++ mpv.changes | 20 ++++++++++++++++++++ mpv.spec | 6 ++++-- 6 files changed, 29 insertions(+), 7 deletions(-) delete mode 100644 mpv-0.35+git.20221112.2f747341.tar.xz create mode 100644 mpv-0.35+git.20221118.d3a61cfe.tar.xz diff --git a/_service b/_service index 0f331d3..9fe1d4d 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ - + https://github.com/mpv-player/mpv.git git mpv diff --git a/_servicedata b/_servicedata index 1dd5b26..c54aab8 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/mpv-player/mpv.git - 2f747341f99d9f8697303be01c67ae3b3437cd18 \ No newline at end of file + d3a61cfe9844b78362bfce6e5a8280ad6514dbce \ No newline at end of file diff --git a/mpv-0.35+git.20221112.2f747341.tar.xz b/mpv-0.35+git.20221112.2f747341.tar.xz deleted file mode 100644 index ae42542..0000000 --- a/mpv-0.35+git.20221112.2f747341.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb8bc660850b10a96234094458444acd6fcb38ccd27ca9f5e5d80c26cbcf281c -size 2337856 diff --git a/mpv-0.35+git.20221118.d3a61cfe.tar.xz b/mpv-0.35+git.20221118.d3a61cfe.tar.xz new file mode 100644 index 0000000..7ace7ad --- /dev/null +++ b/mpv-0.35+git.20221118.d3a61cfe.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:057ef5765d7b139d25d92f78a60fcdef9928e5aed7e48defb502d73629ae1213 +size 2338088 diff --git a/mpv.changes b/mpv.changes index 12bdb0c..3f03330 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Sat Nov 19 00:49:40 UTC 2022 - mia@0x0.st + +- _service: obs_scm -> obs_tar +- Do not require libsixel and mujs where no appropriate versions + are packaged +- Update to version 0.35+git.20221118.d3a61cfe: + * wayland: also log refresh rate on surface entrance + * drm: remove legacy API + * wayland: add support for content-type protocol + * player/video: add VOCTRL_CONTENT_TYPE + * player/main: log libplacebo version if built with it + * common/av_log: move general FFmpeg version before library versions + * vo: hwdec: remove legacy_names + * player: add --force-render option + * wayland: error out if essential protocol support is missing + * meson: fix capitalization of "OpenGL" + * ao_pipewire: log version information and metadata + * DOCS: update release policy to match reality + ------------------------------------------------------------------- Sun Nov 13 10:23:53 UTC 2022 - ecsos@opensuse.org diff --git a/mpv.spec b/mpv.spec index 167e9f5..69d707d 100644 --- a/mpv.spec +++ b/mpv.spec @@ -22,7 +22,7 @@ %define _waf_ver 2.0.24 %define lname libmpv2 Name: mpv -Version: 0.35+git.20221112.2f747341 +Version: 0.35+git.20221118.d3a61cfe Release: 0 Summary: Advanced general-purpose multimedia player License: GPL-2.0-or-later @@ -84,7 +84,9 @@ 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%{?sle_version} > 150400 BuildRequires: pkgconfig(libsixel) >= 1.5 +%endif BuildRequires: pkgconfig(rubberband) >= 3.0.0 BuildRequires: pkgconfig(uchardet) BuildRequires: pkgconfig(vapoursynth) >= 24 @@ -114,7 +116,7 @@ Obsoletes: mplayer2 < 20140101 %if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 BuildRequires: pkgconfig(libplacebo) >= 4.157 %endif -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 +%if 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(mujs) %endif BuildRequires: pkgconfig(libva-wayland) >= 1.1.0 From cdd06029e21c7163f7bae42c3b8b46f2675a35a9b2b6e8776f2b9e3bdfc8f684 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 01:06:01 +0000 Subject: [PATCH 3/8] OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=279 --- mpv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpv.spec b/mpv.spec index 69d707d..53e0213 100644 --- a/mpv.spec +++ b/mpv.spec @@ -116,7 +116,7 @@ Obsoletes: mplayer2 < 20140101 %if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 BuildRequires: pkgconfig(libplacebo) >= 4.157 %endif -%if 0%{?suse_version} >= 1500 +%if 0%{?suse_version} > 1500 BuildRequires: pkgconfig(mujs) %endif BuildRequires: pkgconfig(libva-wayland) >= 1.1.0 From f8b1bfc8384de77434235f31dc95a4eb9a5f65397e3c5f8e557818f2ae27c14c Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 01:15:24 +0000 Subject: [PATCH 4/8] - Refresh mpv-make-ffmpeg-version-check-non-fatal.patch OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=280 --- mpv-make-ffmpeg-version-check-non-fatal.patch | 25 +++++++++++++------ mpv.changes | 1 + 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/mpv-make-ffmpeg-version-check-non-fatal.patch b/mpv-make-ffmpeg-version-check-non-fatal.patch index a6e96a1..5d6f447 100644 --- a/mpv-make-ffmpeg-version-check-non-fatal.patch +++ b/mpv-make-ffmpeg-version-check-non-fatal.patch @@ -1,13 +1,24 @@ -Index: mpv/common/av_log.c -=================================================================== ---- mpv.orig/common/av_log.c -+++ mpv/common/av_log.c -@@ -200,7 +200,7 @@ void check_library_versions(struct mp_lo +From b5bd081c1e3752969241efdff866fc3c1bd48d03 Mon Sep 17 00:00:00 2001 +From: Mia Herkt +Date: Sat, 19 Nov 2022 02:08:38 +0100 +Subject: [PATCH] av_log: make FFmpeg version check non-fatal + +--- + common/av_log.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/common/av_log.c b/common/av_log.c +index 15d17aff..ae173592 100644 +--- a/common/av_log.c ++++ b/common/av_log.c +@@ -207,7 +207,6 @@ void check_library_versions(struct mp_log *log, int v) { fprintf(stderr, "%s: %d.%d.%d -> %d.%d.%d\n", l->name, V(l->buildv), V(l->runv)); - abort(); -+ //abort(); } } - + } +-- +2.38.1 + diff --git a/mpv.changes b/mpv.changes index 3f03330..6fc41a5 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,6 +1,7 @@ ------------------------------------------------------------------- Sat Nov 19 00:49:40 UTC 2022 - mia@0x0.st +- Refresh mpv-make-ffmpeg-version-check-non-fatal.patch - _service: obs_scm -> obs_tar - Do not require libsixel and mujs where no appropriate versions are packaged From 96ae670ae2c7013b4f3ddf5b3bc172eeb600550ef1ab11b52ad1f816e59f8f17 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 01:27:12 +0000 Subject: [PATCH 5/8] - Vulkan requires recent libplacebo; disable on Leap <= 15.3 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=281 --- mpv.changes | 1 + mpv.spec | 3 +++ 2 files changed, 4 insertions(+) diff --git a/mpv.changes b/mpv.changes index 6fc41a5..3817e3f 100644 --- a/mpv.changes +++ b/mpv.changes @@ -5,6 +5,7 @@ Sat Nov 19 00:49:40 UTC 2022 - mia@0x0.st - _service: obs_scm -> obs_tar - Do not require libsixel and mujs where no appropriate versions are packaged +- Vulkan requires recent libplacebo; disable on Leap <= 15.3 - Update to version 0.35+git.20221118.d3a61cfe: * wayland: also log refresh rate on surface entrance * drm: remove legacy API diff --git a/mpv.spec b/mpv.spec index 53e0213..2cd43be 100644 --- a/mpv.spec +++ b/mpv.spec @@ -39,6 +39,7 @@ BuildRequires: libjpeg-devel BuildRequires: linux-kernel-headers # Needed any lua to convert the bash-completion BuildRequires: lua +BuildRequires: meson>=0.60.3 BuildRequires: perl BuildRequires: pkgconfig BuildRequires: python3-docutils @@ -228,7 +229,9 @@ python3 ./waf configure \ --enable-openal \ --enable-wayland \ --enable-gl-wayland \ +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 --enable-vulkan \ +%endif --enable-gl-x11 \ --enable-egl-x11 \ --enable-egl-drm \ From 577e5f75ddb5afc3e6302e5a6926835503de01baa29b32048791a6c0a88bad32 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 01:27:41 +0000 Subject: [PATCH 6/8] OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=282 --- mpv.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/mpv.spec b/mpv.spec index 2cd43be..99b134d 100644 --- a/mpv.spec +++ b/mpv.spec @@ -39,7 +39,6 @@ BuildRequires: libjpeg-devel BuildRequires: linux-kernel-headers # Needed any lua to convert the bash-completion BuildRequires: lua -BuildRequires: meson>=0.60.3 BuildRequires: perl BuildRequires: pkgconfig BuildRequires: python3-docutils From 903e7fb48d088ba52998b15b06a5686a5b657eaa56eb2bc44d3a346bc1cb1661 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 02:05:07 +0000 Subject: [PATCH 7/8] OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=283 --- mpv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpv.spec b/mpv.spec index 99b134d..9612cef 100644 --- a/mpv.spec +++ b/mpv.spec @@ -84,7 +84,7 @@ 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%{?sle_version} > 150400 +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150400 BuildRequires: pkgconfig(libsixel) >= 1.5 %endif BuildRequires: pkgconfig(rubberband) >= 3.0.0 From 5a670227ec956270f406274bfa3674815643d0cc41d3856e7fec69c6517fb7ff Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Sat, 19 Nov 2022 02:49:43 +0000 Subject: [PATCH 8/8] - Use Meson for build where possible as waf will be dropped in a future version OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=284 --- mpv.changes | 6 +++++ mpv.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 73 insertions(+), 3 deletions(-) diff --git a/mpv.changes b/mpv.changes index 3817e3f..f68a5d1 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Nov 19 02:48:45 UTC 2022 - Mia Herkt + +- Use Meson for build where possible as waf will be dropped in a + future version + ------------------------------------------------------------------- Sat Nov 19 00:49:40 UTC 2022 - mia@0x0.st diff --git a/mpv.spec b/mpv.spec index 9612cef..5228438 100644 --- a/mpv.spec +++ b/mpv.spec @@ -37,6 +37,9 @@ BuildRequires: bash BuildRequires: hicolor-icon-theme BuildRequires: libjpeg-devel BuildRequires: linux-kernel-headers +%if 0%{?suse_version} > 1500 +BuildRequires: meson >= 0.60.3 +%endif # Needed any lua to convert the bash-completion BuildRequires: lua BuildRequires: perl @@ -199,6 +202,59 @@ DATE="$(date -d "$MODIFIED" "+%%b %%e %%Y")" sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{version}\"|g" common/version.c %build +%if 0%{?suse_version} > 1500 +# 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 +%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 +%else # SDL: disable as it is pointless to have on Linux, it is Windows/OS X fallback. myopts="--disable-sdl2" # We don't want to rebuild all the time. @@ -209,6 +265,10 @@ myopts+=" --disable-debug" %if 0%{?suse_version} <= 1500 myopts+=" --disable-pipewire" %endif +# Vulkan support needs recent libplacebo +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 +myopts+=" --enable-vulkan" +%endif export CFLAGS="%{optflags}" python3 ./waf configure \ --prefix="%{_prefix}" \ @@ -228,9 +288,6 @@ python3 ./waf configure \ --enable-openal \ --enable-wayland \ --enable-gl-wayland \ -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 - --enable-vulkan \ -%endif --enable-gl-x11 \ --enable-egl-x11 \ --enable-egl-drm \ @@ -238,9 +295,16 @@ python3 ./waf configure \ ${myopts} python3 ./waf build --verbose %{?_smp_mflags} +%endif %install +%if 0%{?suse_version} > 1500 +%meson_install +install -dm755 %{buildroot}%{_defaultdocdir} +mv %{buildroot}%{_datadir}/doc/mpv %{buildroot}%{_defaultdocdir}/%{name} +%else python3 ./waf --destdir=%{buildroot} install +%endif install -D -m 0644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf