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
This commit is contained in:
parent
169d649834
commit
e23a797d28
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/mpv-player/mpv.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="filename">mpv</param>
|
||||||
|
<param name="versionprefix">0.30.0+git</param>
|
||||||
|
<param name="versionformat">%ct.%h</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="set_version" />
|
||||||
|
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/mpv-player/mpv.git</param>
|
||||||
|
<param name="changesrevision">80552ab28ed7fb2edca995af81dd143422e6b7a3</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f9f9d461d1990f9728660b4ccb0e8cb5dce29ccaa6af567bec481b79291ca623
|
|
||||||
size 3059503
|
|
3
mpv-0.30.0+git.1566288741.80552ab28e.obscpio
Normal file
3
mpv-0.30.0+git.1566288741.80552ab28e.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:22eb9ca831baec479424b701409d09141c88fa679b81e301ea7aaced627e3775
|
||||||
|
size 8629773
|
15
mpv.changes
15
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 <tchvatal@suse.com>
|
Thu Nov 22 09:13:55 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
5
mpv.obsinfo
Normal file
5
mpv.obsinfo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: mpv
|
||||||
|
version: 0.30.0+git.1566288741.80552ab28e
|
||||||
|
mtime: 1566288741
|
||||||
|
commit: 80552ab28ed7fb2edca995af81dd143422e6b7a3
|
||||||
|
|
18
mpv.spec
18
mpv.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mpv
|
# 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 <packman@links2linux.de>
|
# Copyright (c) 2015 Packman Team <packman@links2linux.de>
|
||||||
# Copyright (c) 2012 Jiri Slaby <jslaby@suse.de>
|
# Copyright (c) 2012 Jiri Slaby <jslaby@suse.de>
|
||||||
# Copyright (c) 2011-2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
# Copyright (c) 2011-2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||||
@ -21,16 +21,15 @@
|
|||||||
|
|
||||||
%define _waf_ver 2.0.9
|
%define _waf_ver 2.0.9
|
||||||
%define _mbc_ver 3.3.17
|
%define _mbc_ver 3.3.17
|
||||||
%define _mpv_ver 0.29.1
|
|
||||||
%define lname libmpv1
|
%define lname libmpv1
|
||||||
Name: mpv
|
Name: mpv
|
||||||
Version: %{_mpv_ver}
|
Version: 0.30.0+git.1566288741.80552ab28e
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Advanced general-purpose multimedia player
|
Summary: Advanced general-purpose multimedia player
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Multimedia/Video/Players
|
Group: Productivity/Multimedia/Video/Players
|
||||||
Url: http://mpv.io/
|
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}
|
Source1: https://waf.io/waf-%{_waf_ver}
|
||||||
Source2: %{name}.changes
|
Source2: %{name}.changes
|
||||||
# mpv-bash-completion is licensed with GPL-3.0+
|
# mpv-bash-completion is licensed with GPL-3.0+
|
||||||
@ -71,6 +70,7 @@ BuildRequires: pkgconfig(libcdio_paranoia)
|
|||||||
BuildRequires: pkgconfig(libdrm)
|
BuildRequires: pkgconfig(libdrm)
|
||||||
BuildRequires: pkgconfig(libiso9660)
|
BuildRequires: pkgconfig(libiso9660)
|
||||||
BuildRequires: pkgconfig(libkms)
|
BuildRequires: pkgconfig(libkms)
|
||||||
|
BuildRequires: pkgconfig(libplacebo) >= 1.18.0
|
||||||
BuildRequires: pkgconfig(libpulse) >= 1.0
|
BuildRequires: pkgconfig(libpulse) >= 1.0
|
||||||
BuildRequires: pkgconfig(libswresample) >= 3.0.100
|
BuildRequires: pkgconfig(libswresample) >= 3.0.100
|
||||||
BuildRequires: pkgconfig(libswscale) >= 5.0.101
|
BuildRequires: pkgconfig(libswscale) >= 5.0.101
|
||||||
@ -141,7 +141,7 @@ Release: 0
|
|||||||
Summary: Bash Completion for %{name}
|
Summary: Bash Completion for %{name}
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Productivity/Multimedia/Video/Players
|
Group: Productivity/Multimedia/Video/Players
|
||||||
Requires: %{name} = %{_mpv_ver}
|
Requires: %{name} = %{version}
|
||||||
Requires: bash-completion
|
Requires: bash-completion
|
||||||
Recommends: xrandr
|
Recommends: xrandr
|
||||||
Supplements: packageand(mpv:bash)
|
Supplements: packageand(mpv:bash)
|
||||||
@ -164,7 +164,7 @@ A Bash completion script for the mpv video player. It features
|
|||||||
Summary: ZSH Completion for %{name}
|
Summary: ZSH Completion for %{name}
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Multimedia/Video/Players
|
Group: Productivity/Multimedia/Video/Players
|
||||||
Requires: %{name} = %{_mpv_ver}
|
Requires: %{name} = %{version}
|
||||||
Supplements: packageand(mpv:zsh)
|
Supplements: packageand(mpv:zsh)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ ZSH command line completion support for %{name}.
|
|||||||
Summary: A library to link together with mpv player
|
Summary: A library to link together with mpv player
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{lname} = %{_mpv_ver}
|
Requires: %{lname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
|
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.
|
features.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 3 -n %{name}-%{_mpv_ver}
|
%setup -q -a 3
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
# As we downloaded specific waf version we need to put and prepare it in place.
|
# 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.
|
# I hate UNKNOWN so lets put decent info there.
|
||||||
MODIFIED="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE2}")"
|
MODIFIED="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE2}")"
|
||||||
DATE="$(date -d "$MODIFIED" "+%%b %%e %%Y")"
|
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
|
%build
|
||||||
# SDL: disable as it is pointless to have on Linux, it is Windows/OS X fallback.
|
# SDL: disable as it is pointless to have on Linux, it is Windows/OS X fallback.
|
||||||
|
Loading…
Reference in New Issue
Block a user