Hydrogen coding team - Packaging: Mac OS X
[(December 16 2009) NOTE: this page is quite obsolete. There is a more up to date description of how to build Hydrogen for mac osx on http://trac.assembla.com/hydrogen/wiki/development%3AcompileOSX]
Requirements
- QT 4.1.3 Mac: ftp://ftp.trolltech.com/qt/source/qt-mac-opensource-src-4.1.3.tar.gz
- LADSPA SDK: http://www.ladspa.org/download/ladspa_sdk_1.12.tgz
- libFLAC: http://prdownloads.sourceforge.net/flac/flac-1.1.2.tar.gz?download
- libsndfile: http://www.mega-nerd.com/libsndfile/libsndfile-1.0.15.tar.gz
- libtar: ftp://ftp.feep.net/pub/software/libtar/libtar-1.2.11.tar.gz
Building libraries
Compile QT4
# To compile "universal binaries": # ./configure --prefix=/usr/local/qt4-mac/ -release -static -no-framework -universal To compile intel or ppc binary: ./configure --prefix=/usr/local/qt4-mac/ -release -static -pch -no-framework make sudo make install
LADSPA
sudo cp ladspa.h /usr/include
libSndFile
./configure --prefix=/usr --disable-shared make sudo make install
libtar
./configure --prefix=/usr make sudo make install
FLAC
./configure --prefix=/usr --disable-sse --disable-altivec --disable-3dnow --disable-asm-optimizations --disable-shared make sudo make install sudo nano /usr/include/FLAC++/metadata.h (comment line 859, save the file)
Building Hydrogen
export QTDIR=/usr/local/qt4-mac ./configure --prefix=/usr make