*ZDoom binary dependencies for macOS
Find a file
alexey.lysiuk 2662db18aa update gzdoom build script
do shallow clone only when run inside github actions workflow
remove unused variable
rename script file
2020-02-16 12:59:31 +02:00
flac update flac to 1.3.3 2019-09-15 11:27:53 +03:00
fluidsynth update fluidsynth to 2.1.0 2019-12-15 10:38:19 +02:00
jpeg update jpeg-turbo to 2.0.4 2020-01-05 10:01:18 +02:00
moltenvk update MoltenVK to 1.0.40 2020-01-22 22:51:45 +02: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
sdl update SDL to 2.0.10 2020-01-09 15:40:00 +02:00
sndfile * build libsndfile with security patches, closes #4 2018-08-19 12:31:01 +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 update zmusic to 1.1.0 2020-02-15 13:17:24 +02:00
.gitignore add raze directory to .gitignore 2020-02-16 12:57:07 +02:00
build_gzdoom update gzdoom build script 2020-02-16 12:59:31 +02:00
dependencies.md add texture upscalers to list of dependencies 2019-12-14 16:07:52 +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.