- Update to v0.16.0

* Please see https://github.com/mpv-player/mpv/releases/tag/v0.16.0
    for the complete changelog.
- Drop mpv-0.15.0_fix_NULL_ptr.patch, fixed upstream.
- Don't install mpv.png as upstream now ships a mpv.svg

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=39
This commit is contained in:
Ismail Dönmez 2016-02-29 08:04:43 +00:00 committed by Git OBS Bridge
parent d8284fecd6
commit 1762c581b4
6 changed files with 13 additions and 24 deletions

View File

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

View File

@ -1,13 +0,0 @@
Index: mpv-0.15.0/player/command.c
===================================================================
--- mpv-0.15.0.orig/player/command.c
+++ mpv-0.15.0/player/command.c
@@ -2438,7 +2438,7 @@ static int mp_property_video_codec(void
{
MPContext *mpctx = ctx;
struct track *track = mpctx->current_track[0][STREAM_VIDEO];
- const char *c = track->d_video ? track->d_video->decoder_desc : NULL;
+ const char *c = track && track->d_video ? track->d_video->decoder_desc : NULL;
return m_property_strdup_ro(action, arg, c);
}

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

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Feb 29 07:55:09 UTC 2016 - idonmez@suse.com
- Update to v0.16.0
* Please see https://github.com/mpv-player/mpv/releases/tag/v0.16.0
for the complete changelog.
- Drop mpv-0.15.0_fix_NULL_ptr.patch, fixed upstream.
- Don't install mpv.png as upstream now ships a mpv.svg
-------------------------------------------------------------------
Mon Feb 15 12:12:33 UTC 2016 - virtuousfox@gmail.com

View File

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

View File

@ -29,7 +29,7 @@
%define _waf_ver 1.8.12
%define lname libmpv1
Name: mpv
Version: 0.15.0
Version: 0.16.0
Release: 0
Summary: Advanced general-purpose multimedia player
License: %{_license}
@ -40,8 +40,6 @@ Source: http://github.com/mpv-player/%{name}/archive/v%{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}
Source2: %{name}.changes
Source3: %{name}.png
Patch0: %{name}-0.15.0_fix_NULL_ptr.patch
BuildRequires: hicolor-icon-theme
BuildRequires: ladspa-devel
BuildRequires: libjpeg-devel
@ -153,7 +151,6 @@ 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
@ -198,7 +195,6 @@ export CCFLAGS="%{optflags}"
%install
./waf --destdir=%{buildroot} install
install -D -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
install -D -m 0644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf
install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf