mpv: fix build with libva 2
This commit is contained in:
parent
b29c78df66
commit
745be0cb61
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fetchFromGitHub, makeWrapper
|
{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, makeWrapper
|
||||||
, docutils, perl, pkgconfig, python3, which, ffmpeg
|
, docutils, perl, pkgconfig, python3, which, ffmpeg
|
||||||
, freefont_ttf, freetype, libass, libpthreadstubs
|
, freefont_ttf, freetype, libass, libpthreadstubs
|
||||||
, lua, lua5_sockets, libuchardet, libiconv ? null, darwin
|
, lua, lua5_sockets, libuchardet, libiconv ? null, darwin
|
||||||
@ -90,7 +90,14 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "0746kmsg69675y5c70vn8imcr9d1zpjz97f27xr1vx00yjpd518v";
|
sha256 = "0746kmsg69675y5c70vn8imcr9d1zpjz97f27xr1vx00yjpd518v";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/mpv-player/mpv/commit/2ecf240b1cd20875991a5b18efafbe799864ff7f.patch";
|
||||||
|
sha256 = "1sr0770rvhsgz8d7ysr9qqp4g9gwdhgj8g3rgnz90wl49lgrykhb";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
patchShebangs ./TOOLS/
|
patchShebangs ./TOOLS/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user