libplacebo: 1.29.1 -> 2.72.0 (#93198)

This commit is contained in:
Michael Weiss 2020-07-16 11:20:57 +02:00 committed by GitHub
parent 09fc4bd09d
commit e285da460d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,32 +2,33 @@
, fetchFromGitLab
, meson
, ninja
, pkgconfig
, pkg-config
, python3Packages
, vulkan-headers
, vulkan-loader
, shaderc
, glslang
, lcms2
, epoxy
}:
stdenv.mkDerivation rec {
pname = "libplacebo";
version = "1.29.1";
version = "2.72.0";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = pname;
rev = "v${version}";
sha256 = "1ly5bwy0pwgvqigpaak8hnig5hksjwf0pzvj3mdv3j2f6f7ya2zz";
sha256 = "1yhf9xyxdawbihsx89dpjlac800wrmpwx63rphad2nj225y9q40f";
};
postPatch = "substituteInPlace meson.build --replace 1.29.0 1.29.1";
nativeBuildInputs = [
meson
ninja
pkgconfig
pkg-config
python3Packages.Mako
];
buildInputs = [
@ -36,13 +37,25 @@ stdenv.mkDerivation rec {
shaderc
glslang
lcms2
epoxy
];
mesonFlags = [
"-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml"
];
meta = with stdenv.lib; {
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";
changelog = "https://code.videolan.org/videolan/libplacebo/-/tags/v${version}";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ tadeokondrak ];
maintainers = with maintainers; [ primeos tadeokondrak ];
platforms = platforms.all;
};
}