git.iko.soy/typeable/nixpkgs
on master help sign in
MPV: update to 0.7.0

Now quvi support was dropped by upstream, and MPV uses Youtube-dl directly. Another minor change is the update of Waf internal builder.

commit8d248638bb207d099883e94487de273e1f9b9760 authorAndersonTorres <torres.anderson.85@gmail.com> dateWed 26 Nov 2014, 23:43 (12 years ago) parent021efdf
2 files changed+8−9
pkgs/applications/video/mpv/default.nix+7−8 pkgs/top-level/all-packages.nix+1−1
pkgs/applications/video/mpv/default.nix+7−8
@@ -20,7 +20,7 @@
2020# For screenshots
2121, libpngSupport ? true, libpng ? null
2222# for Youtube support
23−, quviSupport ? false, libquvi ? null
23+, youtubeSupport ? false, youtubeDL ? null
2424, cacaSupport ? false, libcaca ? null
2525, vaapiSupport ? false, libva ? null
2626}:
@@ -41,7 +41,7 @@ assert jackaudioSupport -> jack2 != null;
4141assert pulseSupport -> pulseaudio != null;
4242assert bs2bSupport -> libbs2b != null;
4343assert libpngSupport -> libpng != null;
44−assert quviSupport -> libquvi != null;
44+assert youtubeSupport -> youtubeDL != null;
4545assert cacaSupport -> libcaca != null;
4646
4747# Purity problem: Waf needed to be is downloaded by bootstrap.py
@@ -50,19 +50,19 @@ assert cacaSupport -> libcaca != null;
5050
5151let
5252 waf = fetchurl {
53− url = http://ftp.waf.io/pub/release/waf-1.7.16;
54− sha256 = "b64dc26c882572415fd450b745006107965f3fe17b357e3eb43d6676c9635a61";
53+ url = http://ftp.waf.io/pub/release/waf-1.8.1;
54+ sha256 = "ec658116ba0b96629d91fde0b32321849e866e0819f1e835c4c2c7f7ffe1a21d";
5555 };
5656
5757in
5858
5959stdenv.mkDerivation rec {
6060 name = "mpv-${version}";
61− version = "0.6.2";
61+ version = "0.7.0";
6262
6363 src = fetchurl {
6464 url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz";
65− sha256 = "1s42i3vf8i86lx62kw00vvimjizvp8zpxdq53mqhdz1p5im2ylr0";
65+ sha256 = "0rz8dp44yag442gamaa2vdmf69h25gqh2bgybx89prkfh8n4hy8x";
6666 };
6767
6868 buildInputs = with stdenv.lib;
@@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
8282 ++ optional speexSupport speex
8383 ++ optional bs2bSupport libbs2b
8484 ++ optional libpngSupport libpng
85− ++ optional quviSupport libquvi
85+ ++ optional youtubeSupport youtubeDL
8686 ++ optional sdl2Support SDL2
8787 ++ optional cacaSupport libcaca
8888 ++ optional vaapiSupport libva
@@ -126,6 +126,5 @@ stdenv.mkDerivation rec {
126126}
127127
128128# TODO: Wayland support
129−# TODO: investigate libquvi problems (related to Youtube support)
130129# TODO: investigate caca support
131130# TODO: investigate lua5_sockets bug
pkgs/top-level/all-packages.nix+1−1
@@ -10227,7 +10227,7 @@ let
1022710227 lua = lua5_1;
1022810228 lua5_sockets = lua5_1_sockets;
1022910229 bs2bSupport = config.mpv.bs2bSupport or true;
10230− quviSupport = config.mpv.quviSupport or false;
10230+ youtubeSupport = config.mpv.youtubeSupport or true;
1023110231 cacaSupport = config.mpv.cacaSupport or true;
1023210232 vaapiSupport = config.mpv.vaapiSupport or false;
1023310233 };