Install Xcode, on my MacBook Air M1 installed Xcode 15
After:
brew update
brew install ninja
brew install cmake
ASE_DIR=~/Downloads/0001_aseprite_build
mkdir -p $ASE_DIR && cd $ASE_DIR
Go to https://github.com/aseprite/skia/releases and copy address of latest arm64 version
# Paste address here
curl -O -L "<https://github.com/aseprite/skia/releases/download/m102-861e4743af/Skia-macOS-Release-arm64.zip>"
unzip Skia-macOS-Release-arm64.zip -d skia
(You need good internet, without you can't download repo successfully ~0.5 Gb)
git clone --recursive <https://github.com/aseprite/aseprite.git>
cd aseprite
rm -rf build
mkdir build
cd build
cmake \\
-DCMAKE_BUILD_TYPE=RelWithDebInfo \\
-DCMAKE_OSX_ARCHITECTURES=arm64 \\
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \\
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk \\
-DLAF_BACKEND=skia \\
-DSKIA_DIR=$ASE_DIR/skia \\
-DSKIA_LIBRARY_DIR=$ASE_DIR/skia/out/Release-arm64 \\
-DSKIA_LIBRARY=$ASE_DIR/skia/out/Release-arm64/libskia.a \\
-DPNG_ARM_NEON:STRING=on \\
-G Ninja \\
..
ninja aseprite
cd ../../
echo Done!
Go to https://www.aseprite.org/trial/ and copy address Aseprite Trial for macOS
mkdir bundle
cd bundle
# Paste address here
curl -o Aseprite-trial-macOS.dmg "<https://www.aseprite.org/downloads/trial/Aseprite-v1.3.6-trial-macOS.dmg>"
mkdir mount
yes qy | hdiutil attach -quiet -nobrowse -noverify -noautoopen -mountpoint mount Aseprite-trial-macOS.dmg
Press “q”