Skip to content

Instantly share code, notes, and snippets.

@dudemeister
Created August 8, 2012 22:00
Show Gist options
  • Save dudemeister/3299191 to your computer and use it in GitHub Desktop.
Save dudemeister/3299191 to your computer and use it in GitHub Desktop.
osx106pulseaudio
require 'formula'
class Pulseaudio < Formula
url 'http://freedesktop.org/software/pulseaudio/releases/pulseaudio-1.1.tar.xz'
head 'git://anongit.freedesktop.org/pulseaudio/pulseaudio'
homepage 'http://www.pulseaudio.org/'
md5 '17d21df798cee407b769c6355fae397a'
depends_on "intltool"
depends_on "gettext"
depends_on "libsndfile"
depends_on "speex"
depends_on "json-c"
depends_on "libsamplerate"
def patches
[
"https://raw.github.com/gist/1633642/strip-udev.patch",
"https://raw.github.com/gist/1633642/detect-coreaudio.patch"
]
end
def install
system "./configure", "--prefix=#{prefix}", "--with-mac-sysroot=/Developer/SDKs/MacOSX10.6.sdk"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment