Last active
July 6, 2024 17:11
-
-
Save HashWarlock/1b73259e5ddc7ea5e1e707fffe2423a9 to your computer and use it in GitHub Desktop.
Install Aseprite on Fedora 34
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
# Steps used from https://github.com/aseprite/aseprite/blob/master/INSTALL.md#skia-on-linux | |
# References https://gist.github.com/tobiasvl/5a38ae773e8031e5b05879b472b5c7a9 | |
sudo dnf install -y gcc-c++ cmake ninja-build libX11-devel libXcursor-devel libXi-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-m81 https://github.com/aseprite/skia.git | |
export PATH="${PWD}/depot_tools:${PATH}" | |
cd skia | |
python tools/git-sync-deps | |
# Make sure you have python2 installed if not then do the following | |
# 1) dnf install python27 | |
# 2) edit the .gn file and add the line: script_executable = "python2" | |
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 | |
# clone aseprite repo in another location | |
git clone https://github.com/aseprite/aseprite.git | |
cd aseprite | |
git submodule update --init --recursive | |
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-x64 \ | |
-G Ninja \ | |
.. | |
ninja aseprite | |
# Run the application | |
exec ./aseprite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
edit the file in gn/is_clang.py
Remove the code, and type
print("true")
for me this fixed an issue