Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ if [[ "$os_name" == *"Fedora"* ]]; then
package_man="dnf"
elif [[ $os_name == *"Debian"* ]] || [[ $os_name == *"Ubuntu"* ]] || [[ $os_name == *"Mint"* ]]; then
package_man="apt"
elif [[ $os_name == *"Manjaro"* ]] || [[ $os_name == *"Arch"* ]]; then
package_man="pacman"
else
echo "Unsupported distro! If your distro supports APT or DNF, please manually set os_name='Ubuntu' for apt, or os_name='Fedora' at the top of the file. Copy the appropriate command and replace the 'os_name=' with the proper command. You can also open an issue ticket."
echo "Stopped installation! Please remove ~/deps."
Expand All @@ -34,6 +36,8 @@ if [[ $package_man == "dnf" ]]; then
sudo dnf install -y gcc-c++ clang libcxx-devel cmake ninja-build libX11-devel libXcursor-devel libXi-devel mesa-libGL-devel fontconfig-devel git
elif [[ $package_man == "apt" ]]; then
sudo apt-get install -y g++ clang libc++-dev libc++abi-dev cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev
elif [[ $package_man == "pacman" ]]; then
sudo pacman -S --needed gcc clang libc++ cmake ninja libx11 libxcursor libxi mesa fontconfig
fi

# Clone aseprite
Expand Down