Summary: Movie player based on MPlayer and mplayer2
Name: mpv
-Version: 0.4.0
+Version: 0.5.0
Release: 1
License: GPL v2+
Group: Applications/Multimedia
Source0: http://github.com/mpv-player/mpv/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
-# Source0-md5: 6b1ec7e8e3a2bcb5af68d62cea4577ba
+# Source0-md5: 85e4895dfdce888fb436e7c217958b8b
Source1: %{name}.conf
Patch0: %{name}-zshcompdir.patch
+Patch1: %{name}-lua.patch
+Patch2: %{name}-wafsyms.patch
URL: http://mpv.io/
BuildRequires: Mesa-libwayland-egl-devel >= 9.0.0
BuildRequires: OpenAL-devel >= 1.13
BuildRequires: libva-glx-devel >= 1.2.0
BuildRequires: libvdpau-devel >= 0.2
BuildRequires: lirc-devel
+BuildRequires: lua51-devel
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: portaudio-devel >= 19
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
%waf configure \
--enable-xinerama \
--enable-xss \
--enable-xv \
- --enable-zsh-comp
+ --enable-zsh-comp \
+ --lua=51pld
%waf build -v