mpv/mpv.spec

282 lines
9.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mpv
#
# Copyright (c) 2020 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 _waf_ver 2.0.20
%define lname libmpv1
Name: mpv
Version: 0.33.0+git.20201122T184820.fa7afc3e19
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.xz
Source1: https://waf.io/waf-%{_waf_ver}
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
BuildRequires: bash
BuildRequires: hicolor-icon-theme
BuildRequires: libjpeg-devel
BuildRequires: linux-kernel-headers
# Needed any lua to convert the bash-completion
BuildRequires: lua
BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: python3-docutils
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(caca) >= 0.99.beta18
BuildRequires: pkgconfig(dri)
BuildRequires: pkgconfig(dvdnav) >= 4.2.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(egl)
BuildRequires: pkgconfig(ffnvcodec) >= 8.2.15.7
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(gbm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(lcms2) >= 2.6
BuildRequires: pkgconfig(libarchive) >= 3.4.0
BuildRequires: pkgconfig(libass) >= 0.12.1
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(libavcodec) >= 58.7.100
BuildRequires: pkgconfig(libavdevice) >= 57.0.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(libavfilter) >= 7.0.101
BuildRequires: pkgconfig(libavformat) >= 58.0.102
BuildRequires: pkgconfig(libavutil) >= 56.6.100
BuildRequires: pkgconfig(libbluray) >= 0.3.0
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libcdio_cdda)
BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libiso9660)
BuildRequires: pkgconfig(libkms)
BuildRequires: pkgconfig(libplacebo) >= 1.18.0
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) >= 0.36.0
BuildRequires: pkgconfig(libva-x11) >= 0.36.0
BuildRequires: pkgconfig(python3)
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(rubberband)
BuildRequires: pkgconfig(uchardet)
BuildRequires: pkgconfig(vapoursynth)
BuildRequires: pkgconfig(vapoursynth-script)
BuildRequires: pkgconfig(vdpau)
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
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: youtube-dl
Conflicts: mpv-plugin-mpris < 0.4
# Obsoletion of mplayer2 that is dead for 2 years now
Provides: mplayer2 = 20140101
Obsoletes: mplayer2 < 20140101
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
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(lua5.1)
%else
BuildRequires: pkgconfig(lua)
%endif
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
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(libva-wayland) >= 0.36.0
BuildRequires: pkgconfig(vulkan) >= 1.0.61
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-client) >= 1.6.0
BuildRequires: pkgconfig(wayland-cursor) >= 1.6.0
BuildRequires: pkgconfig(wayland-egl) >= 9.0.0
BuildRequires: pkgconfig(wayland-protocols) >= 1.14
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server)
%endif
# JIT for lua.
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
%if 0%{?suse_version} >= 1500
%ifarch aarch64 %{ix86} x86_64
BuildRequires: pkgconfig(luajit)
%else
BuildRequires: pkgconfig(lua5.1)
%endif
%else
BuildRequires: pkgconfig(lua)
%endif
# Testing framework: disabled for now as it runs just 1 test
# BuildRequires: pkgconfig(cmocka) >= 0.4.1
%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
# As we downloaded specific waf version we need to put and prepare it in place.
cp -f %{SOURCE1} waf
chmod a+x waf
# 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
# SDL: disable as it is pointless to have on Linux, it is Windows/OS X fallback.
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
myopts="--disable-sdl2"
# We don't want to rebuild all the time.
myopts+=" --disable-build-date"
# Debug just adds -g and we do that over optflags anyway.
myopts+=" --disable-debug"
export CFLAGS="%{optflags}"
python3 ./waf configure \
--prefix="%{_prefix}" \
--bindir="%{_bindir}" \
--mandir="%{_mandir}" \
--libdir="%{_libdir}" \
--docdir="%{_docdir}/%{name}" \
--confdir="%{_sysconfdir}/%{name}" \
--enable-cdda \
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
--enable-dvdnav \
--enable-libmpv-shared \
--enable-manpage-build \
--enable-libarchive \
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
--enable-dvbin \
--enable-drm \
--enable-x11 \
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
%if 0%{?suse_version} > 1500
--enable-wayland \
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
--enable-gl-wayland \
--enable-vulkan \
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
%endif
--enable-gl-x11 \
--enable-egl-x11 \
--enable-egl-drm \
--enable-zimg \
${myopts}
python3 ./waf build --verbose %{?_smp_mflags}
%install
python3 ./waf --destdir=%{buildroot} install
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
%if 0%{?suse_version} < 1330
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%endif
%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
%{_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