forked from mirrors/nixpkgs
Merge pull request #108155 from primeos/libplacebo
libplacebo: 2.72.2 -> 3.104.0
This commit is contained in:
commit
85b23ec5e5
|
@ -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/
|
||||
'';
|
||||
|
|
|
@ -11,11 +11,13 @@
|
|||
, glslang
|
||||
, lcms2
|
||||
, epoxy
|
||||
, libGL
|
||||
, xorg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libplacebo";
|
||||
version = "2.72.2";
|
||||
version = "3.104.0";
|
||||
|
||||
patches = [
|
||||
./glsl-import.patch
|
||||
|
@ -26,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
owner = "videolan";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1ijqpx1pagc6qg63ynqrinvckwc8aaw1i0lx48gg5szwk8afib4i";
|
||||
sha256 = "0p5mx8ch7cp7b54yrkl4fs8bcvqma1h461gx6ps4kagn4dsx8asb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -43,6 +45,8 @@ stdenv.mkDerivation rec {
|
|||
glslang
|
||||
lcms2
|
||||
epoxy
|
||||
libGL
|
||||
xorg.libX11
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
|
|
Loading…
Reference in a new issue