Skip to content
This repository was archived by the owner on Jan 5, 2019. It is now read-only.

Building from source

zonque edited this page May 26, 2011 · 9 revisions

git

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.

Source code repositories

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.

MacPorts

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 json-c

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.

Building

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.

Clone this wiki locally