From 232e8760aa3ce6743e906d54499afe408eb4ad24 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Wed, 5 Sep 2018 14:21:17 +0200 Subject: [PATCH] pulseaudio: remove some options --- Formula/pulseaudio.rb | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/Formula/pulseaudio.rb b/Formula/pulseaudio.rb index 8607c1c42c..0f1dfe62b0 100644 --- a/Formula/pulseaudio.rb +++ b/Formula/pulseaudio.rb @@ -14,33 +14,20 @@ class Pulseaudio < Formula head do url "https://anongit.freedesktop.org/git/pulseaudio/pulseaudio.git" - depends_on "automake" => :build depends_on "autoconf" => :build - depends_on "intltool" => :build + depends_on "automake" => :build depends_on "gettext" => :build + depends_on "intltool" => :build end - option "with-nls", "Build with native language support" - - deprecated_option "without-speex" => "without-speexdsp" - depends_on "pkg-config" => :build - - if build.with? "nls" - depends_on "intltool" => :build - depends_on "gettext" => :build - end - - depends_on "libtool" depends_on "json-c" depends_on "libsndfile" depends_on "libsoxr" + depends_on "libtool" depends_on "openssl" - depends_on "speexdsp" => :recommended + depends_on "speexdsp" depends_on "glib" => :optional - depends_on "gconf" => :optional - depends_on "gtk+3" => :optional - depends_on "jack" => :optional fails_with :clang do build 421 @@ -54,13 +41,12 @@ class Pulseaudio < Formula --prefix=#{prefix} --enable-coreaudio-output --disable-neon-opt + --disable-nls + --disable-x11 --with-mac-sysroot=#{MacOS.sdk_path} --with-mac-version-min=#{MacOS.version} - --disable-x11 ] - args << "--disable-nls" if build.without? "nls" - if build.head? # autogen.sh runs bootstrap.sh then ./configure system "./autogen.sh", *args