#!/usr/bin/env bash

apt-get update

apt-get -y install gstreamer1.0-rtsp gstreamer1.0-tools libgstreamer1.0-dev alsaplayer-alsa wmctrl psmisc sysvinit-utils xterm

apt-get -y install liblo-dev

apt-get -y build-dep gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-rtsp gstreamer1.0-tools
#lua headers
apt-get -y install libtolua-dev

#general
apt-get -y install git build-essential vim screen

#for snowmix
apt-get -y install libosmesa6-dev

#usefull
apt-get -y install get-flash-videos quvi cclive youtube-dl

# players
apt-get -y install vlc mplayer mpv

#gstreamer 0.10, for c-player and snowmix scripts
apt-get -y install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
apt-get -y install libgstreamer-plugins-bad0.10-dev libgstreamer-plugins-base0.10-dev
apt-get -y install gstreamer0.10-tools
apt-get -y install gstreamer-tools
apt-get -y install gstreamer1.0-plugins-base-apps gstreamer0.10-plugins-base-apps


#gst 1.0
apt-get -y install gstreamer1.0-tools gstreamer1.0-docs

apt-get -y install gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-gnonlin gstreamer1.0-plugins-bad libgstreamer-plugins-bad1.0-0
#gstreamer0.10-chromaprint gstreamer0.10-dvswitch gstreamer0.10-fluendo-mp3

#gstreamer0.10-gnomevfs gstreamer0.10-gnonlin gstreamer0.10-gnonlin-dbg gstreamer0.10-gnonlin-doc gstreamer0.10-hplugins gstreamer0.10-plugins-base-apps gstreamer0.10-plugins-base-dbg gstreamer0.10-plugins-good-dbg                    gstreamer0.10-plugins-ugly-dbg gstreamer0.10-plugins-ugly-doc gstreamer0.10-pocketsphinx gstreamer0.10-pulseaudio
#gstreamer0.10-qapt libglib2.0-cil libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgstreamer0.10-0-dbg

apt-get -y install gstreamer1.0-tools gstreamer1.0-plugins-ugly gstreamer1.0-libav
#apt-get -y  build-dep gstreamer1.0-plugins-good

#python-gst
apt-get -y install python-gst-1.0 python-gst0.10-dev

#libav
apt-get -y install libavcodec-dev libavcodec-extra libavcodec-utils


#gtk
apt-get -y install libgtk2.0-dev

#dev
apt-get -y install indent exuberant-ctags devhelp vim-syntax-gtk

#to enable gtk-vim-syntax
#vim-addons install gtk-syntax
#cp /usr/share/doc/vim-syntax-gtk/examples/c.vim ~/.vim/syntax/c.vim

#docs
apt-get -y install glibc-docs manpages-dev
apt-get -y install gstreamer1.0-doc gstreamer0.10-doc
apt-get -y install gstreamer1.0-plugins-ugly-doc gstreamer0.10-plugins-good-doc

#livestreamer (https://github.com/chrippa/livestreamer.git)
apt-get -y install python-pip
pip install livestreamer

apt-get -y install dvgrab

# snowmix deps
apt-get -y install libsdl-dev
apt-get -y install libcairo2-dev
apt-get -y install libghc-pango-dev
apt-get -y install tcl-dev
apt-get -y install bc


# gui
apt-get -y install xdm awesome chromium terminator htop xserver-xorg

# audio streaming

apt-get -y install butt darkice python3-pip

#trx
apt-get -y install libopus-dev libopusfile-dev libortp-dev

#firmware

apt-get -y install firmware-amd-graphics firmware-linux-free firmware-linux-nonfree firmware-misc-nonfree firmware-realtek firmware-crystalhd firmware-amd-graphics firmware-atheros firmware-bnx2firmware-bnx2x firmware-brcm80211 firmware-cavium firmware-intel-sound firmware-intelwimax firmware-iwlwifi firmware-libertas firmware-linux firmware-linux-nonfree firmware-misc-nonfree firmware-myricom firmware-netxen firmware-qlogic firmware-realtek firmware-samsung firmware-siano firmware-ti-connectivity firmware-b43-installer firmware-b43legacy-installer

#audio

apt-get -y install ardour tap-plugins calf-plugins timemachine patchage qjackctl meterbridge ebumeter jmeters jamin jack-tools jackd multimedia-jack silentjack audacity darkice darksnow moc mc

#handy
apt-get -y install locate man


