mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 19:41:15 +00:00
*ZDoom binary dependencies for macOS
ca8a44e887
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 |
||
---|---|---|
flac | ||
fluidsynth | ||
fmodex | ||
fmodstudio | ||
llvm | ||
mpg123 | ||
ogg | ||
openal | ||
sdl | ||
sndfile | ||
vorbis | ||
readme.md |
ZDoom / GZDoom / QZDoom dependencies for macOS
Dependencies to build ZDoom / GZDoom / QZDoom binaries for macOS
Libraries were built with the following environment variables set:
export CFLAGS="-I/usr/local/include -mmacosx-version-min=10.7 -isysroot MacOSX10.7.sdk"
export CXXFLAGS="-I/usr/local/include -mmacosx-version-min=10.7 -isysroot MacOSX10.7.sdk"
export CPPFLAGS="-I/usr/local/include -mmacosx-version-min=10.7 -isysroot MacOSX10.7.sdk"
export LDFLAGS="-L/usr/local/lib -mmacosx-version-min=10.7 -isysroot MacOSX10.7.sdk"
Mac OS X 10.7 SDK was obtained from Xcode 4.6.3 which is the last version with Lion support. LLVM requires features of C++ standard library added in OS X 10.8 and the corresponding SDK was obtained from Xcode 5.1.1 which is the last version with Mountain Lion support.