-
Notifications
You must be signed in to change notification settings - Fork 9
Building from source
If you want to be at PulseAudio's bleeding edge, you need to have git installed. There's a resource for git for Mac OS X which even has a nice installer.
You need to clone at least the PulseAudio and the PulseAudioOSX repositories:
$ git clone git://git.0pointer.de/pulseaudio.git
$ git clone git://github.com/zonque/PulseAudioOSX.git
The build process expects both repositories to share the same top-level directory.
PulseAudio depends on quite some libraries which need to be installed in order to make it build from the sources. Fortunately, Mac Ports provides all of them. Download and install it, following the instructions found on their side.
Once set up, you need at least to install the following packages:
$ sudo port install autoconf automake intltool libtool libsndfile speex-devel gdbm liboil
Make sure you add the path to the binaries built by Mac Ports to your @$PATH@ variable. This is usually @/opt/local/bin@. And since there are some binaries provided by Mac Ports that also ship with Mac OS X in older versions, make sure the Mac Ports path comes first in the list. Otherwise the build will break.
In the PulseAudioOSX git repository, there is a script that should take care for the build process entirely. Again, this script requires both the PulseAudio and the PulseAudioOSX trees to be located at the same top-level directory. And of course, you need to have all dependencies satisfied as described above.
Run the build script as follows:
$ cd PulseAudioOSX/deploy
$ ./deploy.sh
When finished, you should find a zipped installer package in PulseAudioOSX/deploy/output
.