Skip to content

Commit

Permalink
chore(node-medley): add macos deployment target into install-deps script
Browse files Browse the repository at this point in the history
  • Loading branch information
vittee committed May 23, 2024
1 parent aaa85ef commit a2f7dc2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/node-medley/scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

TAGLIB_VERSION=1.13.1
LIBSAMPLERATE_VERSION=0.2.2
MACOSX_DEPLOYMENT_TARGET=10.9

SUDO=sudo
if [ "$1" = "--no-sudo" ]; then
Expand All @@ -17,6 +18,7 @@ cd taglib \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_BUILD_TYPE=Release \
-DMACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET}
. \
&& make -j 2 \
&& ${SUDO} make install
Expand All @@ -32,7 +34,9 @@ wget https://github.com/libsndfile/libsamplerate/releases/download/0.2.2/libsamp
tar xvf libsamplerate.tar.gz
mv libsamplerate-* libsamplerate
cd libsamplerate \
&& cmake . \
&& cmake \
-DMACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} \
. \
&& make -j 2 \
&& ${SUDO} make install

Expand Down

0 comments on commit a2f7dc2

Please sign in to comment.