From e23a797d28c8e147893763b40aedf0f8751df6ce10dbc73872eca3189b867d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 20 Aug 2019 09:46:56 +0000 Subject: [PATCH] Accepting request 724722 from home:namtrac:branches:multimedia:apps Since mpv no longer does release since a year or so, switch to git snapshots. - Update to version 0.30.0+git.1566288741.80552ab28e: * vo_gpu: d3d11: fix storage lifetime of compound literals * encode: set sample_aspect_ratio on AVStream struct * vo_gpu: fix taking screenshots of rotated videos * vo_gpu: hwdec_vaapi: Synchronise after exporting VA surface * DOCS/compile-windows: remove angleproject-git from deps * TOOLS/travis-rebuild-website: update condition after docker transition * cocoa-cb: migrate to swift 5 with swift 4 fallback * cocoa-cb: fix optional cases on macOS 10.12 * build: fix build with older command line tools * build: make macOS SDK path and version configurable via env vars OBS-URL: https://build.opensuse.org/request/show/724722 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=152 --- _service | 17 +++++++++++++++++ _servicedata | 4 ++++ mpv-0.29.1.tar.gz | 3 --- mpv-0.30.0+git.1566288741.80552ab28e.obscpio | 3 +++ mpv.changes | 15 +++++++++++++++ mpv.obsinfo | 5 +++++ mpv.spec | 18 +++++++++--------- 7 files changed, 53 insertions(+), 12 deletions(-) create mode 100644 _service create mode 100644 _servicedata delete mode 100644 mpv-0.29.1.tar.gz create mode 100644 mpv-0.30.0+git.1566288741.80552ab28e.obscpio create mode 100644 mpv.obsinfo diff --git a/_service b/_service new file mode 100644 index 0000000..9c14ecb --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + https://github.com/mpv-player/mpv.git + git + mpv + 0.30.0+git + %ct.%h + enable + + + + + + *.tar + xz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..2ac60d3 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/mpv-player/mpv.git + 80552ab28ed7fb2edca995af81dd143422e6b7a3 \ No newline at end of file diff --git a/mpv-0.29.1.tar.gz b/mpv-0.29.1.tar.gz deleted file mode 100644 index 81efaef..0000000 --- a/mpv-0.29.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f9f9d461d1990f9728660b4ccb0e8cb5dce29ccaa6af567bec481b79291ca623 -size 3059503 diff --git a/mpv-0.30.0+git.1566288741.80552ab28e.obscpio b/mpv-0.30.0+git.1566288741.80552ab28e.obscpio new file mode 100644 index 0000000..8e10664 --- /dev/null +++ b/mpv-0.30.0+git.1566288741.80552ab28e.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22eb9ca831baec479424b701409d09141c88fa679b81e301ea7aaced627e3775 +size 8629773 diff --git a/mpv.changes b/mpv.changes index 2328b5a..f4aa11c 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Aug 20 08:31:52 UTC 2019 - idonmez@suse.com + +- Update to version 0.30.0+git.1566288741.80552ab28e: + * vo_gpu: d3d11: fix storage lifetime of compound literals + * encode: set sample_aspect_ratio on AVStream struct + * vo_gpu: fix taking screenshots of rotated videos + * vo_gpu: hwdec_vaapi: Synchronise after exporting VA surface + * DOCS/compile-windows: remove angleproject-git from deps + * TOOLS/travis-rebuild-website: update condition after docker transition + * cocoa-cb: migrate to swift 5 with swift 4 fallback + * cocoa-cb: fix optional cases on macOS 10.12 + * build: fix build with older command line tools + * build: make macOS SDK path and version configurable via env vars + ------------------------------------------------------------------- Thu Nov 22 09:13:55 UTC 2018 - Tomáš Chvátal diff --git a/mpv.obsinfo b/mpv.obsinfo new file mode 100644 index 0000000..3b45fa3 --- /dev/null +++ b/mpv.obsinfo @@ -0,0 +1,5 @@ +name: mpv +version: 0.30.0+git.1566288741.80552ab28e +mtime: 1566288741 +commit: 80552ab28ed7fb2edca995af81dd143422e6b7a3 + diff --git a/mpv.spec b/mpv.spec index c3eb7af..ae8943d 100644 --- a/mpv.spec +++ b/mpv.spec @@ -1,7 +1,7 @@ # # spec file for package mpv # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 Packman Team # Copyright (c) 2012 Jiri Slaby # Copyright (c) 2011-2012 Pascal Bleser @@ -21,16 +21,15 @@ %define _waf_ver 2.0.9 %define _mbc_ver 3.3.17 -%define _mpv_ver 0.29.1 %define lname libmpv1 Name: mpv -Version: %{_mpv_ver} +Version: 0.30.0+git.1566288741.80552ab28e Release: 0 Summary: Advanced general-purpose multimedia player License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Players Url: http://mpv.io/ -Source: http://github.com/mpv-player/%{name}/archive/v%{_mpv_ver}.tar.gz#/%{name}-%{_mpv_ver}.tar.gz +Source: %{name}-%{version}.tar.xz Source1: https://waf.io/waf-%{_waf_ver} Source2: %{name}.changes # mpv-bash-completion is licensed with GPL-3.0+ @@ -71,6 +70,7 @@ BuildRequires: pkgconfig(libcdio_paranoia) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libiso9660) BuildRequires: pkgconfig(libkms) +BuildRequires: pkgconfig(libplacebo) >= 1.18.0 BuildRequires: pkgconfig(libpulse) >= 1.0 BuildRequires: pkgconfig(libswresample) >= 3.0.100 BuildRequires: pkgconfig(libswscale) >= 5.0.101 @@ -141,7 +141,7 @@ Release: 0 Summary: Bash Completion for %{name} License: GPL-3.0-or-later Group: Productivity/Multimedia/Video/Players -Requires: %{name} = %{_mpv_ver} +Requires: %{name} = %{version} Requires: bash-completion Recommends: xrandr Supplements: packageand(mpv:bash) @@ -164,7 +164,7 @@ A Bash completion script for the mpv video player. It features Summary: ZSH Completion for %{name} License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Players -Requires: %{name} = %{_mpv_ver} +Requires: %{name} = %{version} Supplements: packageand(mpv:zsh) BuildArch: noarch @@ -175,7 +175,7 @@ ZSH command line completion support for %{name}. Summary: A library to link together with mpv player License: GPL-2.0-or-later Group: Development/Libraries/C and C++ -Requires: %{lname} = %{_mpv_ver} +Requires: %{lname} = %{version} %description devel mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety @@ -196,7 +196,7 @@ This package contains a library that can other apps use to utilize the mpv features. %prep -%setup -q -a 3 -n %{name}-%{_mpv_ver} +%setup -q -a 3 %patch0 -p1 # As we downloaded specific waf version we need to put and prepare it in place. @@ -206,7 +206,7 @@ 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|\"%{_mpv_ver}\"|g" common/version.c +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.