Unverified Commit 8030c645 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

Revert Merge #214786: libvmaf: fix build for BSD

This reverts commit a55d7e3b, reversing
changes made to 547f6ab7.
This casused way too big rebuild and doesn't seem urgent.
parent 17e1b696
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, fetchpatch, meson, ninja, nasm }:
{ lib, stdenv, fetchFromGitHub, meson, ninja, nasm }:

stdenv.mkDerivation rec {
  pname = "libvmaf";
@@ -13,15 +13,6 @@ stdenv.mkDerivation rec {

  sourceRoot = "source/libvmaf";

  patches = [
    # Backport fix for non-Linux, non-Darwin platforms.
    (fetchpatch {
      url = "https://github.com/Netflix/vmaf/commit/f47640f9ffee9494571bd7c9622e353660c93fc4.patch";
      stripLen = 1;
      sha256 = "rsTKuqp8VJG5DBDpixPke3LrdfjKzUO945i+iL0n7CY=";
    })
  ];

  nativeBuildInputs = [ meson ninja nasm ];

  mesonFlags = [ "-Denable_avx512=true" ];