libplacebo: 1.29.1 -> 2.72.0 (#93198)
This commit is contained in:
parent
09fc4bd09d
commit
e285da460d
@ -2,32 +2,33 @@
|
|||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkgconfig
|
, pkg-config
|
||||||
|
, python3Packages
|
||||||
, vulkan-headers
|
, vulkan-headers
|
||||||
, vulkan-loader
|
, vulkan-loader
|
||||||
, shaderc
|
, shaderc
|
||||||
, glslang
|
, glslang
|
||||||
, lcms2
|
, lcms2
|
||||||
|
, epoxy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libplacebo";
|
pname = "libplacebo";
|
||||||
version = "1.29.1";
|
version = "2.72.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "code.videolan.org";
|
domain = "code.videolan.org";
|
||||||
owner = "videolan";
|
owner = "videolan";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1ly5bwy0pwgvqigpaak8hnig5hksjwf0pzvj3mdv3j2f6f7ya2zz";
|
sha256 = "1yhf9xyxdawbihsx89dpjlac800wrmpwx63rphad2nj225y9q40f";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = "substituteInPlace meson.build --replace 1.29.0 1.29.1";
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkgconfig
|
pkg-config
|
||||||
|
python3Packages.Mako
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -36,13 +37,25 @@ stdenv.mkDerivation rec {
|
|||||||
shaderc
|
shaderc
|
||||||
glslang
|
glslang
|
||||||
lcms2
|
lcms2
|
||||||
|
epoxy
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Reusable library for GPU-accelerated video/image rendering primitives";
|
description = "Reusable library for GPU-accelerated video/image rendering primitives";
|
||||||
|
longDescription = ''
|
||||||
|
Reusable library for GPU-accelerated image/view processing primitives and
|
||||||
|
shaders, as well a batteries-included, extensible, high-quality rendering
|
||||||
|
pipeline (similar to mpv's vo_gpu). Supports Vulkan, OpenGL and Metal (via
|
||||||
|
MoltenVK).
|
||||||
|
'';
|
||||||
homepage = "https://code.videolan.org/videolan/libplacebo";
|
homepage = "https://code.videolan.org/videolan/libplacebo";
|
||||||
|
changelog = "https://code.videolan.org/videolan/libplacebo/-/tags/v${version}";
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = with maintainers; [ tadeokondrak ];
|
maintainers = with maintainers; [ primeos tadeokondrak ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user