* update FluidSynth to f52597

http://www.fluidsynth.org/
f52597be03

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.2.tar.xz
tar -xf flac-1.3.2.tar.xz
cd flac-1.3.2
./configure --disable-shared --enable-static
make install
cd ..

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

git clone https://git.code.sf.net/p/fluidsynth/code-git
cd code-git/fluidsynth
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
This commit is contained in:
alexey.lysiuk 2017-05-03 14:44:05 +03:00
parent 4222768a72
commit a601680a67
3 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,8 @@ extern "C" {
#elif defined(MACOS9)
#define FLUIDSYNTH_API __declspec(export)
#elif defined(__GNUC__)
#define FLUIDSYNTH_API __attribute__ ((visibility ("default")))
#else
#define FLUIDSYNTH_API
#endif

View File

@ -67,6 +67,7 @@ FLUIDSYNTH_API void delete_fluid_audio_driver(fluid_audio_driver_t* driver);
FLUIDSYNTH_API fluid_file_renderer_t *new_fluid_file_renderer(fluid_synth_t* synth);
FLUIDSYNTH_API int fluid_file_renderer_process_block(fluid_file_renderer_t* dev);
FLUIDSYNTH_API void delete_fluid_file_renderer(fluid_file_renderer_t* dev);
FLUIDSYNTH_API int fluid_file_set_encoding_quality(fluid_file_renderer_t* dev, double q);
#ifdef __cplusplus
}

Binary file not shown.