From 1762c581b4fc093ff065987ad83e2d4ef69797379aed0e237529dca4c0e840ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 29 Feb 2016 08:04:43 +0000 Subject: [PATCH] - 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 --- mpv-0.15.0.tar.gz | 3 --- mpv-0.15.0_fix_NULL_ptr.patch | 13 ------------- mpv-0.16.0.tar.gz | 3 +++ mpv.changes | 9 +++++++++ mpv.png | 3 --- mpv.spec | 6 +----- 6 files changed, 13 insertions(+), 24 deletions(-) delete mode 100644 mpv-0.15.0.tar.gz delete mode 100644 mpv-0.15.0_fix_NULL_ptr.patch create mode 100644 mpv-0.16.0.tar.gz delete mode 100644 mpv.png diff --git a/mpv-0.15.0.tar.gz b/mpv-0.15.0.tar.gz deleted file mode 100644 index 576b32f..0000000 --- a/mpv-0.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc -size 2849513 diff --git a/mpv-0.15.0_fix_NULL_ptr.patch b/mpv-0.15.0_fix_NULL_ptr.patch deleted file mode 100644 index 7a05580..0000000 --- a/mpv-0.15.0_fix_NULL_ptr.patch +++ /dev/null @@ -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); - } - diff --git a/mpv-0.16.0.tar.gz b/mpv-0.16.0.tar.gz new file mode 100644 index 0000000..8d27220 --- /dev/null +++ b/mpv-0.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc3619de0ede16fbb023ac72589090e8e77fd9d9e03a81adc728105d50ef38ba +size 2877026 diff --git a/mpv.changes b/mpv.changes index eb79e4a..9400e9a 100644 --- a/mpv.changes +++ b/mpv.changes @@ -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 diff --git a/mpv.png b/mpv.png deleted file mode 100644 index 125b8d0..0000000 --- a/mpv.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:305faf3c5add387cc2041ca14244ca7ece975d081496cda6d2bb2f21938ee094 -size 280593 diff --git a/mpv.spec b/mpv.spec index 77ad303..37efda3 100644 --- a/mpv.spec +++ b/mpv.spec @@ -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