forked from aki/docker-aseprite-linux
23 lines
616 B
Bash
Executable File
23 lines
616 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Download Skia
|
|
if [ ! -d "/dependencies/skia" ]
|
|
then
|
|
curl -L https://github.com/aseprite/skia/releases/download/m96-2f1f21b8a9/Skia-Linux-Release-x64.zip --output /dependencies/skia.zip
|
|
unzip /dependencies/skia.zip -d /dependencies/skia
|
|
fi
|
|
|
|
git clone --recursive https://github.com/aseprite/aseprite.git
|
|
cd aseprite
|
|
mkdir -p build
|
|
cd build
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DLAF_BACKEND=skia \
|
|
-DSKIA_DIR=/dependencies/skia \
|
|
-DSKIA_LIBRARY_DIR=/dependencies/skia/out/Release-x64 \
|
|
-DSKIA_LIBRARY=/dependencies/skia/out/Release-x64/libskia.a \
|
|
-G Ninja \
|
|
..
|
|
ninja aseprite
|