libplacebo: init at 1.1.8.0

This commit is contained in:
Tadeo Kondrak 2019-07-08 06:49:41 -06:00 committed by Michael Weiss
parent 81e643d2fd
commit 0a72c32723
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{ stdenv
, fetchFromGitLab
, meson
, ninja
, pkgconfig
, vulkan-headers
, vulkan-loader
, shaderc
, glslang
, lcms2
}:
stdenv.mkDerivation rec {
pname = "libplacebo";
version = "1.18.0";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = pname;
rev = "v${version}";
sha256 = "0ib12i2491piwiz0g5n5izr5jmn5fhwzicq97vfki3r7wrdb54mz";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
];
buildInputs = [
vulkan-headers
vulkan-loader
shaderc
glslang
lcms2
];
meta = with stdenv.lib; {
description = "Reusable library for GPU-accelerated video/image rendering primitives";
homepage = "https://code.videolan.org/videolan/libplacebo";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}

View File

@ -12268,6 +12268,8 @@ in
libphonenumber = callPackage ../development/libraries/libphonenumber { };
libplacebo = callPackage ../development/libraries/libplacebo { };
libpng = callPackage ../development/libraries/libpng { };
libpng_apng = libpng.override { apngSupport = true; };
libpng12 = callPackage ../development/libraries/libpng/12.nix { };