dav1d: 0.8.1 -> 0.8.2 (#114141)
This commit is contained in:
parent
b0c1c1b8d9
commit
5dcd93de33
|
@ -1,5 +1,6 @@
|
||||||
{ lib, stdenv, fetchFromGitLab
|
{ lib, stdenv, fetchFromGitLab
|
||||||
, meson, ninja, nasm, pkg-config
|
, meson, ninja, nasm, pkg-config
|
||||||
|
, xxHash
|
||||||
, withTools ? false # "dav1d" binary
|
, withTools ? false # "dav1d" binary
|
||||||
, withExamples ? false, SDL2 # "dav1dplay" binary
|
, withExamples ? false, SDL2 # "dav1dplay" binary
|
||||||
, useVulkan ? false, libplacebo, vulkan-loader, vulkan-headers
|
, useVulkan ? false, libplacebo, vulkan-loader, vulkan-headers
|
||||||
|
@ -9,19 +10,20 @@ assert useVulkan -> withExamples;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dav1d";
|
pname = "dav1d";
|
||||||
version = "0.8.1";
|
version = "0.8.2";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "code.videolan.org";
|
domain = "code.videolan.org";
|
||||||
owner = "videolan";
|
owner = "videolan";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1820fpmmq1vxjzjmza6ydk4fgxipb8gmcc5skybki64qn7410v7x";
|
sha256 = "0plmnxpz66yv3nqv1kgbyyfnwfqi9dqs0zbsdj488i6464a1m6si";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja nasm pkg-config ];
|
nativeBuildInputs = [ meson ninja nasm pkg-config ];
|
||||||
# TODO: doxygen (currently only HTML and not build by default).
|
# 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 ];
|
++ lib.optionals useVulkan [ libplacebo vulkan-loader vulkan-headers ];
|
||||||
|
|
||||||
mesonFlags= [
|
mesonFlags= [
|
||||||
|
|
Loading…
Reference in New Issue