-
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=186
This commit is contained in:
parent
9f50564017
commit
5c6e45dcd5
8
mpv.spec
8
mpv.spec
@ -136,7 +136,7 @@ of video file formats, audio and video codecs, and subtitle types.
|
||||
%package bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
Requires: %{name} = %{_mpv_ver}
|
||||
Requires: %{name} = %{version}
|
||||
Requires: bash-completion
|
||||
Recommends: xrandr
|
||||
Supplements: (mpv and bash)
|
||||
@ -148,7 +148,7 @@ Bash command line completion support for %{name}.
|
||||
%package zsh-completion
|
||||
Summary: ZSH Completion for %{name}
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
Requires: %{name} = %{_mpv_ver}
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (mpv and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
@ -158,7 +158,7 @@ ZSH command line completion support for %{name}.
|
||||
%package devel
|
||||
Summary: A library to link together with mpv player
|
||||
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
|
||||
@ -188,7 +188,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.
|
||||
|
Loading…
Reference in New Issue
Block a user