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 ...@@ -3,6 +3,8 @@ set -Eeo pipefail -x
# install dependencies # install dependencies
brew install autoconf-archive automake libsndfile fftw mpg123 libgcrypt libtool ffmpeg@4 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 # build zita-resampler
git clone https://github.com/swesterfeld/zita-resampler git clone https://github.com/swesterfeld/zita-resampler
...@@ -13,10 +15,11 @@ cd .. ...@@ -13,10 +15,11 @@ cd ..
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
# build audiowmark # build audiowmark
./autogen.sh ./autogen.sh
make NPROC=`sysctl -n hw.ncpu`
make check make -j $NPROC
make -j $NPROC check
# build audiowmark with ffmpeg support # build audiowmark with ffmpeg support
make clean make clean
./autogen.sh --with-ffmpeg ./autogen.sh --with-ffmpeg
make make -j $NPROC
make check 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