Merge pull request #108002 from marsam/update-libvmaf

libvmaf: 1.5.3 -> 2.1.0
This commit is contained in:
Mario Rodas 2021-01-07 05:48:15 -05:00 committed by GitHub
commit 4aa45aebe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,24 +2,28 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libvmaf"; pname = "libvmaf";
version = "1.5.3"; version = "2.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "netflix"; owner = "netflix";
repo = "vmaf"; repo = "vmaf";
rev = "v${version}"; rev = "v${version}";
sha256 = "0x3l3g0hgrrjh3ygmxr1pd3rd5589s07c7id35nvj76ch5b7gy63"; sha256 = "0gh4zwz975x9kvqdmzs45f96rk99apay57jc68rc8c2xm7gfis58";
}; };
sourceRoot = "source/libvmaf"; sourceRoot = "source/libvmaf";
nativeBuildInputs = [ meson ninja nasm ]; nativeBuildInputs = [ meson ninja nasm ];
mesonFlags = [ "-Denable_avx512=true" ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
doCheck = true; doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/Netflix/vmaf"; homepage = "https://github.com/Netflix/vmaf";
description = "Perceptual video quality assessment based on multi-method fusion (VMAF)"; description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
changelog = "https://github.com/Netflix/vmaf/blob/v${version}/CHANGELOG.md";
platforms = platforms.unix; platforms = platforms.unix;
license = licenses.bsd2Patent; license = licenses.bsd2Patent;
maintainers = [ maintainers.cfsmp3 maintainers.marsam ]; maintainers = [ maintainers.cfsmp3 maintainers.marsam ];