From 8f9fec02f1ceedf5df37525e860724101d68af1a Mon Sep 17 00:00:00 2001 From: Ankith Date: Sun, 15 Oct 2023 19:24:19 +0530 Subject: [PATCH] make mpg123,fluidsynth,sndfile not use alsa/pulse --- .../docker_base/fluidsynth/build-fluidsynth.sh | 11 ++++++++--- .../docker_base/mpg123/build-mpg123.sh | 3 ++- .../docker_base/sndfile/build-sndfile.sh | 3 ++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/buildconfig/manylinux-build/docker_base/fluidsynth/build-fluidsynth.sh b/buildconfig/manylinux-build/docker_base/fluidsynth/build-fluidsynth.sh index 794ea85e4f..cff9df7d7a 100644 --- a/buildconfig/manylinux-build/docker_base/fluidsynth/build-fluidsynth.sh +++ b/buildconfig/manylinux-build/docker_base/fluidsynth/build-fluidsynth.sh @@ -14,12 +14,17 @@ cd $FSYNTH mkdir build cd build -if [[ "$OSTYPE" == "darwin"* ]]; then +if [[ "$OSTYPE" == "linux-gnu"* ]]; then + export FLUIDSYNTH_EXTRA_PLAT_FLAGS="-Denable-alsa=NO -Denable-systemd=NO" +elif [[ "$OSTYPE" == "darwin"* ]]; then # We don't need fluidsynth framework on mac builds - export FLUIDSYNTH_EXTRA_MAC_FLAGS="-Denable-framework=NO" + export FLUIDSYNTH_EXTRA_PLAT_FLAGS="-Denable-framework=NO" fi -cmake .. $PG_BASE_CMAKE_FLAGS -Denable-readline=OFF $FLUIDSYNTH_EXTRA_MAC_FLAGS +cmake .. $PG_BASE_CMAKE_FLAGS -Denable-readline=OFF $FLUIDSYNTH_EXTRA_PLAT_FLAGS \ + -Denable-pulseaudio=NO \ + -Denable-pipewire=NO + make make install diff --git a/buildconfig/manylinux-build/docker_base/mpg123/build-mpg123.sh b/buildconfig/manylinux-build/docker_base/mpg123/build-mpg123.sh index f45d3ca2be..57b6062d91 100644 --- a/buildconfig/manylinux-build/docker_base/mpg123/build-mpg123.sh +++ b/buildconfig/manylinux-build/docker_base/mpg123/build-mpg123.sh @@ -12,7 +12,8 @@ bzip2 -d ${MPG123}.tar.bz2 tar xf ${MPG123}.tar cd $MPG123 -./configure $ARCHS_CONFIG_FLAG --enable-int-quality --disable-debug +./configure $ARCHS_CONFIG_FLAG --enable-int-quality --disable-debug \ + --disable-components --enable-libmpg123 --enable-libsyn123 make make install diff --git a/buildconfig/manylinux-build/docker_base/sndfile/build-sndfile.sh b/buildconfig/manylinux-build/docker_base/sndfile/build-sndfile.sh index 0f3bc986e3..5609d1e035 100644 --- a/buildconfig/manylinux-build/docker_base/sndfile/build-sndfile.sh +++ b/buildconfig/manylinux-build/docker_base/sndfile/build-sndfile.sh @@ -13,7 +13,8 @@ tar xf ${SNDFILE} cd $SNDNAME # autoreconf -fvi -./configure $ARCHS_CONFIG_FLAG --disable-mpeg +# alsa is only needed for examples here +./configure $ARCHS_CONFIG_FLAG --disable-mpeg --disable-alsa make make install