dav1d: 0.6.0 -> 0.7.0

This commit is contained in:
Michael Weiss 2020-05-20 19:39:39 +02:00
parent 766674de5f
commit b1b307327c
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitLab, fetchpatch
{ stdenv, fetchFromGitLab
, meson, ninja, nasm, pkgconfig
, withTools ? false # "dav1d" binary
, withExamples ? false, SDL2 # "dav1dplay" binary
@ -9,23 +9,16 @@ assert useVulkan -> withExamples;
stdenv.mkDerivation rec {
pname = "dav1d";
version = "0.6.0";
version = "0.7.0";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = pname;
rev = version;
sha256 = "1gr859xzbqrsp892v9zzzgrg8smnnzgc1jmb68qzl54a4g6jrxm0";
sha256 = "0zmn4ald518vgs3cc0ga227aimr38h16mkliq5j8mg6p9dn7nx1w";
};
patches = [
(fetchpatch {
url = "https://code.videolan.org/videolan/dav1d/-/commit/e04227c5f6729b460e0b8e5fb52eae2d5acd15ef.patch";
sha256 = "18mpvwviqx0x9k6av98vgpjqlzcjd89g8496zsbf57bw5dadij3l";
})
];
nativeBuildInputs = [ meson ninja nasm pkgconfig ];
# TODO: doxygen (currently only HTML and not build by default).
buildInputs = stdenv.lib.optional withExamples SDL2