osx: Run make check when bundling

This commit is contained in:
Alexander Kojevnikov 2013-09-13 10:21:34 -07:00
parent 7dcb3e16de
commit ba58ef7d3a
2 changed files with 5 additions and 4 deletions

5
dist/osx/README.md vendored
View File

@ -2,7 +2,7 @@
Using [MacPorts](http://www.macports.org/) install build dependencies:
port install autoconf automake gcc47 git-core intltool upx yasm.
port install autoconf automake gcc48 git-core intltool upx yasm
Download and build wxWidgets 2.9+, example configure flags:
@ -24,7 +24,8 @@ Download and build libopus, example configure flags:
Download and build FFmpeg, example configure flags:
./configure --prefix=$HOME/usr --enable-gpl --enable-version3 \
PKG_CONFIG_PATH=$HOME/usr/lib/pkgconfig ./configure \
--prefix=$HOME/usr --enable-gpl --enable-version3 \
--enable-runtime-cpudetect --enable-pthreads \
--disable-shared --disable-debug --disable-doc \
--disable-nonfree --disable-programs --disable-avdevice \

4
dist/osx/bundle.sh vendored
View File

@ -7,9 +7,9 @@ cd $(dirname $0)/../..
rm -f src/spek
PKG_CONFIG_PATH=$INSTALL_PATH/lib/pkgconfig CXX=/opt/local/bin/g++-mp-4.7 \
PKG_CONFIG_PATH=$INSTALL_PATH/lib/pkgconfig CXX=/opt/local/bin/g++-mp-4.8 \
./autogen.sh --with-wx-config=$INSTALL_PATH/bin/wx-config \
&& make || exit 1
&& make && make check || exit 1
strip src/spek
upx src/spek