mxcl/homebrew — pull request #15866 by adammw (2012-11-05 13:21:12+00:00)
Title: pulseaudio 2

Continuation of #9226, updated for pulseaudio 2.1 and posted for review.

Two upstream bugs make this slightly ugly:
1. [FreeDesktop #55152 - Fix hardcoded Xcode/SDK paths in configure script](https://bugs.freedesktop.org/show_bug.cgi?id=55152)
2. [FreeDesktop #55154 - Fix default configuration to detect CoreAudio modules](https://bugs.freedesktop.org/show_bug.cgi?id=55154)

The first bug is hopefully worked around by setting the `--with-mac-sysroot` configure script parameter to Homebrew's Detected Mac OS SDK Path. Please advise if this in fact works with odd SDK locations as I have not extensively tested it.

The second bug I have not included a patch for as it can be worked around by the user by editing the configuration files, which they should do anyway if they are using it as a networked audio server and want to accept clients. [A patch for the older pulseaudio 1.1](https://gist.github.com/1633642#file_detect_coreaudio.patch) could also be reworked and included if this is too much of an issue/pain. That being said, I'm also not sure if having configuration files within the prefix directory is in Homebrew's preferred style - upgrading could potentially be a pain.

This pull request has stagnated for almost 2 months so I'm no longer completely up-to-speed on what's going on, hopefully it is either acceptable or there are only minor changes required for it to be merged.