mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
dav1d: 0.5.2 -> 0.6.0 (#81900)
This commit is contained in:
parent
d3f3e83c47
commit
4babdd0bac
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitLab
|
||||
{ stdenv, fetchFromGitLab, fetchpatch
|
||||
, meson, ninja, nasm, pkgconfig
|
||||
, withTools ? false # "dav1d" binary
|
||||
, withExamples ? false, SDL2 # "dav1dplay" binary
|
||||
@ -9,16 +9,23 @@ assert useVulkan -> withExamples;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dav1d";
|
||||
version = "0.5.2";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "code.videolan.org";
|
||||
owner = "videolan";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0acxlgyz6c8ckw8vfgn60y2zg2n00l5xsq5jlxvwbh5w5pkc3ahf";
|
||||
sha256 = "1gr859xzbqrsp892v9zzzgrg8smnnzgc1jmb68qzl54a4g6jrxm0";
|
||||
};
|
||||
|
||||
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
|
||||
@ -38,6 +45,8 @@ stdenv.mkDerivation rec {
|
||||
subsampling and bit-depth parameters.
|
||||
'';
|
||||
inherit (src.meta) homepage;
|
||||
changelog = "https://code.videolan.org/videolan/dav1d/-/tags/${version}";
|
||||
# More technical: https://code.videolan.org/videolan/dav1d/blob/${version}/NEWS
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
|
Loading…
Reference in New Issue
Block a user