From c1fb100a18a615ad2f2160efe3a6662baf310756 Mon Sep 17 00:00:00 2001 From: Werner Robitza Date: Sat, 23 Feb 2019 14:10:50 +0100 Subject: [PATCH] add --enable-version3 option for libvmaf --- Formula/ffmpeg.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Formula/ffmpeg.rb b/Formula/ffmpeg.rb index d9e92a3..e8e6998 100644 --- a/Formula/ffmpeg.rb +++ b/Formula/ffmpeg.rb @@ -142,8 +142,12 @@ def install args << "--enable-libzmq" if build.with? "zeromq" args << "--enable-openssl" if build.with? "openssl" - if build.with? "opencore-amr" + # packages that need additional license options + if build.with? "opencore-amr" or build.with? "libvmaf" args << "--enable-version3" + end + + if build.with? "opencore-amr" args << "--enable-libopencore-amrnb" args << "--enable-libopencore-amrwb" end