osx: Update dist/README

This commit is contained in:
Alexander Kojevnikov 2012-08-19 18:12:54 -07:00
parent 9f381eb03c
commit 4e87e70934
2 changed files with 34 additions and 21 deletions

21
dist/osx/README vendored

@ -1,21 +0,0 @@
Building the OS X bundle
========================
Install and configure [jhbuild][1] and [ige-mac-bundler][2].
Get the release tarball and unpack it somewhere. Also copy the tarball to ~/gtk/source/pkgs/.
Add this line to ~/.jhbuildrc-custom:
moduleset=os.environ['HOME'] + 'path/to/spek/dist/osx/spek.modules'
Run:
$ jhbuild build spek
$ jhbuild shell
$ dist/osx/bundle.sh
Note: On Lion, built in libiconv conflicts with the bundled version. To work around, accompany all jhbuild commands with `--skip=libiconv` so that everything uses the system version of the library (see issue 51).
[1]: http://sourceforge.net/apps/trac/gtk-osx/wiki/Build
[2]: http://sourceforge.net/apps/trac/gtk-osx/wiki/Bundle

34
dist/osx/README.md vendored Normal file

@ -0,0 +1,34 @@
# Building the OS X bundle
Using MacPorts install build dependencies:
port install git-core autoconf automake intltool yasm.
Download and build wxWidgets, 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