zdoom-macos-deps/fluidsynth/lib/libfluidsynth.a
alexey.lysiuk ca8a44e887 + FluidSynth 1.1.6 (with dependencies)
http://www.fluidsynth.org/
https://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.gz

curl -LO https://pkg-config.freedesktop.org/releases/pkg-config-0.29.1.tar.gz
tar -xf pkg-config-0.29.1.tar.gz
cd pkg-config-0.29.1
./configure --with-internal-glib
make install
cd ..

curl -LO ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz
tar -xf libffi-3.2.1.tar.gz
cd libffi-3.2.1
./configure --disable-shared
make install
cd ..

curl -LO http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.8.1.tar.xz
tar -xf gettext-0.19.8.1.tar.xz
cd gettext-0.19.8.1
./configure --disable-shared
make install
cd ..

curl -LO https://download.gnome.org/sources/glib/2.44/glib-2.44.1.tar.xz
tar -xf glib-2.44.1.tar.xz
cd glib-2.44.1
./configure --disable-shared
make install
cd ..

curl -LO http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz
tar -xf libogg-1.3.2.tar.xz
cd libogg-1.3.2
./configure --disable-shared
make install
cd ..

curl -LO http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz
tar -xf libvorbis-1.3.5.tar.xz
cd libvorbis-1.3.5
./configure --disable-shared
make install
cd ..

curl -LO http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz
tar -xf flac-1.3.1.tar.xz
cd flac-1.3.1
./configure --disable-shared --enable-static
make install
cd ..

curl -LO http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.27.tar.gz
tar -xf libsndfile-1.0.27.tar.gz
cd libsndfile-1.0.27
./configure --disable-shared
make install
cd ..

cd fluidsynth-1.1.6
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_OSX_SYSROOT=MacOSX10.7.sdk -DCMAKE_EXE_LINKER_FLAGS="-L/usr/local/lib -logg -lvorbis -lvorbisenc -lFLAC" -DBUILD_SHARED_LIBS=NO -Denable-framework=NO -Denable-readline=NO -DLIB_SUFFIX="" .
make install
2017-01-10 19:15:24 +02:00

1.2 MiB