dav1d: 0.8.1 -> 0.8.2 (#114141)

This commit is contained in:
Michael Weiss 2021-02-24 16:56:37 +01:00 committed by GitHub
parent b0c1c1b8d9
commit 5dcd93de33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
{ lib, stdenv, fetchFromGitLab
, meson, ninja, nasm, pkg-config
, xxHash
, withTools ? false # "dav1d" binary
, withExamples ? false, SDL2 # "dav1dplay" binary
, useVulkan ? false, libplacebo, vulkan-loader, vulkan-headers
@ -9,19 +10,20 @@ assert useVulkan -> withExamples;
stdenv.mkDerivation rec {
pname = "dav1d";
version = "0.8.1";
version = "0.8.2";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = pname;
rev = version;
sha256 = "1820fpmmq1vxjzjmza6ydk4fgxipb8gmcc5skybki64qn7410v7x";
sha256 = "0plmnxpz66yv3nqv1kgbyyfnwfqi9dqs0zbsdj488i6464a1m6si";
};
nativeBuildInputs = [ meson ninja nasm pkg-config ];
# TODO: doxygen (currently only HTML and not build by default).
buildInputs = lib.optional withExamples SDL2
buildInputs = [ xxHash ]
++ lib.optional withExamples SDL2
++ lib.optionals useVulkan [ libplacebo vulkan-loader vulkan-headers ];
mesonFlags= [