Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make mpg123, fluidsynth and sndfile not link directly to lower-level audio playback libs #2471

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
ankith26 marked this conversation as resolved.
Show resolved Hide resolved
-Denable-pulseaudio=NO \
-Denable-pipewire=NO

make
make install

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down