mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
libvmaf: 1.3.15 -> 1.5.1
Changelog: https://github.com/Netflix/vmaf/releases/tag/v1.5.1
This commit is contained in:
parent
f727955f3b
commit
3b9dc545a9
1 changed files with 7 additions and 12 deletions
|
@ -1,31 +1,26 @@
|
|||
{ stdenv, fetchFromGitHub, autoconf, automake, intltool, libtool, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, meson, ninja }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libvmaf";
|
||||
version = "1.3.15";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "netflix";
|
||||
repo = "vmaf";
|
||||
rev = "v${version}";
|
||||
sha256="10kgcdf06hzhbl5r7zsllq88bxbyn282hfqx5i3hkp66fpq896d2";
|
||||
sha256 = "10fw53k9k4aq4p2qi5qkfjfnhldw4p5bbmxggf8220gfa95nvyl3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake intltool libtool pkgconfig ];
|
||||
sourceRoot = "source/libvmaf";
|
||||
|
||||
nativeBuildInputs = [ meson ninja ];
|
||||
outputs = [ "out" "dev" ];
|
||||
doCheck = true;
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace "$dev/lib/pkgconfig/libvmaf.pc" \
|
||||
--replace "includedir=/usr/local/include" "includedir=$dev"
|
||||
'';
|
||||
|
||||
makeFlags = [ "INSTALL_PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/Netflix/vmaf";
|
||||
description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.cfsmp3 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue