aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2011-12-22 11:01:52 -0600
committerMisty De Meo2011-12-22 11:08:19 -0600
commitb61e482be2b0d1d470bde63e285296144654ef6a (patch)
tree9c1e9de7631768a5736ef14ab53984ca370c352a /Library/Formula
parentc56c38558032ea0cf407198a9253880c6b072ec2 (diff)
downloadhomebrew-b61e482be2b0d1d470bde63e285296144654ef6a.tar.bz2
portaudio v19_20111121
Update portaudio to the latest stable version. This eliminates the patches used in the previous formula. PyAudio doesn't seem to build against this version, but it wasn't building against the previous version either.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/portaudio.rb21
1 files changed, 9 insertions, 12 deletions
diff --git a/Library/Formula/portaudio.rb b/Library/Formula/portaudio.rb
index 781fcc32a..b0e7dc77c 100644
--- a/Library/Formula/portaudio.rb
+++ b/Library/Formula/portaudio.rb
@@ -1,9 +1,9 @@
require 'formula'
class Portaudio < Formula
- url 'http://www.portaudio.com/archives/pa_stable_v19_20071207.tar.gz'
+ url 'http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz'
homepage 'http://www.portaudio.com'
- md5 'd2943e4469834b25afe62cc51adc025f'
+ md5 '25c85c1cc5e9e657486cbc299c6c035a'
depends_on 'pkg-config' => :build
@@ -13,19 +13,16 @@ class Portaudio < Formula
[["--universal", "Build a universal binary."]]
end
- # Use the MacPort patches that fix compiling against newer OS X SDKs
- def patches
- {:p0 => [
- "https://trac.macports.org/export/77586/trunk/dports/audio/portaudio/files/patch-configure",
- "https://trac.macports.org/export/77586/trunk/dports/audio/portaudio/files/patch-src__hostapi__coreaudio__pa_mac_core.c",
- "https://trac.macports.org/export/77586/trunk/dports/audio/portaudio/files/patch-src__common__pa_types.h"
- ]}
- end unless MacOS.leopard?
-
def install
ENV.universal_binary if ARGV.build_universal?
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ args = [ "--prefix=#{prefix}",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ # portaudio builds universal unless told not to
+ "--enable-mac-universal=#{ARGV.build_universal? ? 'yes' : 'no'}" ]
+
+ system "./configure", *args
system "make install"
# Need 'pa_mac_core.h' to compile PyAudio