Accepting request 456492 from home:alois:branches:multimedia:apps
Update to 0.24.0 OBS-URL: https://build.opensuse.org/request/show/456492 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=82
This commit is contained in:
committed by
Git OBS Bridge
parent
7d22f3b377
commit
798faca579
18
mpv.spec
18
mpv.spec
@@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
%define _mbc_ver 3.3.8
|
||||
%define _mpv_ver 0.23.0
|
||||
%define _mpv_ver 0.24.0
|
||||
%define lname libmpv1
|
||||
Name: mpv
|
||||
Version: %{_mpv_ver}
|
||||
@@ -29,7 +29,7 @@ Summary: Advanced general-purpose multimedia player
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
Url: http://mpv.io/
|
||||
Source: http://github.com/mpv-player/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source: http://github.com/mpv-player/%{name}/archive/v%{_mpv_ver}.tar.gz#/%{name}-%{_mpv_ver}.tar.gz
|
||||
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
|
||||
@@ -61,11 +61,11 @@ BuildRequires: pkgconfig(jack)
|
||||
BuildRequires: pkgconfig(lcms2) >= 2.6
|
||||
BuildRequires: pkgconfig(libarchive) >= 3.0.0
|
||||
BuildRequires: pkgconfig(libass) >= 0.12.1
|
||||
BuildRequires: pkgconfig(libavcodec) >= 57.25.0
|
||||
BuildRequires: pkgconfig(libavcodec) >= 57.64.100
|
||||
BuildRequires: pkgconfig(libavdevice) >= 57.0.0
|
||||
BuildRequires: pkgconfig(libavfilter) >= 6.7.0
|
||||
BuildRequires: pkgconfig(libavformat) >= 57.07.0
|
||||
BuildRequires: pkgconfig(libavutil) >= 55.20.0
|
||||
BuildRequires: pkgconfig(libavfilter) >= 6.65.100
|
||||
BuildRequires: pkgconfig(libavformat) >= 57.56.100
|
||||
BuildRequires: pkgconfig(libavutil) >= 55.34.100
|
||||
BuildRequires: pkgconfig(libbluray) >= 0.3.0
|
||||
BuildRequires: pkgconfig(libbs2b)
|
||||
BuildRequires: pkgconfig(libcdio)
|
||||
@@ -74,7 +74,7 @@ BuildRequires: pkgconfig(libcdio_paranoia)
|
||||
BuildRequires: pkgconfig(libiso9660)
|
||||
BuildRequires: pkgconfig(libpulse) >= 1.0
|
||||
BuildRequires: pkgconfig(libswresample) >= 2.3.100
|
||||
BuildRequires: pkgconfig(libswscale) >= 4.0.0
|
||||
BuildRequires: pkgconfig(libswscale) >= 4.2.100
|
||||
BuildRequires: pkgconfig(libudf)
|
||||
BuildRequires: pkgconfig(libv4l2)
|
||||
BuildRequires: pkgconfig(libva)
|
||||
@@ -190,13 +190,13 @@ This package contains a library that can other apps use to utilize the mpv
|
||||
features.
|
||||
|
||||
%prep
|
||||
%setup -q -a 3
|
||||
%setup -q -a 3 -n %{name}-%{_mpv_ver}
|
||||
%patch0 -p1
|
||||
|
||||
# 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|\"%{version}\"|g" common/version.c
|
||||
sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{_mpv_ver}\"|g" common/version.c
|
||||
|
||||
%build
|
||||
# SDL: disable as it is pointless to have on Linux, it is Windows/OS X fallback.
|
||||
|
Reference in New Issue
Block a user