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:
parent
fb9c93f111
commit
6b43f46bc5
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue