Disabled libvmaf for ffmpeg-full on darwin. Added postFixup to libvmaf. Removed period at end of description.

This commit is contained in:
Carlos Fernandez Sanz 2019-10-22 10:33:30 -07:00
parent 1566b1e2f3
commit 420f0adca5
2 changed files with 7 additions and 1 deletions

View File

@ -15,11 +15,16 @@ stdenv.mkDerivation rec {
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).";
description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
platforms = platforms.linux;
license = licenses.asl20;
maintainers = [ maintainers.cfsmp3 ];

View File

@ -10801,6 +10801,7 @@ in
frei0r = if stdenv.isDarwin then null else frei0r;
game-music-emu = if stdenv.isDarwin then null else game-music-emu;
libjack2 = if stdenv.isDarwin then null else libjack2;
libvmaf = if stdenv.isDarwin then null else libvmaf;
libmodplug = if stdenv.isDarwin then null else libmodplug;
openal = if stdenv.isDarwin then null else openal;
libmfx = if stdenv.isDarwin then null else intel-media-sdk;