ffmbc: remove options

Closes #32625.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2018-10-02 13:54:26 +02:00
parent dbc1bcd3e9
commit ee4071b489

View file

@ -5,7 +5,7 @@ class Ffmbc < Formula
# whose content is identical to the github link below # whose content is identical to the github link below
url "https://github.com/darealshinji/ffmbc/archive/v0.7.2.tar.gz" url "https://github.com/darealshinji/ffmbc/archive/v0.7.2.tar.gz"
sha256 "0a3807160ba0701225bfe9cfcae8fba662990f46932b2eb105e434c751c8944f" sha256 "0a3807160ba0701225bfe9cfcae8fba662990f46932b2eb105e434c751c8944f"
revision 6 revision 7
bottle do bottle do
rebuild 1 rebuild 1
@ -19,30 +19,29 @@ class Ffmbc < Formula
depends_on "yasm" => :build depends_on "yasm" => :build
depends_on "faac" depends_on "faac"
depends_on "lame" depends_on "lame"
depends_on "libvorbis"
depends_on "theora"
depends_on "x264" depends_on "x264"
depends_on "xvid" depends_on "xvid"
depends_on "libvorbis" => :optional
depends_on "libvpx" => :optional
depends_on "theora" => :optional
patch :DATA # fix man page generation, fixed in upstream ffmpeg patch :DATA # fix man page generation, fixed in upstream ffmpeg
def install def install
args = ["--prefix=#{prefix}", args = %W[
"--disable-debug", --prefix=#{prefix}
"--disable-indev=jack", --cc=#{ENV.cc}
"--disable-shared", --disable-debug
"--enable-gpl", --disable-indev=jack
"--enable-libfaac", --disable-shared
"--enable-libmp3lame", --enable-gpl
"--enable-libx264", --enable-libfaac
"--enable-libxvid", --enable-libmp3lame
"--enable-nonfree", --enable-libtheora
"--cc=#{ENV.cc}"] --enable-libvorbis
--enable-libx264
args << "--enable-libtheora" if build.with? "theora" --enable-libxvid
args << "--enable-libvorbis" if build.with? "libvorbis" --enable-nonfree
args << "--enable-libvpx" if build.with? "libvpx" ]
system "./configure", *args system "./configure", *args
system "make" system "make"