#!/bin/bash
#######################################################################
#
# Solus OS system setup
#
#######################################################################
# Go into a temp work directory
mkdir ~/tmp-installer
cd ~/tmp-installer
# Update the system
sudo eopkg upgrade
# Install core packages
sudo eopkg install gcc make autoconf binutils linux-lts-headers xorg-server-devel
sudo eopkg it -c system.devel
# Virtualbox
wget http://download.virtualbox.org/virtualbox/5.1.22/VirtualBox-5.1.22-115126-Linux_amd64.run
sudo sh VirtualBox-5.1.22-115126-Linux_amd64.run
# Other apps
sudo eopkg install discord
sudo eopkg install steam
# Development
sudo eopkg install vscode
sudo eopkg install git
sudo eopkg install apache-maven
sudo eopkg install wireshark
sudo eopkg install nodejs
# Productivity
sudo eopkg install kdenlive
sudo eopkg install krita
# Runtimes
sudo eopkg install openjdk-8
# Other
sudo eopkg install obs-studio
sudo eopkg install keepass
sudo eopkg install screenfetch
# Drivers
sudo eopkg install razer-drivers
# Thrid party applications
# Gitkraken
sudo eopkg bi --ignore-safety https://raw.githubusercontent.com/solus-project/3rd-party/master/programming/gitkraken/pspec.xml
sudo eopkg it gitkraken*.eopkg
# Spotify
sudo eopkg bi --ignore-safety https://raw.githubusercontent.com/solus-project/3rd-party/master/multimedia/music/spotify/pspec.xml
sudo eopkg it spotify*.eopkg
# Google Chrome
sudo eopkg bi --ignore-safety https://raw.githubusercontent.com/solus-project/3rd-party/master/network/web/browser/google-chrome-stable/pspec.xml
sudo eopkg it google-chrome*.eopkg
# Skype
sudo eopkg bi --ignore-safety https://raw.githubusercontent.com/solus-project/3rd-party/master/network/im/skype/pspec.xml
sudo eopkg it skype*.eopkg
# Android Studio
sudo eopkg bi --ignore-safety https://raw.githubusercontent.com/solus-project/3rd-party/master/programming/android-studio/pspec.xml
sudo eopkg it android-studio*.eopkg
# IntelliJ IDEA
sudo eopkg bi --ignore-safety https://raw.githubusercontent.com/solus-project/3rd-party/master/programming/idea/pspec.xml
sudo eopkg it idea*.eopkg
# Eclipse
wget https://www.eclipse.org/downloads/download.php?file=/oomph/epp/oxygen/R/eclipse-inst-linux64.tar.gz
tar -xzf eclipse-inst-linux64.tar.gz
cd eclipse-installer
./eclipse-inst