Accepting request 456497 from multimedia:apps

1

OBS-URL: https://build.opensuse.org/request/show/456497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpv?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2017-02-13 06:51:50 +00:00 committed by Git OBS Bridge
commit 631cd4edc3
4 changed files with 110 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8aeefe5970587dfc454d2b89726b603f156bd7a9ae427654eef0d60c68d94998
size 2812103

3
mpv-0.24.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a41854fa0ac35b9c309ad692aaee67c8d4495c3546f11cb4cdd0a124195d3f15
size 2835920

View File

@ -1,3 +1,101 @@
-------------------------------------------------------------------
Sun Feb 12 07:52:20 UTC 2017 - aloisio@gmx.com
- Update to version 0.24.0
Added features:
* player: add experimental C plugin interface
* player: add experimental stream recording feature
(--record-file)
* player: add prefetching of the next playlist entry
(--prefetch-playlist; does NOT work with URLs resolved by
youtube-dl)
* stream_lavf: add support for data URIs (#4058)
* vaapi: add support for 10-bit video formats (requires
patched Mesa and capable hardware)
* x11: pseudo HiDPI scaling
Added options and commands:
* sub: add --sub-justify and --sub-ass-justify options
* sub: add option to force using video resolution for image
subtitles (--image-subs-video-resolution)
Changed options and commands:
* command: rename framedrop properties
+ drop-frame-count → decoder-frame-drop-count
+ vo-drop-frame-count → frame-drop-count
* input.conf: change "L" to change loop-file by default
Deprecated options and commands:
* --hwdec-preload (replaced with --opengl-hwdec-interop)
Removed options and commands:
* options: drop deprecated --sub-codepage syntax
* options: drop deprecated --vd/--ad codecs selection
features
* player: remove --stream-capture option/property
Fixes and minor enhancements:
* ad_spdif: fix obscure cases of AC3 passthrough (e.g. 44100
Hz AC3)
* ao_oss: use --audio-device if --oss-device isn't set
(#4122)
* build: fix --disable-gl if cuda is enabled
* build: rpi: rely on pkgconfig for compiler flags to ease
cross compilation
* charset_conv: fallback to interpreting subs as latin1 if
iconv fails
* charset_conv: fix "auto" fallback with uchardet not
compiled (#3954)
* client API: fix freeze when destroying mpv_handle before
mpv_initialize
* client API: fix mpv_set_property() return value before
init (#3988)
* command: fix potential crash for script-binding with
multi-commands
* command: nicer OSD formatting for loop-file
* command: shorten long playlists on OSD
* config: do not resolve default profile during "include"
processing (#4024)
* cuda: fix 10 bit decoding
* cue: accept lower-case cue commands (#4057)
* demux_mkv: any reference makes a frame not a keyframe
(fixes seeking in WebM files with alpha channel)
* lavfi: slightly better disconnected output handling (#4118)
* lua: close directory after reading its entries (#4045)
* osc: allow playlist buttons when looping (#4092)
* osc: bottom/topbar: clip title instead of stretching
* osc: bottombar/topbar: make chapter markers slightly bigger
* osc: box: clip with ellipsis after too much stretching
* osc: fix crashes related to field eventresponder being nil
(#3210)
* player: add .scc subtitle extension
* stream_bluray: use proper 0-based index
* sub: remove .txt as text subtitle extension
* tv: fix segfaults on TV input (#4096)
* vaapi: set libva > 0.39.4 message callbacks to prevent it
from printing messages to the terminal
* vd_lavc: improved fallback behavior for --hwdec=cuda
(#3914)
* vdpau: reject decoding of non-4:2:0 (would decode to
garbage)
* vf_lavfi: don't crash with VOs without hardware decoding
support (#4064)
* vo_opengl, vo_opengl_cb: better hwdec interop backend
selection
* vo_opengl: angle: rewrite with custom swap chain (fixes
problems with e.g. 24 fps video on 24 Hz monitors, avoids
problems with DirectComposition, enables "screenshot window"
command on Windows 8 and newer)
* vo_opengl: partially fix rotation for 4:2:2 content
* vo_opengl: x11egl: fix alpha mode
* wayland: fix high CPU usage with mpv paused and visible
* ytdl_hook, edl: implement pseudo-DASH support
* ytdl_hook: add non-dash fallbacks to default formats
* ytdl_hook: fix opening hitbox.tv rtmp stream
* ytdl_hook: respect --no-audio, don't force-select track
* ytdl_hook: support livestream segmented DASH VODs
* ytdl_hook: support segmented dash
- Fixed mpv executable version quirk and remove ambiguity
concerning the %{version} macro.
- Updated ffmpeg libraries version requirements to 3.2.2
-------------------------------------------------------------------
Thu Jan 19 19:57:35 UTC 2017 - jengelh@inai.de

View File

@ -20,7 +20,7 @@
%define _mbc_ver 3.3.8
%define _mpv_ver 0.23.0
%define _mpv_ver 0.24.0
%define lname libmpv1
Name: mpv
Version: %{_mpv_ver}
@ -29,7 +29,7 @@ Summary: Advanced general-purpose multimedia player
License: GPL-2.0+
Group: Productivity/Multimedia/Video/Players
Url: http://mpv.io/
Source: http://github.com/mpv-player/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source: http://github.com/mpv-player/%{name}/archive/v%{_mpv_ver}.tar.gz#/%{name}-%{_mpv_ver}.tar.gz
Source2: %{name}.changes
# mpv-bash-completion is licensed with GPL-3.0+
Source3: https://github.com/2ion/mpv-bash-completion/archive/%{_mbc_ver}.tar.gz#/mpv-bash-completion-%{_mbc_ver}.tar.gz
@ -61,11 +61,11 @@ BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(lcms2) >= 2.6
BuildRequires: pkgconfig(libarchive) >= 3.0.0
BuildRequires: pkgconfig(libass) >= 0.12.1
BuildRequires: pkgconfig(libavcodec) >= 57.25.0
BuildRequires: pkgconfig(libavcodec) >= 57.64.100
BuildRequires: pkgconfig(libavdevice) >= 57.0.0
BuildRequires: pkgconfig(libavfilter) >= 6.7.0
BuildRequires: pkgconfig(libavformat) >= 57.07.0
BuildRequires: pkgconfig(libavutil) >= 55.20.0
BuildRequires: pkgconfig(libavfilter) >= 6.65.100
BuildRequires: pkgconfig(libavformat) >= 57.56.100
BuildRequires: pkgconfig(libavutil) >= 55.34.100
BuildRequires: pkgconfig(libbluray) >= 0.3.0
BuildRequires: pkgconfig(libbs2b)
BuildRequires: pkgconfig(libcdio)
@ -74,7 +74,7 @@ BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libiso9660)
BuildRequires: pkgconfig(libpulse) >= 1.0
BuildRequires: pkgconfig(libswresample) >= 2.3.100
BuildRequires: pkgconfig(libswscale) >= 4.0.0
BuildRequires: pkgconfig(libswscale) >= 4.2.100
BuildRequires: pkgconfig(libudf)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libva)
@ -190,13 +190,13 @@ This package contains a library that can other apps use to utilize the mpv
features.
%prep
%setup -q -a 3
%setup -q -a 3 -n %{name}-%{_mpv_ver}
%patch0 -p1
# I hate UNKNOWN so lets put decent info there.
MODIFIED="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE2}")"
DATE="$(date -d "$MODIFIED" "+%%b %%e %%Y")"
sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{version}\"|g" common/version.c
sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{_mpv_ver}\"|g" common/version.c
%build
# SDL: disable as it is pointless to have on Linux, it is Windows/OS X fallback.