Summary: Movie player based on MPlayer and mplayer2
+Summary(pl.UTF-8): Odtwarzacz filmów oparty na projektach MPlayer i mplayer2
Name: mpv
-Version: 0.25.0
-Release: 3
+Version: 0.29.1
+Release: 8
License: GPL v2+
Group: Applications/Multimedia
-Source0: http://github.com/mpv-player/mpv/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
-# Source0-md5: 73b3d233c3b4428d0cfd5491c5cb6c41
+#Source0Download: http://github.com/mpv-player/mpv/releases
+Source0: http://github.com/mpv-player/mpv/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 2cd070c6aed980786177b7cb5b73664b
Source1: %{name}.conf
Patch0: %{name}-lua.patch
URL: http://mpv.io/
BuildRequires: Mesa-libEGL-devel >= 9.0.0
-BuildRequires: Mesa-libwayland-egl-devel >= 9.0.0
BuildRequires: OpenAL-devel >= 1.13
BuildRequires: OpenGL-devel
-BuildRequires: SDL-devel
+BuildRequires: SDL2-devel
BuildRequires: alsa-lib-devel >= 1.0.18
BuildRequires: docutils
-BuildRequires: ffmpeg-devel >= 3.2.2
+BuildRequires: ffmpeg-devel >= 4.0
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: lcms2-devel >= 2.6
BuildRequires: libass-devel >= 0.12.1
BuildRequires: rpmbuild(macros) >= 1.336
BuildRequires: uchardet-devel
BuildRequires: waf >= 1.8.12
-BuildRequires: wayland-devel >= 1.3.0
+BuildRequires: wayland-devel >= 1.6.0
+BuildRequires: wayland-egl-devel
+BuildRequires: wayland-protocols >= 1.14
BuildRequires: xorg-lib-libX11-devel >= 1.0.0
BuildRequires: xorg-lib-libXScrnSaver-devel >= 1.0.0
BuildRequires: xorg-lib-libXdamage-devel
BuildRequires: xorg-lib-libXxf86vm-devel
BuildRequires: xorg-lib-libxkbcommon-devel >= 0.3.0
BuildRequires: xorg-proto-xproto-devel
-Requires: Mesa-libwayland-egl >= 9.0.0
Requires: OpenAL >= 1.13
Requires: OpenGL
Requires: alsa-lib >= 1.0.18
%description
Movie player based on MPlayer and mplayer2.
+%description -l pl.UTF-8
+Odtwarzacz filmów oparty na projektach MPlayer i mplayer2.
+
%package client-libs
Summary: Client library for controlling mpv
-Group: Development/Libraries
+Summary(pl.UTF-8): Biblioteka kliencka do sterowania odtwarzaczem mpv
+Group: Libraries
%description client-libs
Client library for controlling mpv.
+%description client-libs -l pl.UTF-8
+Biblioteka kliencka do sterowania odtwarzaczem mpv.
+
%package client-devel
Summary: Development files for mpv client library
+Summary(pl.UTF-8): Pliki programistyczne biblioteki klienckiej mpv
Group: Development/Libraries
Requires: %{name}-client-libs = %{version}-%{release}
%description client-devel
Development files for mpv client library.
+%description client-devel -l pl.UTF-8
+Pliki programistyczne biblioteki klienckiej mpv.
+
%package -n zsh-completion-mpv
-Summary: zsh-completion for mpv
+Summary: ZSH completion for mpv
+Summary(pl.UTF-8): Dopełnianie parametrów mpv dla powłoki ZSH
Group: Applications/Shells
Requires: %{name} = %{version}-%{release}
%description -n zsh-completion-mpv
-zsh-completion for mpv.
+ZSH completion for mpv.
+
+%description -n zsh-completion-mpv -l pl.UTF-8
+Dopełnianie parametrów mpv dla powłoki ZSH.
%prep
%setup -q
--enable-dvbin \
--enable-dvdnav \
--enable-dvdread \
- --enable-encoding \
--enable-gl-wayland \
--enable-gl-x11 \
--enable-iconv \
--enable-openal \
--enable-oss-audio \
--enable-pulse \
- --enable-sdl1 \
- --enable-shm \
+ --enable-sdl2 \
--enable-tv \
--enable-tv-v4l2 \
--enable-uchardet \
--enable-vaapi \
--enable-vaapi-glx \
- --enable-vaapi-hwaccel \
--enable-vdpau \
--enable-vdpau-gl-x11 \
- --enable-vdpau-hwaccel \
--enable-wayland \
--enable-x11 \
--enable-xv \