diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-12-18 16:43:24 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-12-18 16:43:24 +0000 |
commit | 745be0cb61447c182bd6d1ee53faf159996d7075 (patch) | |
tree | 18c6bdff2d14c2e5a9210ddfd250c6575b1bd1b2 /pkgs/applications | |
parent | b29c78df662dcd4b2a4022603a5340f2da2c1a68 (diff) | |
download | nixlib-745be0cb61447c182bd6d1ee53faf159996d7075.tar nixlib-745be0cb61447c182bd6d1ee53faf159996d7075.tar.gz nixlib-745be0cb61447c182bd6d1ee53faf159996d7075.tar.bz2 nixlib-745be0cb61447c182bd6d1ee53faf159996d7075.tar.lz nixlib-745be0cb61447c182bd6d1ee53faf159996d7075.tar.xz nixlib-745be0cb61447c182bd6d1ee53faf159996d7075.tar.zst nixlib-745be0cb61447c182bd6d1ee53faf159996d7075.zip |
mpv: fix build with libva 2
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/video/mpv/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 680cad1ec252..7aaa1b65fc45 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, fetchFromGitHub, makeWrapper +{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, makeWrapper , docutils, perl, pkgconfig, python3, which, ffmpeg , freefont_ttf, freetype, libass, libpthreadstubs , lua, lua5_sockets, libuchardet, libiconv ? null, darwin @@ -90,7 +90,14 @@ in stdenv.mkDerivation rec { sha256 = "0746kmsg69675y5c70vn8imcr9d1zpjz97f27xr1vx00yjpd518v"; }; - patchPhase = '' + patches = [ + (fetchpatch { + url = "https://github.com/mpv-player/mpv/commit/2ecf240b1cd20875991a5b18efafbe799864ff7f.patch"; + sha256 = "1sr0770rvhsgz8d7ysr9qqp4g9gwdhgj8g3rgnz90wl49lgrykhb"; + }) + ]; + + postPatch = '' patchShebangs ./TOOLS/ ''; |