-
-
Save ecelis/6e626cc83ce612f99880bb855eec57b6 to your computer and use it in GitHub Desktop.
The commands to build aseprite on Fedora
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
# Copied from https://github.com/aseprite/aseprite/blob/master/INSTALL.md#skia-on-linux | |
sudo yum install -y gcc-c++ cmake ninja-build libX11-devel libXcursor-devel mesa-libGL-devel fontconfig-devel | |
mkdir $HOME/deps | |
cd $HOME/deps | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
git clone -b aseprite-m71 https://github.com/aseprite/skia.git | |
export PATH="${PWD}/depot_tools:${PATH}" | |
cd skia | |
python2 tools/git-sync-deps | |
gn gen out/Release --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 skia | |
cd aseprite | |
mkdir build | |
cd build | |
cmake \ | |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | |
-DLAF_OS_BACKEND=skia \ | |
-DSKIA_DIR=$HOME/deps/skia \ | |
-DSKIA_OUT_DIR=$HOME/deps/skia/out/Release \ | |
-G Ninja \ | |
.. | |
ninja aseprite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment