foxgirl-linux/binary_tarball/scripts/1_Install_Dependencies.sh

21 lines
954 B
Bash
Raw Normal View History

2020-03-07 19:44:22 +01:00
#!/bin/bash
printf "\n\n-------------------------------------- DEPENDENCY INSTALLATION ---------------------------------------------\n";
2020-03-29 01:10:49 +01:00
set -e
2019-07-21 07:30:19 +02:00
# Setup Script Variables
# _DEPENDENCIES="mercurial wget git flatpak flatpak-builder";
2020-03-29 12:11:24 +02:00
_DEPENDENCIES="wget git xvfb build-essential xz-utils curl python3 libjack-dev";
2019-07-21 07:30:19 +02:00
# Installs Dependencies
2019-08-17 05:34:30 +02:00
printf "\nInstalling dependencies: $_DEPENDENCIES\n";
2019-08-18 01:33:13 +02:00
DEBIAN_FRONTEND=noninteractive apt-get -qq update;
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install $_DEPENDENCIES;
2020-03-29 00:53:59 +01:00
# Installs (non-ancient) clang
2020-03-29 13:43:57 +02:00
DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common apt-transport-https ca-certificates
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main"
DEBIAN_FRONTEND=noninteractive wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add
DEBIAN_FRONTEND=noninteractive apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y install clang-9 libclang-9-dev