Codechange: [Actions] Document better why we build our own fluidsynth (#8646)

nielsmh nicely correct us in #8641, pointing out the old comment
is not telling a complete truth. The result is the same, but it
is better to not mislead future-us.
This commit is contained in:
Patric Stout 2021-02-05 23:56:44 +01:00 committed by GitHub
parent 99448eedca
commit 4f0692c437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -301,11 +301,13 @@ jobs:
# EOF
echo "::endgroup::"
# The yum variant of fluidsynth depends on all possible audio drivers.
# This is not really useful for us, as that would require a user to
# have them all before he can start OpenTTD. Instead, compile a
# version that can only use SDL2. As OpenTTD does sound via SDL2,
# this simply means we either have sound and music, or have none.
# The yum variant of fluidsynth depends on all possible audio drivers,
# like jack, ALSA, pulseaudio, etc. This is not really useful for us,
# as we route the output of fluidsynth back via our sound driver, and
# as such do not use these audio driver outputs at all. So instead,
# we compile fluidsynth ourselves, with as little dependencies as
# possible. This currently means it picks up SDL2, but this is fine,
# as we need SDL2 anyway.
echo "::group::Install fluidsynth"
wget https://github.com/FluidSynth/fluidsynth/archive/v2.1.6.tar.gz
tar xf v2.1.6.tar.gz