mpv: add option to enable audio CD playback (#16549)

Add libcdio dependency and the option to enable it at compile time (it's not autodetected by default).
This commit is contained in:
gtm87x 2017-08-12 11:30:36 +02:00 committed by ilovezfs
parent fb9c93f111
commit 6b43f46bc5

View file

@ -35,6 +35,7 @@ class Mpv < Formula
depends_on "rubberband" => :optional
depends_on "uchardet" => :optional
depends_on "vapoursynth" => :optional
depends_on "libcdio" => :optional
depends_on :x11 => :optional
depends_on :macos => :mountain_lion
@ -71,6 +72,7 @@ class Mpv < Formula
args << "--enable-libbluray" if build.with? "libbluray"
args << "--enable-dvdnav" if build.with? "libdvdnav"
args << "--enable-dvdread" if build.with? "libdvdread"
args << "--enable-cdda" if build.with? "libcdio"
args << "--enable-pulse" if build.with? "pulseaudio"
system "./bootstrap.py"