2012-08-29 21:31:01 -07:00
..
2012-08-26 19:29:53 -07:00
2011-07-16 15:59:13 +08:00
2012-08-29 21:31:01 -07:00
2011-04-20 20:58:56 +08:00
2012-07-23 09:42:42 -07:00

Building the OS X bundle

Using MacPorts install build dependencies:

port install git-core autoconf automake intltool yasm.

Download and build wxWidgets 2.9+, example configure flags:

./configure --prefix=$HOME/usr --disable-shared --with-osx_cocoa \
    --with-jpeg=builtin --with-png=builtin --with-regex=builtin \
    --with-tiff=builtin --with-zlib=builtin --with-expat=builtin
make && make install

Copy the wxWidgets m4 macro to the MacPorts tree:

sudo cp $HOME/usr/share/aclocal/wxwin.m4 /opt/local/share/aclocal/

Download and build FFmpeg, example configure flags:

./configure  --prefix=$HOME/usr --disable-shared --disable-debug --disable-doc \
    --enable-gpl --enable-version3 --disable-nonfree --disable-ffmpeg --disable-ffplay \
    --disable-ffprobe --disable-ffserver --disable-avdevice --disable-swscale \
    --disable-postproc --enable-pthreads --disable-encoders --disable-muxers \
    --disable-devices --disable-filters --disable-swresample
make && make install

Clone and build Spek, example configure flags:

PKG_CONFIG_PATH=$HOME/usr/lib/pkgconfig ./autogen.sh --with-wx-config=$HOME/usr/bin/wx-config

Bundle Spek:

./dist/osx/bundle.sh