libplacebo: 2.72.2 -> 3.104.0

This commit is contained in:
Michael Weiss
2021-01-09 17:56:35 +01:00
parent 288fb1f2ba
commit 7d8351f4d7
2 changed files with 15 additions and 3 deletions
+9 -1
View File
@@ -1,4 +1,4 @@
{ config, stdenv, fetchFromGitHub
{ config, stdenv, fetchFromGitHub, fetchpatch
, addOpenGLRunpath, docutils, perl, pkgconfig, python3, wafHook, which
, ffmpeg, freefont_ttf, freetype, libass, libpthreadstubs, mujs
, nv-codec-headers, lua, libuchardet, libiconv ? null
@@ -104,6 +104,14 @@ in stdenv.mkDerivation rec {
sha256 = "sha256-3l32qQBpvWVjbLp5CZtO039oDQeH7C/cNAKtJxrzlRk=";
};
patches = [
# To make mpv build with libplacebo 3.104.0:
(fetchpatch { # vo_gpu: placebo: update for upstream API changes
url = "https://github.com/mpv-player/mpv/commit/7c4465cefb27d4e0d07535d368febdf77b579566.patch";
sha256 = "1yfc6220ak5kc5kf7zklmsa944nr9q0qaa27l507pgrmvcyiyzrx";
})
];
postPatch = ''
patchShebangs ./TOOLS/
'';