# Aseprite 編譯 ubuntu 在 home 目錄下執行 下載 `git clone --recursive https://github.com/aseprite/aseprite.git` 將檔案移到 home 目錄下 安裝 skia 下載 https://github.com/aseprite/skia/releases 解壓縮後,在 home 目錄下建立一個 deps 檔案夾,把解壓縮的 skia 放到 deps 檔案夾內。 Run cmake with the following parameters and then ninja: ``` cd aseprite mkdir build cd build cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DLAF_BACKEND=skia \ -DSKIA_DIR=$HOME/deps/skia \ -DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 \ -DSKIA_LIBRARY=$HOME/deps/skia/out/Release-x64/libskia.a \ -G Ninja \ .. ninja aseprite ``` In this case, $HOME/deps/skia is the directory where Skia was compiled or uncompressed. 編譯完成後,回到 ~/aseprite/build/bin$ ,執行 ./aseprite 起啟動程式 參考資料 https://github.com/aseprite/aseprite/blob/main/INSTALL.md https://github.com/aseprite/skia#skia-on-linux [How to Compile Aseprite on Ubuntu Linux](https://youtu.be/s3hhkcDOASc)