From 431c54d6f8f24460a67d7707f80c2482898ebca9 Mon Sep 17 00:00:00 2001 From: Hamuko Date: Thu, 8 Jun 2017 09:42:13 +0300 Subject: [PATCH] mpd: add option --with-libao (#14309) --- Formula/mpd.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/mpd.rb b/Formula/mpd.rb index 27601e0893..05c2a7c22d 100644 --- a/Formula/mpd.rb +++ b/Formula/mpd.rb @@ -61,6 +61,7 @@ class Mpd < Formula depends_on "mad" => :optional depends_on "libmodplug" => :optional # MODPlug decoder depends_on "pulseaudio" => :optional + depends_on "libao" => :optional # Output to libao if build.with? "upnp" depends_on "expat" depends_on "libupnp" @@ -95,6 +96,7 @@ class Mpd < Formula args << "--enable-nfs" if build.with? "libnfs" args << "--enable-modplug" if build.with? "libmodplug" args << "--enable-pulse" if build.with? "pulseaudio" + args << "--enable-ao" if build.with? "libao" if build.with? "upnp" args << "--enable-upnp" args << "--enable-expat"