DevilutionX - MacSourcePorts/MSPBuildSystem GitHub Wiki

Information

Source Port devilutionX
Game(s) Diablo
Homepage https://github.com/diasurgical/devilutionX
Source Code https://github.com/diasurgical/devilutionX
Build Type: Official Mac Source Ports Build
Port Type Recreated Source Code
Project Build Strategy Project doesn't do Universal 2 App Bundles
Source Code Strategy Source available
Projct Release Strategy Versioned releases
Mac Support Status Official Mac support and builds
Project Status Active
Build System CMake
Programming Language(s) C/C++
Data Situation Game data needs to go to ~/Library/Application Support/diasurgical/devilution. Apparently only the .MPQ files are needed.

Homebrew Requirements

This project comes with a brewfile so you can just run

brew bundle install

But the direct equivalent seems to be

brew cmake fmt sdl2 libsodium pkg-config googletest

Also looks like you need

brew install SDL2_image

Notes

For this partocilar source port, error messages about PNG_ARM_NEON_FILE or png_have_neon mean that SDL2_image is not installed.

/Users/tomkidd/Documents/GitHub/MacSourcePorts/devilutionX/build-arm64/_deps/libpng-src/arm/arm_init.c:49:4: error: "PNG_ARM_NEON_FILE undefined: no support for run-time ARM NEON checks"
#  error "PNG_ARM_NEON_FILE undefined: no support for run-time ARM NEON checks"
   ^
/Users/tomkidd/Documents/GitHub/MacSourcePorts/devilutionX/build-arm64/_deps/libpng-src/arm/arm_init.c:86:27: error: implicit declaration of function 'png_have_neon' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
               no_neon = !png_have_neon(pp);
                          ^

Also for some reason the googletest thing doesn't allow the unit test targets for x86_64 to build, but that's not required to work to make a functioning Universal 2 build.

We are now doing the official builds for this project and uploading them to their repo.