Skip to content

Commit

Permalink
Add option --with-libxml2 which is needed for DASH support
Browse files Browse the repository at this point in the history
  • Loading branch information
Brmm authored and slhck committed Apr 24, 2019
1 parent 51c1ea8 commit 0a74c53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class Ffmpeg < Formula
option "with-zimg", "Enable z.lib zimg library"
option "with-srt", "Enable SRT library"
option "with-libvmaf", "Enable libvmaf scoring library"
option "with-libxml2", "Enable libxml2 library"

depends_on "nasm" => :build
depends_on "pkg-config" => :build
Expand Down Expand Up @@ -67,6 +68,7 @@ class Ffmpeg < Formula
depends_on "libssh" => :optional
depends_on "libvidstab" => :optional
depends_on "libvmaf" => :optional
depends_on "libxml2" => :optional
depends_on "opencore-amr" => :optional
depends_on "openh264" => :optional
depends_on "openjpeg" => :optional
Expand Down Expand Up @@ -137,6 +139,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-libxml2" if build.with? "libxml2"
args << "--enable-libxvid" if build.with? "xvid"
args << "--enable-libzimg" if build.with? "zimg"
args << "--enable-libzmq" if build.with? "zeromq"
Expand Down

0 comments on commit 0a74c53

Please sign in to comment.