Initial commit

This commit is contained in:
nils
2021-04-16 13:15:19 +02:00
commit 1231e4b7f4
5 changed files with 69 additions and 0 deletions

22
compile.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Download Skia
if [ ! -d "/dependencies/skia" ]
then
curl -L https://github.com/aseprite/skia/releases/download/m81-b607b32047/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