#!/bin/sh
#

#
# Additional Packages
COMMON="keepassx systemd-sysv openssh-server vim-nox tree"
# COMMON="$COMMON curlftpfs"
COMMON="$COMMON tlp tlp-rdw"
COMMON="$COMMON fonts-powerline"
COMMON="$COMMON nextcloud-desktop dolphin-nextcloud"
# Use KDE-Wayland and activate maliit under System (Search Virtual Keyboard)
COMMON="$COMMON maliit-keyboard"
# COMMON="$COMMON fonts-powerline powerline powerline-gitstatus"

MULTIMEDIA="rhythmbox ario kodi kodi-pvr-hts"
MULTIMEDIA="$MULTIMEDIA lame"
MULTIMEDIA="$MULTIMEDIA qjackctl carla carla-lv2 carla-vst ardour calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs lame"

TOOLS="wavemon evolution retext gnuplot latexmk texlive-latex-recommended texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended"

PROGRAMMING="python-is-python3 python3-venv python3-wxgtk4.0 pkgconf libgtk2.0-dev jq meld"


ALL=$COMMON\ $MULTIMEDIA\ $TOOLS\ $PROGRAMMING

echo The followin packages and their required depending packages will be installed:
echo ------------------------------------------------------------------------------
echo $ALL
echo ------------------------------------------------------------------------------
read -r -p "Are you sure? [y/N] " response
echo ------------------------------------------------------------------------------
case "$response" in
    [yY][eE][sS]|[yY])
        echo $ALL
        su --command="apt-get install -y $ALL"
        ;;
    *)
        echo Installation aborted!
        ;;
esac