- Update to version 0.32.0+git.1580083289.cbfcd3e703:
* See 01de2a9bd5..cbfcd3e703
for the complete changelog.
* mpv now generates its own bash-completion file
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=185
This commit is contained in:
parent
5a17ceb196
commit
9f50564017
3
_service
3
_service
@ -3,10 +3,11 @@
|
|||||||
<param name="url">https://github.com/mpv-player/mpv.git</param>
|
<param name="url">https://github.com/mpv-player/mpv.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="filename">mpv</param>
|
<param name="filename">mpv</param>
|
||||||
<param name="versionprefix">0.31.0+git</param>
|
<param name="versionprefix">0.32.0+git</param>
|
||||||
<param name="versionformat">%ct.%h</param>
|
<param name="versionformat">%ct.%h</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
</service>
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
|
||||||
<service name="tar" mode="buildtime"/>
|
<service name="tar" mode="buildtime"/>
|
||||||
<service name="recompress" mode="buildtime">
|
<service name="recompress" mode="buildtime">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/mpv-player/mpv.git</param>
|
<param name="url">https://github.com/mpv-player/mpv.git</param>
|
||||||
<param name="changesrevision">01de2a9bd5c4689b70c7cf237b718135c5c73d7b</param></service></servicedata>
|
<param name="changesrevision">cbfcd3e703a35e9f0ad1f5829711ce3655092869</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:37150fbfe564f9957b8e5b39b2303b774343b6045fbc93347b98415d89a11214
|
|
||||||
size 8857101
|
|
3
mpv-0.32.0+git.1580083289.cbfcd3e703.obscpio
Normal file
3
mpv-0.32.0+git.1580083289.cbfcd3e703.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c0e80c32264ef6d8724e8f44c6f6a7535296a261daa6da45d87e0cc3a3a91e22
|
||||||
|
size 8881677
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:23eaaa131eda36e17562efa6c67d9b64eff93d6d80a88f4effe8786e91cc97df
|
|
||||||
size 21111
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 27 08:04:54 UTC 2020 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.32.0+git.1580083289.cbfcd3e703:
|
||||||
|
* See https://github.com/mpv-player/mpv/compare/01de2a9bd5..cbfcd3e703
|
||||||
|
for the complete changelog.
|
||||||
|
* mpv now generates its own bash-completion file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 18 11:33:05 UTC 2020 - Martin Herkt <9+suse@cirno.systems>
|
Sat Jan 18 11:33:05 UTC 2020 - Martin Herkt <9+suse@cirno.systems>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: mpv
|
name: mpv
|
||||||
version: 0.31.0+git.1577540072.01de2a9bd5
|
version: 0.32.0+git.1580083289.cbfcd3e703
|
||||||
mtime: 1577540072
|
mtime: 1580083289
|
||||||
commit: 01de2a9bd5c4689b70c7cf237b718135c5c73d7b
|
commit: cbfcd3e703a35e9f0ad1f5829711ce3655092869
|
||||||
|
|
||||||
|
39
mpv.spec
39
mpv.spec
@ -20,21 +20,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _waf_ver 2.0.9
|
%define _waf_ver 2.0.9
|
||||||
%define _mbc_ver 3.3.18
|
|
||||||
%define _mpv_ver 0.31.0+git.1577540072.01de2a9bd5
|
|
||||||
%define lname libmpv1
|
%define lname libmpv1
|
||||||
Name: mpv
|
Name: mpv
|
||||||
Version: %{_mpv_ver}
|
Version: 0.32.0+git.1580083289.cbfcd3e703
|
||||||
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: %{name}-%{_mpv_ver}.tar.xz
|
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+
|
|
||||||
Source3: https://github.com/2ion/mpv-bash-completion/archive/%{_mbc_ver}.tar.gz#/mpv-bash-completion-%{_mbc_ver}.tar.gz
|
|
||||||
# PATCH-FIX-OPENSUSE do not require equal libav versions, obs rebuilds as needed
|
# PATCH-FIX-OPENSUSE do not require equal libav versions, obs rebuilds as needed
|
||||||
Patch0: mpv-make-ffmpeg-version-check-non-fatal.patch
|
Patch0: mpv-make-ffmpeg-version-check-non-fatal.patch
|
||||||
BuildRequires: bash
|
BuildRequires: bash
|
||||||
@ -138,10 +134,7 @@ mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
|
|||||||
of video file formats, audio and video codecs, and subtitle types.
|
of video file formats, audio and video codecs, and subtitle types.
|
||||||
|
|
||||||
%package bash-completion
|
%package bash-completion
|
||||||
Version: %{_mbc_ver}
|
|
||||||
Release: 0
|
|
||||||
Summary: Bash Completion for %{name}
|
Summary: Bash Completion for %{name}
|
||||||
License: GPL-3.0-or-later
|
|
||||||
Group: Productivity/Multimedia/Video/Players
|
Group: Productivity/Multimedia/Video/Players
|
||||||
Requires: %{name} = %{_mpv_ver}
|
Requires: %{name} = %{_mpv_ver}
|
||||||
Requires: bash-completion
|
Requires: bash-completion
|
||||||
@ -150,21 +143,10 @@ Supplements: (mpv and bash)
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description bash-completion
|
%description bash-completion
|
||||||
A Bash completion script for the mpv video player. It features
|
Bash command line completion support for %{name}.
|
||||||
* Completion for all --options,
|
|
||||||
* Type-based completion for --option arguments for choices, flags,
|
|
||||||
integers and floats,
|
|
||||||
* Completion for upper/lower bounds for integer- and float-type
|
|
||||||
argument ranges where applicable,
|
|
||||||
* Completion of filter lists as arguments to --vf and --af style
|
|
||||||
options as well as completion of filter parameters while composing
|
|
||||||
filter lists,
|
|
||||||
* Similarly, parameter completion for video and audio outputs (--vo, --ao),
|
|
||||||
* Regular file name completion.
|
|
||||||
|
|
||||||
%package zsh-completion
|
%package zsh-completion
|
||||||
Summary: ZSH Completion for %{name}
|
Summary: ZSH Completion for %{name}
|
||||||
License: GPL-2.0-or-later
|
|
||||||
Group: Productivity/Multimedia/Video/Players
|
Group: Productivity/Multimedia/Video/Players
|
||||||
Requires: %{name} = %{_mpv_ver}
|
Requires: %{name} = %{_mpv_ver}
|
||||||
Supplements: (mpv and zsh)
|
Supplements: (mpv and zsh)
|
||||||
@ -175,7 +157,6 @@ ZSH command line completion support for %{name}.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: A library to link together with mpv player
|
Summary: A library to link together with mpv player
|
||||||
License: GPL-2.0-or-later
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{lname} = %{_mpv_ver}
|
Requires: %{lname} = %{_mpv_ver}
|
||||||
|
|
||||||
@ -187,7 +168,6 @@ This package contains all the development files.
|
|||||||
|
|
||||||
%package -n %{lname}
|
%package -n %{lname}
|
||||||
Summary: A library to link together with mpv player
|
Summary: A library to link together with mpv player
|
||||||
License: GPL-2.0-or-later
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{lname}
|
%description -n %{lname}
|
||||||
@ -198,7 +178,7 @@ This package contains a library that can other apps use to utilize the mpv
|
|||||||
features.
|
features.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 3
|
%setup -q
|
||||||
%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.
|
||||||
@ -247,18 +227,9 @@ python3 ./waf configure \
|
|||||||
|
|
||||||
python3 ./waf build --verbose %{?_smp_mflags}
|
python3 ./waf build --verbose %{?_smp_mflags}
|
||||||
|
|
||||||
pushd mpv-bash-completion-%{_mbc_ver}
|
|
||||||
export MPV_BASHCOMPGEN_MPV_CMD=../build/mpv
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python3 ./waf --destdir=%{buildroot} install
|
python3 ./waf --destdir=%{buildroot} install
|
||||||
|
|
||||||
pushd mpv-bash-completion-%{_mbc_ver}
|
|
||||||
%make_install
|
|
||||||
popd
|
|
||||||
|
|
||||||
install -D -m 0644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf
|
install -D -m 0644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf
|
||||||
install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf
|
install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf
|
||||||
# remove shebang
|
# remove shebang
|
||||||
@ -298,8 +269,6 @@ sed -i -e '1d' %{buildroot}%{_datadir}/bash-completion/completions/mpv
|
|||||||
%{_datadir}/zsh/site-functions/_mpv
|
%{_datadir}/zsh/site-functions/_mpv
|
||||||
|
|
||||||
%files bash-completion
|
%files bash-completion
|
||||||
%license mpv-bash-completion-%{_mbc_ver}/LICENSE
|
|
||||||
%doc mpv-bash-completion-%{_mbc_ver}/README.mkd
|
|
||||||
%{_datadir}/bash-completion/completions/mpv
|
%{_datadir}/bash-completion/completions/mpv
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
|
Loading…
Reference in New Issue
Block a user