Skip to content

A note on building Aseprite from source for Apple Silicon

Notifications You must be signed in to change notification settings

tizee/build-aseprite-from-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Build Aseprite.app 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
  • build output in build/bin

Install Aseprite.app

  • Modified from trial version of Aseprite.app package
export $TARGET=/path/to/aseprite/build/bin
mv $TARGET/aseprite Aseprite.app/Contents/MacOS
mv $TARGET/data Aseprite.app/Contents/Resources
mv Aseprite.app /Applications

Avoid damaged App

  • Check com.apple.quarantine
xattr /Applications/Aseprite.app
  • Remove com.apple.quarantine
xattr -r -d /Applications/Aseprite.app

Add to Path environment variable

  • aseprite binary executable is also a command-line tool so it's possible to add it to PATH.
export PATH="$PATH:/Applications/Aseprite.app/Contents/MacOS/"

Reference

How about LibreSprite

About

A note on building Aseprite from source for Apple Silicon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages