add arch install deps script

This commit is contained in:
Cat Flynn 2022-10-09 21:02:07 +01:00
parent debea94103
commit 9dc99a8c12
2 changed files with 19 additions and 0 deletions

17
scripts/install_arch_deps.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
##
## BSD 3-Clause License
##
## This file includes additional changes by Cathal Flynn to support Arch Linux,
## targeted at the Basalt for Monado fork of the Basalt project.
##
## https://gitlab.com/VladyslavUsenko/basalt.git
## https://gitlab.freedesktop.org/mateosss/basalt.git
##
##
## Copyright (c) 2022, Cathal Flynn.
## All rights reserved.
##
sudo pacman -Syu
sudo pacman -Sy --noconfirm gcc cmake git tbb eigen glew ccache libjpeg-turbo libpng lz4 bzip2 boost boost-libs gtest opencv fmt

View File

@ -17,6 +17,8 @@ else
DISTRO=$( awk -F= '/^ID/{print $2}' /etc/os-release )
if [ "$DISTRO" == "fedora" ]; then
${DIR}/install_fedora_deps.sh
elif [ "$DISTRO" == "arch" ]; then
${DIR}/install_arch_deps.sh
else
${DIR}/install_ubuntu_deps.sh
fi