Fix build & compile skia from source

This commit is contained in:
nils
2022-04-06 11:37:51 +02:00
parent 18470299dc
commit 02647a7ee4
4 changed files with 50 additions and 12 deletions

View File

@@ -4,7 +4,12 @@ This repository allows you to compile Aseprite without installing any build tool
After spending hours trying to get Aseprite to compile, I decided to just make a Docker image for it
To simplify and speed up the build process, the build script uses the precompiled version of Skia, which it downloads from the Github repo.
Currently the script checks out Skia version `m96` and Aseprite version `1.2.34.1`. You can easily change this in `compile.sh` by changing the `-b` flag to the desired versions.
If any of the folders of the projects folder isn't empty, the script will skip checking out the latest versions. In order to re-download, delete the according folder.
* ./dependencies/depot_tools
* ./dependencies/skia
* ./output/aseprite
## Usage
* Install docker
@@ -12,5 +17,6 @@ To simplify and speed up the build process, the build script uses the precompile
* cd into cloned repository
* Run `docker-compose build`
* Run `docker-compose up`
* Grab a cup of coffee, since this can take quite a while (Compiling build deps, skia, and aseprite)
You can now find the compiled version of Aseprite in the `output/aseprite/build/bin` folder