Merge pull request #207624 from Madouura/pr/svt-av1

svt-av1: 1.2.1 -> 1.4.1
This commit is contained in:
Jonas Heinrich 2022-12-29 14:48:23 +01:00 committed by GitHub
commit f6f53180d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,35 @@
{ lib, stdenv, fetchFromGitLab, cmake, nasm }:
{ lib
, stdenv
, fetchFromGitLab
, gitUpdater
, cmake
, nasm
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "svt-av1";
version = "1.2.1";
version = "1.4.1";
src = fetchFromGitLab {
owner = "AOMediaCodec";
repo = "SVT-AV1";
rev = "v${version}";
sha256 = "sha256-gK2Yabh9AwAX1AecOPGTOthE4ENCA4NIjwWNJNkXxJc=";
rev = "v${finalAttrs.version}";
sha256 = "sha256-jmr5egbuqLnBW7OFuaQk3F4s5xqTpXhWcJAfZySGWeU=";
};
nativeBuildInputs = [ cmake nasm ];
nativeBuildInputs = [
cmake
nasm
];
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; {
homepage = "https://gitlab.com/AOMediaCodec/SVT-AV1";
description = "AV1-compliant encoder/decoder library core";
longDescription = ''
The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is an
AV1-compliant encoder/decoder library core. The SVT-AV1 encoder
@ -23,14 +38,11 @@ stdenv.mkDerivation rec {
SVT-AV1 decoder implementation is targeting future codec research
activities.
'';
inherit (src.meta) homepage;
changelog = "https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/v${version}/CHANGELOG.md";
license = with licenses; [
aom
bsd3
];
changelog = "https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/v${finalAttrs.version}/CHANGELOG.md";
license = with licenses; [ aom bsd3 ];
maintainers = with maintainers; [ Madouura ];
platforms = platforms.unix;
broken = stdenv.isAarch64; # undefined reference to `cpuinfo_arm_linux_init'
maintainers = with maintainers; [ Madouura ];
};
}
})