Skip to content

Instantly share code, notes, and snippets.

@tizee
Last active May 4, 2024 17:05
Show Gist options
  • Save tizee/7a4f03a61592b91239d2caa1a763f413 to your computer and use it in GitHub Desktop.
Save tizee/7a4f03a61592b91239d2caa1a763f413 to your computer and use it in GitHub Desktop.
Build Aseprite from source for Apple Silicon
cd aseprite
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=13.5 \
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk \
-DLAF_BACKEND=skia \
-DSKIA_DIR=$HOME/deps/skia \
-DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-arm64 \
-DSKIA_LIBRARY=$HOME/deps/skia/out/Release-arm64/libskia.a \
-DPNG_ARM_NEON:STRING=on \
-G Ninja \
..
ninja aseprite
@tizee
Copy link
Author

tizee commented May 4, 2024

Download compiled Aseprite's fork of skia from https://github.com/aseprite/skia/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment