*ZDoom binary dependencies for macOS
Find a file
2020-04-24 15:56:12 +03:00
.github/workflows add continuous integration via github actions 2020-02-16 13:00:25 +02:00
ffi add libffi 3.3 2020-04-23 16:48:19 +03:00
flac update flac to 1.3.3 2019-09-15 11:27:53 +03:00
fluidsynth update fluidsynth to 2.1.2 2020-04-24 15:52:57 +03:00
glib add glib 2.64.2 2020-04-23 16:55:43 +03:00
instpatch add instpatch 1.1.4 2020-04-23 16:57:44 +03:00
intl add libintl from gettext 0.20.2 2020-04-23 16:51:30 +03:00
jpeg update jpeg-turbo to 2.0.4 2020-01-05 10:01:18 +02:00
moltenvk update MoltenVK to 1.0.41 2020-04-06 10:31:49 +03:00
mpg123 update mpg123 to 1.25.13 2019-10-27 10:33:46 +02:00
ogg update ogg to 1.3.4 2019-09-08 16:16:23 +03:00
openal switch back to openal 1.20.1 2020-02-15 10:48:53 +02:00
opus add opus 1.3.1 2020-04-23 16:52:01 +03:00
pcre add pcre 8.44 2020-04-23 16:50:26 +03:00
sdl update SDL to 2.0.10 2020-01-09 15:40:00 +02:00
sndfile update sndfile to 1.0.29pre2 2020-04-24 15:51:43 +03:00
vorbis * rebuild vorbis 1.3.6 with xcode 9.4 and sdk 10.9 2018-07-15 16:39:25 +03:00
vpx add vpx 1.8.2 2020-02-01 11:08:37 +02:00
zmusic add lite version of zmusic, needed for raze 2020-02-18 22:08:02 +02:00
.gitignore add raze directory to .gitignore 2020-02-16 12:57:07 +02:00
build_gzdoom update build scripts 2020-04-24 15:56:12 +03:00
build_raze update build scripts 2020-04-24 15:56:12 +03:00
dependencies.md update list of dependencies 2020-02-26 17:17:03 +02:00
readme.md change title and brief description in readme 2019-11-18 22:25:52 +02:00

*ZDoom binary dependencies for macOS

This repository contains all binary dependencies required to build macOS application bundles of ZDoom-derived source ports.

Libraries were built with the following environment variables set:

export   CFLAGS="-I/usr/local/include -mmacosx-version-min=10.9 -isysroot MacOSX10.9.sdk"
export CXXFLAGS="-I/usr/local/include -mmacosx-version-min=10.9 -isysroot MacOSX10.9.sdk"
export CPPFLAGS="-I/usr/local/include -mmacosx-version-min=10.9 -isysroot MacOSX10.9.sdk"
export  LDFLAGS="-L/usr/local/lib     -mmacosx-version-min=10.9 -isysroot MacOSX10.9.sdk"

macOS 10.9 SDK was obtained from Xcode 6.4 which is the last version shipped with Mavericks SDK.

The exception is MoltenVK as it must be build as a dynamic library and requires 10.11 or newer.
In addition to CMake, it needs Python 3.x to build its dependencies.

export   CFLAGS="-I/usr/local/include -mmacosx-version-min=10.11 -isysroot MacOSX10.11.sdk"
export CXXFLAGS="-I/usr/local/include -mmacosx-version-min=10.11 -isysroot MacOSX10.11.sdk"
export CPPFLAGS="-I/usr/local/include -mmacosx-version-min=10.11 -isysroot MacOSX10.11.sdk"
export  LDFLAGS="-L/usr/local/lib     -mmacosx-version-min=10.11 -isysroot MacOSX10.11.sdk"

git clone https://github.com/KhronosGroup/MoltenVK.git

cd MoltenVK
git checkout v1.0.38  # See https://github.com/KhronosGroup/MoltenVK/tags

./fetchDependencies -v  # Assumes CMake and Python 3 are accessible
xcodebuild -project MoltenVK/MoltenVK.xcodeproj -scheme MoltenVK-macOS

macOS 10.11 SDK was obtained from Xcode 7.3.1 which is the last version shipped with El Capitan SDK.