pulseaudio 10.0

Closes #8489.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-01-21 07:20:13 -08:00
parent ec98bb8835
commit fca49876bb

View file

@ -1,9 +1,8 @@
class Pulseaudio < Formula
desc "Sound system for POSIX OSes"
homepage "https://wiki.freedesktop.org/www/Software/PulseAudio/"
url "https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-9.0.tar.xz"
sha256 "c3d3d66b827f18fbe903fe3df647013f09fc1e2191c035be1ee2d82a9e404686"
revision 2
url "https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-10.0.tar.xz"
sha256 "a3186824de9f0d2095ded5d0d0db0405dc73133983c2fbb37291547e37462f57"
bottle do
sha256 "f1db3d1981966e6b33fcb2f0f069192ed9a2d125a71e0083278ee01549a7fbb2" => :sierra
@ -13,6 +12,7 @@ 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
@ -20,7 +20,6 @@ class Pulseaudio < Formula
end
option "with-nls", "Build with native language support"
option :universal
depends_on "pkg-config" => :build
@ -36,17 +35,12 @@ class Pulseaudio < Formula
depends_on "openssl"
depends_on "dbus" => :recommended
depends_on "speex" => :recommended
depends_on "speexdsp" if build.with? "speex"
depends_on "glib" => :optional
depends_on "gconf" => :optional
depends_on "gtk+3" => :optional
depends_on "jack" => :optional
# i386 patch per MacPorts
patch :p0 do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/15fa4f03/pulseaudio/i386.patch"
sha256 "d3a2180600a4fbea538949b6c4e9e70fe7997495663334e50db96d18bfb1da5f"
end
fails_with :clang do
build 421
cause "error: thread-local storage is unsupported for the current target"
@ -59,18 +53,12 @@ class Pulseaudio < Formula
--prefix=#{prefix}
--enable-coreaudio-output
--disable-neon-opt
--with-mac-sysroot=/
--with-mac-sysroot=#{MacOS.sdk_path}
--with-mac-version-min=#{MacOS.version}
--disable-x11
]
args << "--with-mac-sysroot=#{MacOS.sdk_path}"
args << "--with-mac-version-min=#{MacOS.version}"
args << "--disable-nls" if build.without? "nls"
args << "--disable-x11"
if build.universal?
args << "--enable-mac-universal"
ENV.universal_binary
end
if build.head?
# autogen.sh runs bootstrap.sh then ./configure