Last active
February 1, 2021 23:30
-
-
Save francisrohner/8b423314454359183a73d801c03f3044 to your computer and use it in GitHub Desktop.
Linux Clone/Build Aseprite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Preqrequisites | |
sudo apt-get install -y g++ cmake ninja-build libx11-dev libxcursor-dev libgl1-mesa-dev libfontconfig1-dev python | |
#Skia | |
mkdir $HOME/deps | |
cd $HOME/deps | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
git clone -b aseprite-m81 https://github.com/aseprite/skia.git | |
export PATH="${PWD}/depot_tools:${PATH}" | |
cd skia | |
python tools/git-sync-deps | |
gn gen out/Release-x64 --args="is_debug=false is_official_build=true skia_use_system_expat=false skia_use_system_icu=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false" | |
ninja -C out/Release-x64 skia modules | |
cd $HOME | |
#Fetch Aseprite | |
git clone --recursive https://github.com/aseprite/aseprite.git | |
cd aseprite | |
git pull | |
git submodule update --init --recursive | |
#Build Aseprite | |
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment