diff options
| author | Sebastiano Poggi | 2015-01-29 15:27:01 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-29 17:48:42 +0000 |
| commit | fe048363e35ad636a1671cde647bdcb198f07ccd (patch) | |
| tree | bef0327f658b07d410e4d757e79dd3afae738f87 /Library | |
| parent | 678836f0faa338975c337c138eef6ff2a4eba26a (diff) | |
| download | homebrew-fe048363e35ad636a1671cde647bdcb198f07ccd.tar.bz2 | |
ffmpeg: add webp option.
Closes #36354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ffmpeg.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/ffmpeg.rb b/Library/Formula/ffmpeg.rb index 1d7b2cb73..9f62da207 100644 --- a/Library/Formula/ffmpeg.rb +++ b/Library/Formula/ffmpeg.rb @@ -29,6 +29,7 @@ class Ffmpeg < Formula option "with-libvidstab", "Enable vid.stab support for video stabilization" option "with-x265", "Enable x265 encoder" option "with-libsoxr", "Enable the soxr resample library" + option "with-webp", "Enable using libwebp to encode WEBP images" depends_on "pkg-config" => :build @@ -64,6 +65,7 @@ class Ffmpeg < Formula depends_on "libvidstab" => :optional depends_on "x265" => :optional depends_on "openssl" => :optional + depends_on "webp" => :optional def install args = ["--prefix=#{prefix}", @@ -104,6 +106,7 @@ class Ffmpeg < Formula args << "--enable-libquvi" if build.with? "libquvi" args << "--enable-libvidstab" if build.with? "libvidstab" args << "--enable-libx265" if build.with? "x265" + args << "--enable-libwebp" if build.with? "webp" args << "--disable-indev=qtkit" if build.without? "qtkit" if build.with? "openjpeg" |
