mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
68 lines
2.0 KiB
Bash
Executable File
68 lines
2.0 KiB
Bash
Executable File
#!/bin/bash
|
|
set -ev
|
|
|
|
# Add recent Qt dependency ppa, update on a newer qt version.
|
|
sudo add-apt-repository -y ppa:beineri/opt-qt-5.15.2-focal
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -qq qt5-default qt515base qt515tools qt515serialport\
|
|
qt515svg qt515multimedia qt515connectivity qt515webengine qt515charts-no-lgpl\
|
|
qt515networkauth-no-lgpl qt515translations
|
|
|
|
sudo apt-get install -qq libglu1-mesa-dev
|
|
sudo apt-get install -qq libsamplerate0-dev
|
|
sudo apt-get install -qq libkml-dev
|
|
sudo apt-get install -qq libical-dev
|
|
|
|
# Add VLC 3
|
|
sudo apt-get install -y vlc libvlc-dev libvlccore-dev
|
|
|
|
# R 4.0
|
|
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
|
|
sudo add-apt-repository -y "deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/"
|
|
sudo apt-get update -qq
|
|
sudo apt-get install r-base-dev
|
|
R --version
|
|
|
|
# D2XX - refresh cache if folder is empty
|
|
if [ -z "$(ls -A D2XX)" ]; then
|
|
wget --no-verbose https://ftdichip.com/wp-content/uploads/2022/07/libftd2xx-x86_64-1.4.27.tgz
|
|
tar xf libftd2xx-x86_64-1.4.27.tgz -C D2XX
|
|
fi
|
|
|
|
# SRMIO
|
|
wget --no-verbose https://github.com/rclasen/srmio/archive/v0.1.1git1.tar.gz
|
|
tar xf v0.1.1git1.tar.gz
|
|
cd srmio-0.1.1git1
|
|
sh genautomake.sh
|
|
./configure --disable-shared --enable-static
|
|
make --silent -j3
|
|
sudo make install
|
|
cd ${TRAVIS_BUILD_DIR}
|
|
|
|
# LIBUSB
|
|
sudo apt-get install -qq libusb-1.0-0-dev libudev-dev
|
|
|
|
# Add Python 3.7 and SIP
|
|
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -qq python3.7-dev
|
|
python3.7 --version
|
|
wget --no-verbose https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.8/sip-4.19.8.tar.gz
|
|
tar xf sip-4.19.8.tar.gz
|
|
cd sip-4.19.8
|
|
python3.7 configure.py --incdir=/usr/include/python3.7
|
|
make
|
|
sudo make install
|
|
cd ${TRAVIS_BUILD_DIR}
|
|
|
|
# GSL
|
|
sudo apt-get -qq install libgsl-dev
|
|
|
|
# AWS S3 client to upload binaries
|
|
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
|
unzip -qq awscliv2.zip
|
|
sudo ./aws/install
|
|
aws --version
|
|
|
|
exit
|