Commit 15492fe4 authored by Stefan Westerfeld's avatar Stefan Westerfeld

MISC: macbuild.sh: set pkg-config path for ffmpeg@4

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 68327fe0
......@@ -3,6 +3,8 @@ set -Eeo pipefail -x
# install dependencies
brew install autoconf-archive automake libsndfile fftw mpg123 libgcrypt libtool ffmpeg@4
export PKG_CONFIG_PATH="$(brew --prefix ffmpeg@4)/lib/pkgconfig:${PKG_CONFIG_PATH:-}"
export PATH="$(brew --prefix ffmpeg@4)/bin:$PATH"
# build zita-resampler
git clone https://github.com/swesterfeld/zita-resampler
......@@ -13,10 +15,11 @@ cd ..
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
# build audiowmark
./autogen.sh
make
make check
NPROC=`sysctl -n hw.ncpu`
make -j $NPROC
make -j $NPROC check
# build audiowmark with ffmpeg support
make clean
./autogen.sh --with-ffmpeg
make
make check
make -j $NPROC
make -j $NPROC check
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment