]> git.pld-linux.org Git - packages/mpv.git/blobdiff - mpv.spec
- up to 0.3.4
[packages/mpv.git] / mpv.spec
index a3010028d3b10612234da829f27ea4a2c3f92225..4d7df2604b99adb13757a29ff07eb84bc1aab690 100644 (file)
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,11 +1,11 @@
 Summary:       Movie player based on MPlayer and mplayer2
 Name:          mpv
-Version:       0.3.2
+Version:       0.3.4
 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: 516f2eeec1d1f69905d11c1feec8166e
+# Source0-md5: 274bf45367df99774512cf43659004d5
 Source1:       %{name}.conf
 URL:           http://mpv.io/
 BuildRequires: Mesa-libwayland-egl-devel >= 9.0.0
@@ -42,9 +42,10 @@ BuildRequires:       ncurses-devel
 BuildRequires: pkgconfig
 BuildRequires: portaudio-devel >= 19
 BuildRequires: pulseaudio-devel >= 0.9
+BuildRequires: rpmbuild(macros) >= 1.336
 # version dep to handle packaging issue in PLD
 BuildRequires: waf >= 1.7.14
-BuildRequires: wayland-devel >= 1.2.0
+BuildRequires: wayland-devel >= 1.3.0
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXScrnSaver-devel
 BuildRequires: xorg-lib-libXdamage-devel
@@ -66,10 +67,7 @@ Movie player based on MPlayer and mplayer2.
 %setup -q
 
 %build
-CC="%{__cc}"; export CC
-CFLAGS="%{rpmcflags}"; export CFLAGS
-LINKFLAGS="%{rpmldflags}"; export LINKFLAGS
-waf configure \
+%waf configure \
                --prefix=%{_prefix} \
                --bindir=%{_bindir} \
                --confdir=%{_sysconfdir}/mpv \
@@ -132,12 +130,12 @@ waf configure \
                --enable-xss \
                --enable-xv
 
-waf build -v
+%waf build -v
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-waf install --destdir=$RPM_BUILD_ROOT
+%waf install --destdir=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/mpv
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mpv
This page took 0.128956 seconds and 4 git commands to generate.