aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Tan2014-11-20 14:58:40 +0100
committerMike McQuaid2014-11-20 14:52:35 +0000
commit416a56bfff18a61022d76ee291e2415180cd328c (patch)
tree1e659e55b14d98a656b009b827b37844af41cfe8
parent6f938f6b9a152c95824a6ff4ecd07e4250eaccce (diff)
downloadhomebrew-416a56bfff18a61022d76ee291e2415180cd328c.tar.bz2
Add support for compiling with libfontconfig
Closes #34341. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/ffmpeg.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb
index 6d93f192d..91637ca94 100644
--- a/Library/Formula/ffmpeg.rb
+++ b/Library/Formula/ffmpeg.rb
@@ -43,6 +43,7 @@ class Ffmpeg < Formula
depends_on "lame" => :recommended
depends_on "xvid" => :recommended
+ depends_on "fontconfig" => :optional
depends_on "freetype" => :optional
depends_on "theora" => :optional
depends_on "libvorbis" => :optional
@@ -85,6 +86,7 @@ class Ffmpeg < Formula
args << "--enable-libmp3lame" if build.with? "lame"
args << "--enable-libxvid" if build.with? "xvid"
+ args << "--enable-libfontconfig" if build.with? "fontconfig"
args << "--enable-libfreetype" if build.with? "freetype"
args << "--enable-libtheora" if build.with? "theora"
args << "--enable-libvorbis" if build.with? "libvorbis"