diff --git a/Formula/sdl_mixer.rb b/Formula/sdl_mixer.rb index 2e347de71c..9a864825aa 100644 --- a/Formula/sdl_mixer.rb +++ b/Formula/sdl_mixer.rb @@ -3,7 +3,7 @@ class SdlMixer < Formula homepage "https://www.libsdl.org/projects/SDL_mixer/" url "https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz" sha256 "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" - revision 1 + revision 2 bottle do cellar :any @@ -13,12 +13,13 @@ class SdlMixer < Formula end depends_on "pkg-config" => :build + depends_on "libogg" + depends_on "libvorbis" depends_on "sdl" depends_on "flac" => :optional depends_on "fluid-synth" => :optional depends_on "smpeg" => :optional depends_on "libmikmod" => :optional - depends_on "libvorbis" => :optional def install inreplace "SDL_mixer.pc.in", "@prefix@", HOMEBREW_PREFIX @@ -26,11 +27,12 @@ class SdlMixer < Formula args = %W[ --prefix=#{prefix} --disable-dependency-tracking + --enable-music-ogg + --disable-music-ogg-shared ] args << "--disable-music-mod-shared" if build.with? "libmikmod" args << "--disable-music-fluidsynth-shared" if build.with? "fluid-synth" - args << "--disable-music-ogg-shared" if build.with? "libvorbis" args << "--disable-music-flac-shared" if build.with? "flac" args << "--disable-music-mp3-shared" if build.with? "smpeg"