From a5d493da0ec399842137a6342eee2a567a9f1412 Mon Sep 17 00:00:00 2001 From: Pablo Alonso Date: Mon, 6 Nov 2023 10:42:53 +0100 Subject: [PATCH] Install arm64 version of the missing libs --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e833b4e8d..dda8b5ef9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,8 @@ test-command = "python -c 'import essentia; import essentia.standard; import ess select = "*macosx_arm64*" before-build = [ - "brew install pkg-config gcc readline sqlite gdbm freetype libpng", + "brew install pkg-config gcc readline sqlite gdbm libpng", + "PACKAGES=(freetype); for PACKAGE in ${PACKAGES[@]}; do brew fetch --force --bottle-tag=arm64_ventura $PACKAGE; result=$(brew --cache --bottle-tag=arm64_ventura $PACKAGE); brew reinstall $result; done", "PACKAGES=(eigen libyaml fftw ffmpeg@2.8 libsamplerate libtag chromaprint); for PACKAGE in ${PACKAGES[@]}; do brew fetch --force --bottle-tag=arm64_ventura $PACKAGE; result=$(brew --cache --bottle-tag=arm64_ventura $PACKAGE); brew reinstall $result; done", "brew link --force ffmpeg@2.8", "python waf configure --pkg-config-path=\"${PKG_CONFIG_PATH}\" --arch arm64 --no-msse",