From 12e0591d009285c6ea197092f776eed5d1c86633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karen/=E3=81=82=E3=81=91=E3=81=BF?= Date: Fri, 15 Oct 2021 14:03:48 -0700 Subject: [PATCH] ffmpeg: Always install SDL as a dependency because ffmpeg bottles link against it. Fixes issues #410 and #721. --- Library/Formula/ffmpeg.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index b93a34cb54..8886163371 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -43,6 +43,9 @@ class Ffmpeg < Formula depends_on "texi2html" => :build depends_on "yasm" => :build + # Always install SDL as a dependency because ffmpeg bottles link against it. + depends_on "sdl" + depends_on "x264" => :recommended depends_on "lame" => :recommended depends_on "libvo-aacenc" => :recommended @@ -58,7 +61,6 @@ class Ffmpeg < Formula depends_on "opencore-amr" => :optional depends_on "libass" => :optional depends_on "openjpeg" => :optional - depends_on "sdl" if build.with? "ffplay" depends_on "speex" => :optional depends_on "schroedinger" => :optional depends_on "fdk-aac" => :optional