pulseaudio 10.0
Closes #8489. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
ec98bb8835
commit
fca49876bb
1 changed files with 7 additions and 19 deletions
|
@ -1,9 +1,8 @@
|
||||||
class Pulseaudio < Formula
|
class Pulseaudio < Formula
|
||||||
desc "Sound system for POSIX OSes"
|
desc "Sound system for POSIX OSes"
|
||||||
homepage "https://wiki.freedesktop.org/www/Software/PulseAudio/"
|
homepage "https://wiki.freedesktop.org/www/Software/PulseAudio/"
|
||||||
url "https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-9.0.tar.xz"
|
url "https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-10.0.tar.xz"
|
||||||
sha256 "c3d3d66b827f18fbe903fe3df647013f09fc1e2191c035be1ee2d82a9e404686"
|
sha256 "a3186824de9f0d2095ded5d0d0db0405dc73133983c2fbb37291547e37462f57"
|
||||||
revision 2
|
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
sha256 "f1db3d1981966e6b33fcb2f0f069192ed9a2d125a71e0083278ee01549a7fbb2" => :sierra
|
sha256 "f1db3d1981966e6b33fcb2f0f069192ed9a2d125a71e0083278ee01549a7fbb2" => :sierra
|
||||||
|
@ -13,6 +12,7 @@ class Pulseaudio < Formula
|
||||||
|
|
||||||
head do
|
head do
|
||||||
url "https://anongit.freedesktop.org/git/pulseaudio/pulseaudio.git"
|
url "https://anongit.freedesktop.org/git/pulseaudio/pulseaudio.git"
|
||||||
|
|
||||||
depends_on "automake" => :build
|
depends_on "automake" => :build
|
||||||
depends_on "autoconf" => :build
|
depends_on "autoconf" => :build
|
||||||
depends_on "intltool" => :build
|
depends_on "intltool" => :build
|
||||||
|
@ -20,7 +20,6 @@ class Pulseaudio < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
option "with-nls", "Build with native language support"
|
option "with-nls", "Build with native language support"
|
||||||
option :universal
|
|
||||||
|
|
||||||
depends_on "pkg-config" => :build
|
depends_on "pkg-config" => :build
|
||||||
|
|
||||||
|
@ -36,17 +35,12 @@ class Pulseaudio < Formula
|
||||||
depends_on "openssl"
|
depends_on "openssl"
|
||||||
depends_on "dbus" => :recommended
|
depends_on "dbus" => :recommended
|
||||||
depends_on "speex" => :recommended
|
depends_on "speex" => :recommended
|
||||||
|
depends_on "speexdsp" if build.with? "speex"
|
||||||
depends_on "glib" => :optional
|
depends_on "glib" => :optional
|
||||||
depends_on "gconf" => :optional
|
depends_on "gconf" => :optional
|
||||||
depends_on "gtk+3" => :optional
|
depends_on "gtk+3" => :optional
|
||||||
depends_on "jack" => :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
|
fails_with :clang do
|
||||||
build 421
|
build 421
|
||||||
cause "error: thread-local storage is unsupported for the current target"
|
cause "error: thread-local storage is unsupported for the current target"
|
||||||
|
@ -59,18 +53,12 @@ class Pulseaudio < Formula
|
||||||
--prefix=#{prefix}
|
--prefix=#{prefix}
|
||||||
--enable-coreaudio-output
|
--enable-coreaudio-output
|
||||||
--disable-neon-opt
|
--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-nls" if build.without? "nls"
|
||||||
args << "--disable-x11"
|
|
||||||
|
|
||||||
if build.universal?
|
|
||||||
args << "--enable-mac-universal"
|
|
||||||
ENV.universal_binary
|
|
||||||
end
|
|
||||||
|
|
||||||
if build.head?
|
if build.head?
|
||||||
# autogen.sh runs bootstrap.sh then ./configure
|
# autogen.sh runs bootstrap.sh then ./configure
|
||||||
|
|
Loading…
Reference in a new issue