Accepting request 408289 from multimedia:apps

- Update waf to 1.9.1

- Force rebuilding with every minor update of ffmpeg

- Update to version 0.18.1
  * Note: Running mpv with different versions of the 
    FFmpeg/Libav libraries than it was compiled with
    is no longer supported. Even supposedly ABI-compatible
    versions have been a source of trouble, and it creates 
    far too much complexity with little to no benefit,
    coupled with absurd and unusable FFmpeg API artifacts.
    Instead, mpv will exit with an error when such a 
    situation is detected.
    This simply means that mpv needs to be rebuilt whenever 
    FFmpeg libraries change.
  New Features:
  * d3d: implement screenshots for --hwdec=d3d11va
  * vo_opengl: add output_size uniform to custom shader
  * vo_opengl: implement the Panasonic V-Log function 
    (#3157)
  * vo_opengl: implement ARIB STD-B68 (HLG) HDR TRC
  Options and oommands:
  * command: pack sub image data in overlay-add command
  * options: deprecate --heartbeat-cmd
  * audio: deprecate --softvol
  * audio: drop --softvol=no and --softvol=auto (#3322)
  Fixes and minor enhancements:
  * video: fix deinterlace filter handling on pixel 
    format changes
  * x11: silence xdg-screensaver

OBS-URL: https://build.opensuse.org/request/show/408289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpv?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2016-07-15 10:53:20 +00:00 committed by Git OBS Bridge
commit 2ac9512d3a
7 changed files with 85 additions and 22 deletions

2
.gitattributes vendored
View File

@ -22,4 +22,4 @@
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
waf-1.8.12 filter=lfs diff=lfs merge=lfs -text
waf-1.9.1 filter=lfs diff=lfs merge=lfs -text

View File

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

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

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

View File

@ -1,3 +1,74 @@
-------------------------------------------------------------------
Tue Jul 12 11:45:19 UTC 2016 - tchvatal@suse.com
- Update waf to 1.9.1
-------------------------------------------------------------------
Tue Jul 12 11:38:54 UTC 2016 - mpluskal@suse.com
- Force rebuilding with every minor update of ffmpeg
-------------------------------------------------------------------
Sun Jul 10 07:30:12 UTC 2016 - aloisio@gmx.com
- Update to version 0.18.1
* Note: Running mpv with different versions of the
FFmpeg/Libav libraries than it was compiled with
is no longer supported. Even supposedly ABI-compatible
versions have been a source of trouble, and it creates
far too much complexity with little to no benefit,
coupled with absurd and unusable FFmpeg API artifacts.
Instead, mpv will exit with an error when such a
situation is detected.
This simply means that mpv needs to be rebuilt whenever
FFmpeg libraries change.
New Features:
* d3d: implement screenshots for --hwdec=d3d11va
* vo_opengl: add output_size uniform to custom shader
* vo_opengl: implement the Panasonic V-Log function
(#3157)
* vo_opengl: implement ARIB STD-B68 (HLG) HDR TRC
Options and oommands:
* command: pack sub image data in overlay-add command
* options: deprecate --heartbeat-cmd
* audio: deprecate --softvol
* audio: drop --softvol=no and --softvol=auto (#3322)
Fixes and minor enhancements:
* video: fix deinterlace filter handling on pixel
format changes
* x11: silence xdg-screensaver
* vo_opengl: angle: update the swapchain on resize
(#3301)
* vo_opengl: error out gracefully when trying to use
FBOs without FBO API
* vd_lavc: expose mastering display side data reference
peak (improves results with HDR content)
* vo_opengl: generalize HDR tone mapping mechanism
(#3293)
* vo_opengl: don't constantly resize the output FBO
* vo_opengl: use ringbuffer of PBOs
* Windows: make WM_NCHITTEST simpler and more accurate
* ao_oss: do not add an entry to audio-device-list if
device file missing
* dec_audio: fix segment boudnary switching
* ao_lavc, vo_lavc: Migrate to new FFmpeg encoding API
* vo_opengl: explicitly use main framebuffer when
reading window content (#3284)
* vo_xv: fix behavior with odd sizes
* audio: insert auto-inserted filters at end of chain
* x11: add missing FocusChangeMask (disables key repeat
when losing focus while a key is down)
* ao_coreaudio: error out when selecting invalid device
* ad_lavc: work around misbehavior of some FFmpeg
decoders like wmapro (#3297)
* player: cut off status line on terminal width
-------------------------------------------------------------------
Sun Jun 26 22:05:13 UTC 2016 - virtuousfox@gmail.com
- Remove mpv_gpl3 Packman condition due to upstream's decision
to drop "prescaling" code in favour of generic shader hooks.
-------------------------------------------------------------------
Sat Jun 25 06:00:02 UTC 2016 - aloisio@gmx.com

View File

@ -19,26 +19,19 @@
#
%bcond_with mpv_gpl3
%if %{with mpv_gpl3}
%define _license GPL-3.0+ and BSD-3-Clause
%else
%define _license GPL-2.0+ and BSD-3-Clause
%endif
%define _waf_ver 1.8.12
%define _waf_ver 1.9.1
%define lname libmpv1
Name: mpv
Version: 0.18.0
Version: 0.18.1
Release: 0
Summary: Advanced general-purpose multimedia player
License: %{_license}
License: GPL-2.0+ and BSD-3-Clause
Group: Productivity/Multimedia/Video/Players
# waf is licensed with BSD-3-Clause
Url: http://mpv.io/
Source: http://github.com/mpv-player/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Can't use system one as it breaks quite often with updates
Source1: http://ftp.waf.io/pub/release/waf-%{_waf_ver}
Source1: http://waf.io/waf-%{_waf_ver}
Source2: %{name}.changes
BuildRequires: hicolor-icon-theme
Requires: hicolor-icon-theme
@ -98,6 +91,9 @@ BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib)
# we need to rebuild with every new minor version of ffmpeg
# update soname once it changes
Requires: %(rpm -qf $(readlink -f %{_libdir}/libavcodec.so) --qf "%%{name} = %%{version}")
# Used via LUA scripts
Recommends: youtube-dl
# Obsoletion of mplayer2 that is dead for 2 years now
@ -173,10 +169,6 @@ myopts="--disable-sdl1 --disable-sdl2"
myopts+=" --disable-build-date"
# Debug just adds -g and we do that over optflags anyway.
myopts+=" --disable-debug"
# nnedi3 feature that's hidden behind GPL3-switch activates openSUSE lawyers
%if %{with mpv_gpl3}
myopts+=" --enable-gpl3"
%endif
export CCFLAGS="%{optflags}"
./waf configure \
--prefix="%{_prefix}" \

View File

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

3
waf-1.9.1 Normal file
View File

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