mpv: updating to 0.3.2.

This commit is contained in:
Lluís Batlle i Rossell 2014-01-15 16:39:45 +01:00
parent 36fd5f1cce
commit f046d9bd08
1 changed files with 9 additions and 8 deletions
pkgs/applications/video/mpv

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchgit, freetype, pkgconfig, freefont_ttf, ffmpeg, libass { stdenv, fetchurl, fetchgit, freetype, pkgconfig, freefont_ttf, ffmpeg, libass
, lua5, perl, libpthreadstubs , lua5, perl, libpthreadstubs, openssl
, python3, docutils, which , python3, docutils, which
, x11Support ? true, libX11 ? null, libXext ? null, mesa ? null, libXxf86vm ? null , x11Support ? true, libX11 ? null, libXext ? null, mesa ? null, libXxf86vm ? null
, xineramaSupport ? true, libXinerama ? null , xineramaSupport ? true, libXinerama ? null
@ -50,21 +50,22 @@ let
waf = fetchurl { waf = fetchurl {
url = https://waf.googlecode.com/files/waf-1.7.13; url = https://waf.googlecode.com/files/waf-1.7.13;
sha256 = "03cc750049350ee01cdbc584b70924e333fcc17ba4a2d04648dab1535538a873"; sha256 = "03cc750049350ee01cdbc584b70924e333fcc17ba4a2d04648dab1535538a873";
}; };
version = "0.3.2";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mpv-20131222"; name = "mpv-${version}";
src = fetchgit { src = fetchurl {
url = "https://github.com/mpv-player/mpv.git"; url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz";
rev = "e6bea0ec5a"; sha256 = "1vzdhzry2adyp2yh2dmy1qznqhnzar7g24rhi0vv624jgd20qax2";
sha256 = "984c7d19b1916b7e5befc370ffb7f6c31e560c64c47090b924a115d00c35a1a8";
}; };
buildInputs = with stdenv.lib; buildInputs = with stdenv.lib;
[ waf freetype pkgconfig ffmpeg libass docutils which libpthreadstubs ] [ waf freetype pkgconfig ffmpeg libass docutils which libpthreadstubs openssl ]
++ optionals x11Support [ libX11 libXext mesa libXxf86vm ] ++ optionals x11Support [ libX11 libXext mesa libXxf86vm ]
++ optional alsaSupport alsaLib ++ optional alsaSupport alsaLib
++ optional xvSupport libXv ++ optional xvSupport libXv