ffmpeg: add librsvg optional dependency (#23219)

3.4 includes the ability to read svg documents if ffmpeg is built with --enable-libsrvg.
This commit is contained in:
Charles Lawrence 2018-01-25 23:32:01 -08:00 committed by ilovezfs
parent ee692bfd95
commit fb02b89d13

View file

@ -14,6 +14,7 @@ class Ffmpeg < Formula
option "with-chromaprint", "Enable the Chromaprint audio fingerprinting library"
option "with-fdk-aac", "Enable the Fraunhofer FDK AAC library"
option "with-libass", "Enable ASS/SSA subtitle format"
option "with-librsvg", "Enable SVG files as inputs via librsvg"
option "with-libsoxr", "Enable the soxr resample library"
option "with-libssh", "Enable SFTP protocol via libssh"
option "with-tesseract", "Enable the tesseract OCR engine"
@ -63,6 +64,7 @@ class Ffmpeg < Formula
depends_on "libcaca" => :optional
depends_on "libgsm" => :optional
depends_on "libmodplug" => :optional
depends_on "librsvg" => :optional
depends_on "libsoxr" => :optional
depends_on "libssh" => :optional
depends_on "libvidstab" => :optional
@ -121,6 +123,7 @@ class Ffmpeg < Formula
args << "--enable-libopencore-amrnb" << "--enable-libopencore-amrwb" if build.with? "opencore-amr"
args << "--enable-libopenh264" if build.with? "openh264"
args << "--enable-libopus" if build.with? "opus"
args << "--enable-librsvg" if build.with? "librsvg"
args << "--enable-librtmp" if build.with? "rtmpdump"
args << "--enable-librubberband" if build.with? "rubberband"
args << "--enable-libsnappy" if build.with? "snappy"