Skip to content

Commit

Permalink
make xvid optional
Browse files Browse the repository at this point in the history
  • Loading branch information
slhck committed Feb 23, 2019
1 parent 022075b commit 3f8e445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class Ffmpeg < Formula
depends_on "theora"
depends_on "x264"
depends_on "x265"
depends_on "xvid"
depends_on "xz"

unless OS.mac?
Expand Down Expand Up @@ -79,6 +78,7 @@ class Ffmpeg < Formula
depends_on "two-lame" => :optional
depends_on "wavpack" => :optional
depends_on "webp" => :optional
depends_on "xvid" => :optional
depends_on "zeromq" => :optional
depends_on "zimg" => :optional

Expand All @@ -100,7 +100,6 @@ def install
--enable-libvpx
--enable-libx264
--enable-libx265
--enable-libxvid
--enable-libfontconfig
--enable-libfreetype
--enable-frei0r
Expand Down Expand Up @@ -137,6 +136,7 @@ def install
args << "--enable-libvmaf" if build.with? "libvmaf"
args << "--enable-libwavpack" if build.with? "wavpack"
args << "--enable-libwebp" if build.with? "webp"
args << "--enable-libxvid" if build.with? "xvid"
args << "--enable-libzimg" if build.with? "zimg"
args << "--enable-libzmq" if build.with? "zeromq"
args << "--enable-openssl" if build.with? "openssl"
Expand Down

0 comments on commit 3f8e445

Please sign in to comment.