*ZDoom binary dependencies for macOS
Go to file
alexey.lysiuk a601680a67 * 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
2017-05-03 14:44:05 +03:00
flac * update FLAC to 1.3.2 2017-04-29 17:55:35 +03:00
fluidsynth * update FluidSynth to f52597 2017-05-03 14:44:05 +03:00
fmodex * update FMOD Ex to 4.44.64 (64-bit dylib) 2017-01-22 10:37:00 +02:00
fmodstudio + FMOD Studio Low Level API 1.08.14 (64-bit dylib) 2016-10-23 10:54:00 +03:00
llvm + LLVM 3.9.1 2017-01-10 19:15:23 +02:00
mpg123 * update mpg123 to 1.24.0 2017-04-29 17:55:35 +03:00
ogg + libogg 1.3.2 2016-10-23 11:20:20 +03:00
openal * update OpenAL Soft to commit 9767f4f 2017-04-29 17:55:35 +03:00
sdl + SDL 2.0.5 2016-10-29 12:55:10 +03:00
sndfile * update sndfile 1.0.28 2017-04-29 17:55:35 +03:00
vorbis + libvorbis 1.3.5 2016-10-23 11:48:19 +03:00
readme.md + note about LLVM in readme 2017-01-10 19:15:23 +02:00

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.