#!/bin/sh
#

#
# Additional Packages
COMMON="
joe
neofetch
powerline powerline-fonts
keepass xdotool
tlp
gnome-tweaks mint-themes-gtk3 albatross-gtk3-theme breeze-gtk-gtk3 breeze-icon-theme breeze-cursor-theme clearlooks-phenix-gtk3-theme deepin-gtk-theme deepin-icon-theme
curlftpfs sshfs
powerline powerline-fonts
snapd
"

MULTIMEDIA="
qjackctl
ardour6 calf fluid-soundfont-gm fluid-soundfont-gs lv2-calf-plugins lv2-calf-plugins-gui
audacious
"

rpmfusion="
kodi kodi-pvr-hts
"

snap="
spotify
"

TOOLS="
evolution thunderbird
texlive-scheme-basic texlive-german texlive-nth texlive-units latexmk
texstudio
gimp
remmina
"

PROGRAMMING="
virtualenv
meld
python3-wxpython4
"

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



echo RPMFUSION: The followin packages and their required depending packages will be installed:
echo ------------------------------------------------------------------------------
echo rpmfusion-free-release rpmfusion-nonfree-release lv2-EQ10Q-plugins $rpmfusion
echo ------------------------------------------------------------------------------
read -r -p "Are you sure? [y/N] " response
echo ------------------------------------------------------------------------------
case "$response" in
    [yY][eE][sS]|[yY]) 
        sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
        sudo dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
        sudo dnf install -y $rpmfusion
        ;;
    *)
        echo Installation aborted!
        ;;
esac



echo DNF: The followin packages and their required depending packages will be installed:
echo ------------------------------------------------------------------------------
echo $ALL lv2-EQ10Q-plugins
echo ------------------------------------------------------------------------------
read -r -p "Are you sure? [y/N] " response
echo ------------------------------------------------------------------------------
case "$response" in
    [yY][eE][sS]|[yY]) 
        sudo dnf -y install $ALL https://kojipkgs.fedoraproject.org//packages/lv2-EQ10Q-plugins/2.2/5.fc32/x86_64/lv2-EQ10Q-plugins-2.2-5.fc32.x86_64.rpm

        echo
        ln -s /var/lib/snapd/snap /snap
        ;;
    *)
        echo Installation aborted!
        ;;
esac


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

